Difference between revisions of "Template:T/doc"

From EVE University Wiki
Jump to: navigation, search
(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|welcome}}</nowiki></code> gives...
+
:<code><nowiki>{{t|skill}}</nowiki></code> gives...
:{{t|welcome}}
+
:{{t|skill}}
:<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives...
+
:<code><nowiki>{{t|skill|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives...
:{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
+
:{{t|skill|Item1|Item2|Item3|Item4|Item5|...}}
:<code><nowiki>{{t|welcome|2=param1=Item1}}</nowiki></code> gives...
+
:<code><nowiki>{{t|skill|2=param1=Item1}}</nowiki></code> gives...
:{{t|welcome|2=param1=Item1}}
+
:{{t|skill|2=param1=Item1}}
:<code><nowiki>{{t|welcome|prefix=subst}}</nowiki></code> gives...
+
:<code><nowiki>{{t|skill|prefix=subst}}</nowiki></code> gives...
:{{t|welcome|prefix=subst}}
+
:{{t|skill|prefix=subst}}
 
;See also
 
;See also
* {{t|t2}}
+
* {{t|tl}}
* {{t|s}}
 

Revision as of 10:50, 15 September 2016

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