Difference between revisions of "Template:Tl"
Jump to navigation
Jump to search
m (Fixed linking when Template has strange name (like ! or ?) |
m (Trying to make this more flexible) |
||
Line 1: | Line 1: | ||
{{[[ | <tt><code>{{[[Template:{{{1}}}|{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2|}}}}}{{#if: {{{3|}}}|{{!}}{{{3|}}}}}{{#if: {{{4|}}}|{{!}}{{{4|}}}}}{{#if: {{{5|}}}|{{!}}{{{5|}}}}}]]}}</code></tt><noinclude> | ||
{{Documentation}}</noinclude> | |||
{{Documentation}} | |||
</noinclude> |
Revision as of 13:08, 4 April 2015
{{[[Template:{{{1}}}|{{{1}}}]]}}
This template can be used to make nicely formatted links to templates, and demonstrate how to use them.
Parameters[edit]
- 1: Template Name
- 2: (Optional)
Examples[edit]
{{Tl|Gc}}
produces
{{Gc}}
{{Tl|Doc/start|Clear}}
produces
{{Doc/start|Clear}}
The above documentation is transcluded from Template:Tl/doc. (edit | history)