Difference between revisions of "Template:Tl"
From Ouroboros Portal
m |
(added option to have parameter thingys included next to template link if user wished to show parameters as well as link to template.) |
||
Line 1: | Line 1: | ||
− | {{[[Template:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}} | {{{2}}}{{!}} }}{{#if: {{{3|}}} | {{{3}}}{{!}} }}}}<noinclude> | + | {{[[Template:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}} | {{{2}}}{{!}} }}{{#if: {{{3|}}} | {{{3}}}{{!}} }}{{#if: {{{4|}}} | {{{4}}}{{!}} }}}}<noinclude> |
=Documentation= | =Documentation= | ||
Line 15: | Line 15: | ||
| <code>{{subst:Tl|Center}}</code> | | <code>{{subst:Tl|Center}}</code> | ||
| {{[[Template:Center|Center]]}} | | {{[[Template:Center|Center]]}} | ||
+ | |- | ||
+ | | <nowiki>{{tl|Userbox Server|Heroes|Freedom}}</nowiki> | ||
+ | | {{tl|Userbox Server|Heroes|Freedom}} | ||
|}</noinclude> | |}</noinclude> |
Revision as of 01:45, 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}} |