Predefinição:ItemList
Ir para navegação
Ir para pesquisar
Lists items (as well as creatures) with their icon.
Append all names of items or creatures each as a single parameter. You can optional add a quantity as x
or x..y
as the next parameter.
Parameters
Parameter | Default | Description |
---|---|---|
iconsize | 30px | size of the items |
columns | 1 | |
columnWidth | set a desired width for columns | |
listtype | set to 'ol' for a numbered list, 'none' for list without bullets | |
showquantityone | false | set to true to also show '1 ×' if a quantity of 1 is given
|
Usage / Examples
{{ItemList|Ankylosaurus|Thatch}}
- Ankylosaurus
- Thatch
{{ItemList|iconsize=50px|Argentavis|Quetzal|Pteranodon}}
- Argentavis
- Quetzal
- Pteranodon
{{ItemList|iconsize=20px|columns=2|Thatch|Wood|Raw Meat|Raw Prime Meat|Dodo|Mesopithecus|Wooden Door}}
- Thatch
- Wood
- Raw Meat
- Raw Prime Meat
- Dodo
- Mesopithecus
- Wooden Door
{{ItemList|iconsize=20px|columnWidth=20em|Thatch|Wood|Raw Meat|Raw Prime Meat|Dodo|Mesopithecus|Wooden Door}}
- Thatch
- Wood
- Raw Meat
- Raw Prime Meat
- Dodo
- Mesopithecus
- Wooden Door
{{ItemList|listtype=ol|Berries|Rockarrot|Longrass}}
- Berries
- Rockarrot
- Longrass
{{ItemList|listtype=none|Berries|Sulfur|Clay (Primitive Plus)}}
{{ItemList|Ankylosaurus|1|Thatch|10..20}}
- Ankylosaurus
- 10..20 × Thatch
{{ItemList|showquantityone=true|Ankylosaurus|1|Thatch|10..20}}
- Ankylosaurus
- 10..20 × Thatch
Displaying a comma-delimited array from a data-module:
{{ItemList|columnWidth=20em| {{Dv|Pteranodon|canDragCreatures}} }}