Template:Template link is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use ((edit protected)) to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
|
|
||
This page has archives. Sections older than 14 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
I'm looking for a meta template that can print the nowiki of its input (variable parameter) template, but I couldn't find anything after looking for a while. I also tried to make something like it but I struggled with dealing with recursion. The template would function like so:
Template code (Template:exampleTemplate)
(({output|default output))}
Template code (Template:myMetaTemplate)
???? (({1|))} ????
Input
((myMetaTemplate|((exampleTemplate|output=alt output))))
Output
((exampleTemplate|output=alt output))
The reason why I want this template is to make an echo meta-template for template documentation. Basically, I want to insert both the template call and the output just by referring to the template call once, within this echo template. This echo template would be something like below:
Template code (Template:Echo)
((myMetaTemplate|(({1|))))} (({1|))}
Input
((Echo|((exampleTemplate|output=alt output))))
Output
((exampleTemplate|output=alt output))
alt output
Arathun (talk) 16:25, 18 August 2019 (UTC)
I thought that Template:Tlsc should be included under See also. Fettlemap (talk) 19:36, 11 June 2020 (UTC)
The result of the move request was: Moved (non-admin closure) (t · c) buidhe 18:40, 12 February 2021 (UTC)
Template:Tl → Template:Template link – This template has a "shortcut" name, but similar templates are located at their full names. JsfasdF252 (talk) 17:05, 5 February 2021 (UTC)
"Template function should be clear from the template name, but redirects can be created to assist everyday use of very popular templates."The longer name makes the function more clear at a glance. -- Netoholic @ 20:17, 5 February 2021 (UTC)
I'm seeing usages across various project pages being interrupted by massive redirect banners suddenly. BlackholeWA (talk) 22:24, 12 February 2021 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Template:Template link has been listed at Templates for discussion (nomination), but was protected so could not be tagged. Please add:
((subst:tfm|help=off|1=Tlu))
to the top of the page to complete the nomination. Thank you. JsfasdF252 (talk) 17:03, 18 March 2021 (UTC)
|type=tiny
to |type=disabled
. Nardog (talk) 19:59, 18 March 2021 (UTC)|text=yes))))
and {{
? It puts the line in <pre>...</pre>
if used at the beginning of a line. Nardog (talk) 23:08, 18 March 2021 (UTC)For some reason, <nowiki>
quit working inside parameter input with this and related templates for a while (I think I encountered this about 24 to 36 hours ago):
((tlx|foo|baz((=))<nowiki>[[Quux]]</nowiki>))
produced output that looked like:
instead of:
((foo|bar|baz=[[Quux]]))
My immediate suspicion is that it had something to do with the TfD-related tagging (and dispute about that) around that time period, under discussion here and here. Whatever caused it should be identified, and we should see if there's a way to prevent that in the future, since it (temporarily) corrupted a whole lot of template documentation into gibberish (and worse, like completely incorrect descriptions of parameter usage and behavior). — SMcCandlish ☏ ¢ 😼 23:21, 23 March 2021 (UTC)
[[Template:(({1))}|(({1))}]]
to stop working, except for maybe it could be a parser issue with the extra code added on causing an overload, but that usually affects transclusions not tags. Plus, we've had "well-used" templates get tagged before and it has not adversely affected them. Server-side glitch? Primefac (talk) 23:32, 23 March 2021 (UTC)((tlx|foo|bar|baz=[[quux]]|nowiki}yes))
(producing ((foo|bar|baz=[[quux]]))
, but I agree that how to format parameters should be none of this template's business. * Pppery * it has begun... 03:09, 24 March 2021 (UTC)