Module:List/doc
This is the documentation page for Module:List
Module used to list Items.
Arguments
There are three different functions you can invoke with this module. All can use the main arguments:
Filter arguments:
category
- either "Item", "Equipment", "Armor", "Weapon" or "Consumable". Defaults to "Item".class
- the class of the Item, valid for Equipment, Armor and Weapons.type
- the type of the item, valid for Weapons.set
- the item set
Output control arguments:
default
- if true, will show default text when no results are found, otherwise will show nothing.showClass
- if true it will show the class as a column in the table, defaults to falseshowDurability
- if true it will show durability as a column in the table, defaults to true
Main function
The function items
will return a list of all items which match the provided filter.
It has no extra arguments other than the main arguments.
- Example:
{{#invoke:List|items|category=Weapon|class=Axe|type=One-Handed}}
Manual function
The function manual
will list a manually supplied list of items through the argument itemsToList
.
- Example:
{{#invoke:List|manual|category=Weapon|itemsToList=Iron Sword,Tsar Axe,Lexicon}}
Element function
The function element
will list all items which have damage, damage bonus or damage resistance for the provided element
argument.
- Example:
{{#invoke:List|element|element=Fire}}
Test
{{#invoke:List|items|category=Armor|set=Tsar Set}}
Icon | Name | Resistances | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | Durability | Weight |
---|---|---|---|---|---|---|---|---|---|---|
![]() | Tsar Armor | 28% ![]() 40% ![]() | 23% ![]() | 6 ![]() | 10 ![]() | 6% ![]() | – | -11% ![]() | ∞ | 23.0 |
![]() | Tsar Boots | 20% ![]() 20% ![]() | 13% ![]() | 4 ![]() | 5 ![]() | 4% ![]() | – | -9% ![]() | ∞ | 17.0 |
![]() | Tsar Helm | 20% ![]() 20% ![]() | 13% ![]() | 4 ![]() | 5 ![]() | 4% ![]() | 15% ![]() | -9% ![]() | ∞ | 13.0 |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.