Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Tl"

From Paragon Wiki Archive
Jump to: navigation, search
m (copyedit of documentation; explaining how to use the equal sign)
(+example to handle the = sign)
Line 9: Line 9:
 
Tl can currently handle 8 additional parameters that are simply displayed as given.
 
Tl can currently handle 8 additional parameters that are simply displayed as given.
  
Note that equal signs ("=") cannot be included directly because templates use equal signs to delimit named parameters. Replace any equal signs with their HTML entity representation: =
+
;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 ==
 
== Usage ==
Line 26: Line 26:
 
| <code><nowiki>{{tl|Userbox Server|Heroes|Freedom}}</nowiki></code>
 
| <code><nowiki>{{tl|Userbox Server|Heroes|Freedom}}</nowiki></code>
 
| {{tl|Userbox Server|Heroes|Freedom}}
 
| {{tl|Userbox Server|Heroes|Freedom}}
 +
|-
 +
| <code><nowiki>{{tl|SlashCommand|command&amp;#61;bind|options&amp;#61;key commands}}</nowiki></code>
 +
| {{tl|SlashCommand|command&#61;bind|options&#61;key commands}}
 +
|
 
|}
 
|}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 08:35, 8 July 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 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: &#61;.

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&#61;bind|options&#61;key commands}} {{SlashCommand|command=bind|options=key commands}}