Template:Template link/doc: Difference between revisions
Page last edited 3 weeks ago by Xeverything11
No edit summary |
interwikis |
||
Line 46: | Line 46: | ||
<includeonly> | <includeonly> | ||
[[Category:Internal link templates]] | [[Category:Internal link templates]] | ||
[[ar:قالب:قا]] | |||
[[az:Şablon:ŞK]] | |||
[[ba:Ҡалып:Ҡалып]] | |||
[[be-x-old:Шаблён:Ш]] | |||
[[bg:Шаблон:Ш]] | |||
[[ca:Plantilla:Tl]] | |||
[[cs:Šablona:Šablona]] | |||
[[da:Skabelon:Vis]] | |||
[[de:Vorlage:Vorlage]] | |||
[[dsb:Pśedłoga:Pśedłoga]] | |||
[[en:Template:Tl]] | |||
[[eo:Ŝablono:Ŝ]] | |||
[[es:Plantilla:Template link]] | |||
[[fa:الگو:الگوی]] | |||
[[fi:Malline:Malline]] | |||
[[fr:Modèle:M]] | |||
[[he:תבנית:תב]] | |||
[[hr:Predložak:Tl]] | |||
[[hsb:Předłoha:Předłoha]] | |||
[[ia:Patrono:Tl]] | |||
[[ja:Template:Tl]] | |||
[[ka:თარგი:Tl]] | |||
[[ko:틀:틀]] | |||
[[kw:Template:Viz]] | |||
[[my:Template:Tl]] | |||
[[or:Template:Tl]] | |||
[[pih:Template:Tl]] | |||
[[pl:Szablon:S]] | |||
[[pt:Predefinição:Ligação para predefinição]] | |||
[[ru:Шаблон:Tl]] | |||
[[sk:Šablóna:Tl]] | |||
[[sl:Predloga:Tl]] | |||
[[stq:Foarloage:Foarloage]] | |||
[[sv:Mall:Mall]] | |||
[[th:แม่แบบ:Tl]] | |||
[[tr:Şablon:Tl]] | |||
[[uk:Шаблон:Tl]] | |||
[[vi:Tiêu bản:Tl]] | |||
[[zh:Template:Tl]] | |||
[[zh-yue:Template:Tl]] | |||
</includeonly> | </includeonly> |
Revision as of 14:36, 22 January 2011
Template:Documentation subpage
The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:
{{Tl|Example}}
- generates
- {{Example}}
More complex variations are described below.
Example
Code | Result |
---|---|
{{Tl|X0}}
|
{{X0}} |
{{Tl2|X1}}
|
{{X1}} |
{{Tl2|SISTER=M:|3x}}
|
{{3x}} |
{{Tl2|SISTER=wikibooks|LANG=de:|WP}}
|
{{WP}} |
{{Tl|1==)}}
|
{{=)}} |
See also