Difference between revisions of "Template:Tl"
From Ouroboros Portal
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 | + | 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 |
|---|---|
{{subst:Tl|Center}}
|
{{Center}} |
{{tl|Userbox Server|Heroes|Freedom}}
|
{{Userbox Server|Heroes|Freedom}} |