Template:Template link/doc: Difference between revisions
Page last edited 3 weeks ago by Xeverything11
interwikify, add usage for tl2 |
m +my |
||
Line 102: | Line 102: | ||
[[ko:틀:Tl2???]] | [[ko:틀:Tl2???]] | ||
[[kw:Template:Viz2???]] | [[kw:Template:Viz2???]] | ||
[[my:Template:Tl]] | |||
[[or:Template:Tl2???]] | [[or:Template:Tl2???]] | ||
[[pih:Template:Tl2???]] | [[pih:Template:Tl2???]] |
Revision as of 04:39, 27 February 2007
Documentation
{{Tl}}
and {{Tl2}} are simple macro templates used to display a template name as a link. Tl stands for Template link.
- Tl2 differs in that it displays an arguably clearer result like {{Tlx}}, and also like takes the named parameters 'SISTER=xx and 'LANG=ll', so that it may be used to access templates on other English and non-English language sister projects.
- related
- Template:Tl2 displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.
Usage
{{Tl|template name to display}} {{Tl2|template name to display}}
Example
Code | Result |
---|---|
{{Tl|x0}}
|
{{x0}} |
{{Tl2|x1}}
|
{{x1}} |
{{Tl2|SISTER=M:|3x}}
|
{{3x}} |
{{Tl2|SISTER=wikibooks|LANG=de:|WP}}
|
{{WP}} |
See also
- Template:Ltswpd — links and edit history of the Tl template.
- Template:Ltswpd — links and edit history of the Tl2 template.
- Template:Ltswpd — Template link, with single parameter.
- Template:Ltswpd — Template link, up to three parameters.
- Template:Ltswpd — Template link, ditto subst'ed.
- Template:Ltswpd — see Lts discussion for more variants.
- Template:Lts - like
{{tl}}
/{{tlp}}
for any namespace. - Template:Lcs