Difference between revisions of "Template:T"
From EVE University Wiki
(Fixing up template documentation system) |
m |
||
Line 1: | Line 1: | ||
− | <nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- | + | <includeonly><nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!-- |
-->{{#if:{{{2|}}}||<span style="color:gray;">''<{{{2}}}>''</span>}}<!-- | -->{{#if:{{{2|}}}||<span style="color:gray;">''<{{{2}}}>''</span>}}<!-- | ||
-->{{#if:{{{3|}}}||<span style="color:gray;">''<{{{3}}}>''</span>}}<!-- | -->{{#if:{{{3|}}}||<span style="color:gray;">''<{{{3}}}>''</span>}}<!-- | ||
Line 20: | Line 20: | ||
-->{{#if:{{{20|}}}||<span style="color:gray;">''<{{{20}}}>''</span>}}<!-- | -->{{#if:{{{20|}}}||<span style="color:gray;">''<{{{20}}}>''</span>}}<!-- | ||
-->{{#if:{{{21|}}}||<span style="color:gray;">''<{{{21}}}>''</span>}}<!-- | -->{{#if:{{{21|}}}||<span style="color:gray;">''<{{{21}}}>''</span>}}<!-- | ||
− | --><nowiki>}}</nowiki><noinclude> | + | --><nowiki>}}</nowiki></includeonly><noinclude> |
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 19:10, 22 April 2017
Template documentation (for the above template, sometimes hidden or invisible)
This template was copied from Template:T on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
- Description
- A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
- Syntax
- {{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>|<prefix=...>}}
- Sample code
{{t|skill}}
gives...- {{skill}}
{{t|skill|Item1|Item2|Item3|Item4|Item5|...}}
gives...- {{skill|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}
{{t|skill|2=param1=Item1}}
gives...- {{skill|<param1=Item1>}}
{{t|skill|prefix=subst}}
gives...- {{subst:skill}}
- See also
- {{tl}}