Template:Tl/doc: Difference between revisions
Jump to navigation
Jump to search
(New page: <includeonly>:''This template documentation is <!--- ----- ---->transcluded from Template:Tl/doc'' <!--- ----- ---->[<span class="plainlinks">[{{f...) |
m (Robot: Automated text replacement (-\[\[Template:X0\|([\w|\s]*)\]\] +\1); cosmetic changes) |
||
Line 24: | Line 24: | ||
}}</noinclude> | }}</noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
==Documentation== | == Documentation == | ||
{{Tlx|Tl}} and {{Tl|Tl2}} are simple [[w:macro|macro]] [[m:Help:template|templates]] used to display a template name as a link. '''Tl''' stands for '''T'''emplate '''l'''ink. | {{Tlx|Tl}} and {{Tl|Tl2}} are simple [[w:macro|macro]] [[m:Help:template|templates]] used to display a template name as a link. '''Tl''' stands for '''T'''emplate '''l'''ink. | ||
Line 52: | Line 52: | ||
|- | |- | ||
| <code><nowiki>{{Tl|x0}}</nowiki></code> | | <code><nowiki>{{Tl|x0}}</nowiki></code> | ||
| {{ | | {{x0}} | ||
|- | |- | ||
| <code><nowiki>{{Tl2|x1}}</nowiki></code> | | <code><nowiki>{{Tl2|x1}}</nowiki></code> | ||
Line 71: | Line 71: | ||
== See also == | == See also == | ||
* {{Ltswpd|tl}} | * {{Ltswpd|tl}} — links and edit history of the Tl template. | ||
* {{Ltswpd|tl2}} | * {{Ltswpd|tl2}} — links and edit history of the Tl2 template. | ||
* {{Ltswpd|tlp}} | * {{Ltswpd|tlp}} — Template link, with single parameter. | ||
* {{Ltswpd|tlx}} | * {{Ltswpd|tlx}} — Template link, up to three parameters. | ||
* {{Ltswpd|tlsp}} | * {{Ltswpd|tlsp}} — Template link, ditto subst'ed. | ||
* {{Ltswpd|lts}} | * {{Ltswpd|lts}} — see Lts discussion for more variants. | ||
* {{Ltswpd|tlu}} - like {{tlx|tl}} / {{tlx|tlp}} for any namespace. | * {{Ltswpd|tlu}} - like {{tlx|tl}} / {{tlx|tlp}} for any namespace. | ||
* {{Lcs|Internal link templates}} | * {{Lcs|Internal link templates}} | ||
Line 84: | Line 84: | ||
----> | ----> | ||
{{#ifeq:{{PAGENAME}}|Tl|{{interwikitmp-grp|V=1 |Tl }}}} | {{#ifeq:{{PAGENAME}}|Tl|{{interwikitmp-grp|V=1 |Tl }}}} | ||
{{#ifeq:{{PAGENAME}}|Tl2|{{interwikitmp-grp|V=6|cat=|Tl2}} | {{#ifeq:{{PAGENAME}}|Tl2|{{interwikitmp-grp|V=6|cat=|Tl2}}}} | ||
<!-- ADD CATEGORIES for calling templates BELOW THIS LINE --> | <!-- ADD CATEGORIES for calling templates BELOW THIS LINE --> | ||
<!--- ------------------------------------------------------------------------------ ----- | <!--- ------------------------------------------------------------------------------ ----- | ||
----- ADD INTERWIKIS BELOW THIS LINE By calling templates or this page's interwiki's ----- | ----- ADD INTERWIKIS BELOW THIS LINE By calling templates or this page's interwiki's ----- | ||
Line 96: | Line 94: | ||
[[bg:Шаблон:Ш]] | [[bg:Шаблон:Ш]] | ||
[[ca:Plantilla:Tl]] | [[ca:Plantilla:Tl]] | ||
| |||
| |||
[[es:Plantilla:Template link]] | [[es:Plantilla:Template link]] | ||
[[fa:الگو:الگوی]] | [[fa:الگو:الگوی]] | ||
| |||
| |||
[[he:תבנית:תב]] | [[he:תבנית:תב]] | ||
[[ia:Patrono:Tl]] | [[ia:Patrono:Tl]] | ||
Line 112: | Line 110: | ||
[[pih:Template:Tl]] | [[pih:Template:Tl]] | ||
[[pl:Szablon:S]] | [[pl:Szablon:S]] | ||
| |||
[[ru:Шаблон:Tl]] | [[ru:Шаблон:Tl]] | ||
[[sl:Predloga:Tl]] | [[sl:Predloga:Tl]] | ||
| |||
[[th:แม่แบบ:Tl]] | [[th:แม่แบบ:Tl]] | ||
| |||
[[vi:Tiêu bản:Tl]] | [[vi:Tiêu bản:Tl]] | ||
[[zh:Template:Tl]] | [[zh:Template:Tl]] | ||
Line 132: | Line 130: | ||
[[bg:Шаблон:Ш2???]] | [[bg:Шаблон:Ш2???]] | ||
[[ca:Plantilla:Tl2???]] | [[ca:Plantilla:Tl2???]] | ||
| |||
| |||
[[es:Plantilla:Template link2???]] | [[es:Plantilla:Template link2???]] | ||
[[fa:الگو:الگوی????]] | [[fa:الگو:الگوی????]] | ||
| |||
| |||
[[he:תבנית:תב????]] | [[he:תבנית:תב????]] | ||
[[ia:Patrono:Tl2???]] | [[ia:Patrono:Tl2???]] | ||
Line 148: | Line 146: | ||
[[pih:Template:Tl2???]] | [[pih:Template:Tl2???]] | ||
[[pl:Szablon:S2???]] | [[pl:Szablon:S2???]] | ||
| |||
[[ru:Шаблон:Tl2???]] | [[ru:Шаблон:Tl2???]] | ||
[[sl:Predloga:Tl2???]] | [[sl:Predloga:Tl2???]] | ||
| |||
[[th:แม่แบบ:Tl2???]] | [[th:แม่แบบ:Tl2???]] | ||
| |||
[[vi:Tiêu bản:Tl2???]] | [[vi:Tiêu bản:Tl2???]] | ||
[[zh:Template:Tl2???]] | [[zh:Template:Tl2???]] | ||
Line 163: | Line 161: | ||
----- ----- ADD Interwiki's BELOW this line for this 'Tl/doc page', not the working templates ---- | ----- ----- ADD Interwiki's BELOW this line for this 'Tl/doc page', not the working templates ---- | ||
---->{{WPTSP loose ends}} | ---->{{WPTSP loose ends}} | ||
| |||
| |||
[[es:Plantilla:Template link/doc]] | [[es:Plantilla:Template link/doc]] | ||
[[fa:الگو:الگوی/doc]] | [[fa:الگو:الگوی/doc]] | ||
[[fi:Malline:Malline/doc]] | | ||
[[fr:Modèle:M/doc]] | [[de:Vorlage:Tl]] | ||
[[eo:Ŝablono:Ŝ2/doc]] | |||
[[fi:Malline:Malline/doc]] | |||
[[fr:Modèle:M/doc]] | |||
| |||
[[he:תבנית:תב/doc]] | [[he:תבנית:תב/doc]] | ||
[[ia:Patrono:Tl/doc]] | [[ia:Patrono:Tl/doc]] |