Template:Tl: Difference between revisions
Template page
More actions
fandomwiki>@DeletedUser40288455 Copied over from Minecraft WIki (http://www.minecraftwiki.net/wiki/Template:Tl) |
fandomwiki>Wynthyst No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2|}}} }}{{#if: {{{3|}}}|{{!}}{{{3|}}} }}{{#if: {{{4|}}}|{{!}}{{{4|}}} }}{{#if: {{{5|}}}|{{!}}{{{5|}}} }}]]}}</tt></includeonly><noinclude> | <includeonly><tt>{{[[Template:{{{1}}}|{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2|}}} }}{{#if: {{{3|}}}|{{!}}{{{3|}}} }}{{#if: {{{4|}}}|{{!}}{{{4|}}} }}{{#if: {{{5|}}}|{{!}}{{{5|}}} }}]]}}</tt></includeonly><noinclude> | ||
{{/doc}} | {{doc/start}} | ||
=== Usage === | |||
<code><nowiki>{{tl|templatename}}</nowiki></code> | |||
=== Examples === | |||
<code><nowiki>{{tl|OS}}</nowiki></code> gives: | |||
{{tl|OS}} | |||
Parameters can also be added, to a maximum of 4. | |||
<code><nowiki>{{tl|move|Page to move to|Optional reason}}</nowiki></code> gives: | |||
{{tl|move|Page to move to|Optional reason}} | |||
{{doc/end}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 10:14, 18 December 2011
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
Usage
{{tl|templatename}}
Examples
{{tl|OS}} gives:
{{OS}}
Parameters can also be added, to a maximum of 4.
{{tl|move|Page to move to|Optional reason}} gives:
The above documentation is transcluded from Template:Tl/doc. (edit | history)