Difference between revisions of "Template:Itemlist/row"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "{{#switch: {{{type}}} | class = {{!}} width="90px" style="background:#FF9310;" rowspan="{{{rowspan}}}" {{!}} '''{{class link|{{{class}}}|br=yes|color=white}}''' {{!}} width="7...")
 
m
Line 29: Line 29:
 
; item
 
; item
 
: Item name, for icon + link, in English.
 
: Item name, for icon + link, in English.
</noinclude>
+
 
 +
== Example ==
 +
Type = class example:
 +
<pre>
 +
{{Itemlist/row
 +
| type = class
 +
| rowspan = 2
 +
| class = Scout
 +
| item = Jumping Jester
 +
| grade = commando
 +
}}
 +
</pre>
 +
 
 +
Type = item example:
 +
<pre>
 +
{{Itemlist/row
 +
| type = item
 +
| item = Last Laugh
 +
| grade = assassin
 +
}}
 +
</pre></noinclude>

Revision as of 19:55, 11 October 2023

Documentation for Itemlist/row


Parameters

For use on {{Itemlist}}

type
Accepts "class" or "item", class is the top row, subsequent rows for class items should use "item".
rowspan
Rowspawn number, only necessary if type = class.
class
Class name, also accepts "All classes", only if type = class.
grade
Grade of the item, should be lowercase. Also accepts "unique".
item
Item name, for icon + link, in English.

Example

Type = class example:

{{Itemlist/row
| type = class
| rowspan = 2
| class = Scout
| item = Jumping Jester
| grade = commando
}}

Type = item example:

{{Itemlist/row
| type = item
| item = Last Laugh
| grade = assassin
}}