Template:Tl: Difference between revisions

From XenonLibrary
Jump to navigation Jump to search
XenonLibrary>Johan G
(Doc style; + <nowiki> tags on each side of the curly brackets of the text that will be transcluded; + Error message if used without parameter)
www>Anthony Appleyard
(Anthony Appleyard moved page Template:Tl to Template:Template link: Requested by Buidhe at WP:RM/TR: RM closed as move)
Line 1: Line 1:
<nowiki>{{</nowiki>{{#if: {{{1|}}} | [[Template:{{{1}}}|{{{1}}}]] | <big style="color: red;">Add template name</big>}}<nowiki>}}</nowiki><noinclude>
#REDIRECT [[Template:Template link]]
{{Informative template|1=
__NOTOC__
== Goal ==
This template is used to show a link to a template as wiki markup in running text.
 
== Usage ==
<nowiki>{{</nowiki>'''tl'''<nowiki>|</nowiki>template<nowiki>}}</nowiki>
 
; template:  Name of the template you are linking to.
 
== Example ==
<nowiki>{{tl|done}}</nowiki>
 
{{tl|done}}
 
== Known issue ==
Using an equal sign, =, within this template will break it.  Two ways around this is to either use {{tl|{{=}}}} or <tt>&lt;nowiki&gt;=&lt;/nowiki&gt;</tt>.
 
== Related templates ==
* {{tl|tlx}} which also shows the parameters


{{Redirect category shell|
{{R from move}}
}}
}}
[[Category:Link templates]]
</noinclude>

Revision as of 16:03, 12 February 2021