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"
Jump to navigation
Jump to search
(change {{tl}} so it doesn't link to templates that no longer exist) |
m (avoid confusion between links to the current page and nonexistent templates) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><nowiki>{{</nowiki>{{#ifexist:Template:{{{1}}}|[[Template:{{{1}}}|{{{1}}}]]| | + | <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}}</noinclude> |
Latest revision as of 18:09, 24 June 2014
(view - talk - 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 exposit simple templates with up to three variables supported.
{{tl|cv}} → {{cv}}
{{tl|dffd|997}} → {{dffd|997}}
{{tl|dffd|997|Map Compressor}} → {{dffd|997|Map Compressor}}
{{tl|tt|{{tt|[HOMEOTHERM]}}|Warm-blooded creature|#4a8}} → {{tt|[HOMEOTHERM]|Warm-blooded creature|#4a8}}