Difference between revisions of "Template:Tl"
From Ouroboros Portal
(+example to handle the = sign) |
m (14 revisions) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 29: | Line 29: | ||
| <code><nowiki>{{tl|SlashCommand|command&#61;bind|options&#61;key commands}}</nowiki></code> | | <code><nowiki>{{tl|SlashCommand|command&#61;bind|options&#61;key commands}}</nowiki></code> | ||
| {{tl|SlashCommand|command=bind|options=key commands}} | | {{tl|SlashCommand|command=bind|options=key commands}} | ||
− | |||
|} | |} | ||
− | [[Category:Templates]]</noinclude> | + | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 04:04, 26 February 2009
{{[[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 given.
- NOTE
- The equals sign ("=") cannot be included directly because templates use equal signs to delimit named parameters. Replace any equal signs with their HTML entity representation: =.
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}} |
{{tl|SlashCommand|command=bind|options=key commands}}
|
{{SlashCommand|command=bind|options=key commands}} |