Difference between revisions of "Template:T/doc"

From EVE University Wiki
Jump to: navigation, search
(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|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}}
+
<includeonly>[[Category:Formatting templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 07:26, 22 March 2021

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