v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Tl/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Adding a colon in front of the link also works)
Line 1: Line 1:
 
{{Tl|Tl}} is a simple macro template used to display a template name as a link. '''Tl''' stands for '''T'''emplate '''l'''ink.  
 
{{Tl|Tl}} is a simple macro template used to display a template name as a link. '''Tl''' stands for '''T'''emplate '''l'''ink.  
  
Note that templates can also be linked to using <code>[:Template:templatename]</code> (by adding a colon in front of the link). This works for category pages as well.
+
Note that templates can also be linked to using <code>[[:Template:templatename]]</code> (by adding a colon in front of the link). This works for category pages as well.
  
 
<!--;related: {{Tl2|Tlx}} displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.-->
 
<!--;related: {{Tl2|Tlx}} displays with the same enhanced presentation, and also expands several 'placeholder' parameters to generate a sample template call.-->
Line 13: Line 13:
 
| {{Tl|x0}}
 
| {{Tl|x0}}
 
|}
 
|}
 +
<includeonly>[[Category:Templates]]</includeonly>
 +
<noinclude>[[Category:Template Documentation]]</noinclude>

Revision as of 17:49, 23 July 2013

{{Tl}} is a simple macro template used to display a template name as a link. Tl stands for Template link.

Note that templates can also be linked to using Template:templatename (by adding a colon in front of the link). This works for category pages as well.

Example

Code Result
{{Tl|x0}} {{x0}}