Template:Itemlist/row

From Team Fortress Wiki
Jump to: navigation, search

Documentation for Itemlist/row

Parameters

For use on {{Itemlist}}

type
Acceptsclass or item, with class being the top row, subsequent rows for class items should use item.
rowspan
Rowspawn number. Required if type is set to class.
class-n
Class name, replace "n" with a number (e.g., class-1, class-2, class-3) up to 8. Also accepts the value "All classes" and "Multiclass", but only if type is set to class.
class-colour
Colour of the class name, defaults to white.
grade
Grade of the item. Must be lowercase. Also accepts "unique" as a value.
item
Item name, for icon + link, in English.
font-colour
Colour of the item name text, uses {{font colour}} allowing for the preset values listed there. Defaults to blue for unvisited links, grey for visited links.
class-background
Background colour of the column where the class is. Required if type is set to class.
name-background
Background colour of the column where the item name is.
halloween-icon
Optional. Displays the state of the Halloween icon, for use on holiday-restricted items. Set to halloween-icon = yes.

Example

type = class example:

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

type = item example:

{{Itemlist/row
| type = item
| item = Last Laugh
| grade = assassin
| name-background = #FFE8CC
}}