Difference between revisions of "Template:Tl/doc"

From Mystcraft
Jump to: navigation, search
(<default import>)
 
Line 1: Line 1:
 
{{doc/start}}
 
{{doc/start}}
 +
{{Tl|Tl}} is a simple macro template used to display a template name as a displayed formatted template, with the template linked inside: '''tl''' stands for '''t'''emplate '''l'''ink. It is meant to be used on internal pages and template documentation to show simple templates with up to three variables supported.
 +
 
* <code><nowiki>{{tl|cleanup}}</nowiki></code> generates {{tl|cleanup}}.
 
* <code><nowiki>{{tl|cleanup}}</nowiki></code> generates {{tl|cleanup}}.
 +
* {{tt|<nowiki>{{tl|tt|some code here}}</nowiki>}}generates {{tl|tt|some code here}}
 
{{doc/end}}
 
{{doc/end}}

Revision as of 15:55, 24 July 2015

Template-info.png Documentation

{{Tl}} is a simple macro template used to display a template name as a displayed formatted template, with the template linked inside: tl stands for template link. It is meant to be used on internal pages and template documentation to show simple templates with up to three variables supported.

  • {{tl|cleanup}} generates {{cleanup}}.
  • {{tl|tt|some code here}}generates {{tt|some code here}}