Difference between revisions of "Template:Tl"
From Mystcraft
(<default import>) |
m (4 revisions imported: Importing old wiki) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <includeonly><nowiki>{{</nowiki>{{#ifexist:Template:{{{1}}}|[[Template:{{{1}}}|{{{title|{{{1}}}}}}]]|{{tc|red|{{{1}}}}}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}{{#if:{{{3|}}}|{{!}}{{{3}}}}}{{#if:{{{4|}}}|{{!}}{{{4}}}}}<nowiki>}}</nowiki></includeonly><noinclude>{{documentation}} |
+ | This template is modeled off of the equivalent from the Dwarf Fortress wiki. | ||
[[Category:Formatting templates|{{PAGENAME}}]]</noinclude> | [[Category:Formatting templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 14:50, 24 May 2018
(view - edit - history - purge) 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}}
This template is modeled off of the equivalent from the Dwarf Fortress wiki.