Difference between revisions of "Template:Tl/doc"

From Mystcraft
Jump to: navigation, search
(<default import>)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{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}}.
{{doc/end}}
+
* {{tt|<nowiki>{{tl|tt|some code here}}</nowiki>}}generates {{tl|tt|some code here}}

Latest revision as of 14:18, 25 May 2018

{{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}}