Difference between revisions of "Template:T/doc"
From EVE University Wiki
(Fixing up template documentation system) |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
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}} |
− | + | <includeonly>[[Category:Formatting templates]]</includeonly> | |
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 07:26, 22 March 2021
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}}