Template:Tl: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
No edit summary
imported>Konoko (historical)
m (+notes)
Line 4: Line 4:
<nowiki>{{Tl}}</nowiki> is used to display a template name as a link. '''Tl''' stands for '''Template link'''.
<nowiki>{{Tl}}</nowiki> is used to display a template name as a link. '''Tl''' stands for '''Template link'''.


Tl can currently handle 8 additional parameters that are simply displayed as shown. There are limits, you can't display and equals sign "=" normally because templates interepret equals signs as thingies that say it's a particular paremater rather than the first or second or third parameter.
Tl can currently handle 8 additional parameters that are simply displayed as shown. There are limits, you can't display and equals sign "=" normally because templates interpret equals signs as thingys that say it's a particular parameter rather than the first or second or third parameter.
 
===note===
The use of #if statements is the need for the extra pipe "|" displayed if the parameter is specified, otherwise it displays nothing.
   
   
== Usage ==
== Usage ==

Revision as of 18:30, 9 May 2007

{{[[Template:{{{1}}}|{{{1}}}]]}}

Purpose

{{Tl}} is used to display a template name as a link. Tl stands for Template link.

Tl can currently handle 8 additional parameters that are simply displayed as shown. There are limits, you can't display and equals sign "=" normally because templates interpret equals signs as thingys that say it's a particular parameter rather than the first or second or third parameter.

note

The use of #if statements is the need for the extra pipe "|" displayed if the parameter is specified, otherwise it displays nothing.

Usage

{{subst:Tl|template name to display}}
{{tl|template name to display}}

Example

Code Result
Center}} {{Center}}
{{tl|Userbox Server|Heroes|Freedom}} {{Userbox Server|Heroes|Freedom}}