Template:Tl: Difference between revisions
Jump to navigation
Jump to search
www>Michael Chidester m (77 revisions) |
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) |
||
Line 1: | Line 1: | ||
{{[[Template:{{{1}}}|{{{1}}}]]}} | <nowiki>{{</nowiki>{{#if: {{{1|}}} | [[Template:{{{1}}}|{{{1}}}]] | <big style="color: red;">Add template name</big>}}<nowiki>}}</nowiki><noinclude> | ||
{{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><nowiki>=</nowiki></tt>. | |||
== Related templates == | |||
* {{tl|tlx}} which also shows the parameters | |||
}} | |||
[[Category:Link templates]] | |||
</noinclude> |
Revision as of 10:56, 12 August 2014
{{Add template name}}
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used to show a link to a template as wiki markup in running text.
Usage
{{tl|template}}
- template
- Name of the template you are linking to.
Example
{{tl|done}}
{{done}}
Known issue
Using an equal sign, =, within this template will break it. Two ways around this is to either use {{=}} or <nowiki>=</nowiki>.
Related templates
- {{tlx}} which also shows the parameters