Difference between revisions of "Template:Tl"
From Ouroboros Portal
(added option to have parameter thingys included next to template link if user wished to show parameters as well as link to template.) |
m (woops, put the pipes on the wrong side) |
||
Line 1: | Line 1: | ||
− | {{[[Template:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}} | {{ | + | {{[[Template:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}} | {{!}}{{{2}}} }}{{#if: {{{3|}}} | {{!}}{{{3}}} }}{{#if: {{{4|}}} | {{!}}{{{4}}} }}}}<noinclude> |
=Documentation= | =Documentation= | ||
Revision as of 01:46, 10 March 2007
{{[[Template:{{{1}}}|{{{1}}}]]}}
Documentation
{{Tl}} is used to display a template name as a link. Tl stands for Template link.
Usage
{{subst:Tl|template name to display}}
Example
Code | Result |
---|---|
{{subst:Tl|Center}}
|
{{Center}} |
{{tl|Userbox Server|Heroes|Freedom}} | {{Userbox Server|Heroes|Freedom}} |