Template:Template link/doc: Difference between revisions
Page last edited 3 weeks ago by Xeverything11
add interwiki |
m cs:Šablona:Šablona, such an immovable template can have PAGENAME subst'd to help servers. Suggestion: what about closing the template itself into CODE to make it stand out? |
||
Line 1: | Line 1: | ||
<includeonly>:''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[ | <includeonly>:''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[Template:Tl/doc]]'' [<span class="plainlinks">[{{fullurl:Template:Tl/doc|action=edit}} edit]</span>]</includeonly><noinclude> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
{{Interwikitmp-grp| | {{Interwikitmp-grp|Tl/doc }}</noinclude> | ||
=Documentation= | =Documentation= | ||
Line 7: | Line 8: | ||
== Usage == | == Usage == | ||
<pre> | |||
{{Tl|template name to display}} | <pre>{{Tl|template name to display}}</pre> | ||
</pre> | |||
== Example == | == Example == | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 15: | Line 16: | ||
! Result | ! Result | ||
|- | |- | ||
| <code>{ | | <code><nowiki>{{Tl|tfd}}</code></nowiki> | ||
| {{[[Template:tfd|tfd]]}} | | {{[[Template:tfd|tfd]]}} | ||
|} | |} | ||
Line 29: | Line 30: | ||
<includeonly> | <includeonly> | ||
{{interwikitmp-grp|! | {{interwikitmp-grp|!Template:Tl }} | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Internal link templates| | [[Category:Internal link templates|Tl]] | ||
[[Category:Miscellaneous templates| | [[Category:Miscellaneous templates|Tl]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
Line 41: | Line 40: | ||
[[bg:Шаблон:Ш]] | [[bg:Шаблон:Ш]] | ||
[[ca:Plantilla:Tl]] | [[ca:Plantilla:Tl]] | ||
[[cs:Šablona:Šablona]] | |||
[[fi:Malline:Malline]] | [[fi:Malline:Malline]] | ||
[[fr:Modèle:M]] | [[fr:Modèle:M]] |
Revision as of 14:11, 20 December 2006
Documentation
{{Tl}}
is used to display a template name as a link. Tl stands for Template link.
Usage
{{Tl|template name to display}}
Example
Code | Result |
---|---|
{{Tl|tfd}}</code>
|
{{tfd}} |
See also
- Template:Lts - links and edit history of this template.
- Template:Lts - Template link, with single parameter.
- Template:Lts - Template link, up to three parameters.
- Template:Lts - Template link, ditto subst'ed.
- Template:Lts - see Lts discussion for more variants.
- Template:Lts - like
{{tl}}
/{{tlp}}
for any namespace. - Template:Lcs