Template:Tl: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
mNo edit summary
imported>Konoko
(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>{&#123;subst:Tl&#124;Center&#125;}</code>  
| <code>{&#123;subst:Tl&#124;Center&#125;}</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
Center}} {{Center}}
{{tl|Userbox Server|Heroes|Freedom}} {{Userbox ServerHeroes|Freedom|}}