Difference between revisions of "Template:T/doc"
From EVE University Wiki
(Fixing up template documentation system) |
|||
Line 5: | Line 5: | ||
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}} | :{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20|8=prefix=...}} | ||
;Sample code | ;Sample code | ||
− | :<code><nowiki>{{t| | + | :<code><nowiki>{{t|skill}}</nowiki></code> gives... |
− | :{{t| | + | :{{t|skill}} |
− | :<code><nowiki>{{t| | + | :<code><nowiki>{{t|skill|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives... |
− | :{{t| | + | :{{t|skill|Item1|Item2|Item3|Item4|Item5|...}} |
− | :<code><nowiki>{{t| | + | :<code><nowiki>{{t|skill|2=param1=Item1}}</nowiki></code> gives... |
− | :{{t| | + | :{{t|skill|2=param1=Item1}} |
− | :<code><nowiki>{{t| | + | :<code><nowiki>{{t|skill|prefix=subst}}</nowiki></code> gives... |
− | :{{t| | + | :{{t|skill|prefix=subst}} |
;See also | ;See also | ||
− | * {{t| | + | * {{t|tl}} |
− |
Revision as of 10:50, 15 September 2016
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}}