Template:ItemList/doc

Da ARK Wiki.
Jump to navigation Jump to search
Template-info.png Documentazione

Lists items (as well as creatures) with their icon.

Append each item or creature name as a single parameter. A quantity of x, x..y, or x-y can be used as the next parameter.

Parameters

Parameter Default Description
iconsize 30px size of the items
columns 1
columnWidth set a desired width for columns. default is 15em
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
showQuantityAsPerCent false set to true to also show e.g. '50%' if a quantity of 0.5 is given
noIcon set to 1 to hide the DLC-/mod-icons

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}}
  1. Berries
  2. Rockarrot
  3. Longrass
{{ItemList|listtype=none|Berries|Sulfur|Clay (Primitive Plus)}}
  • Berries
  • Sulfur
  • Clay Primitive Plus Icon.png
{{ItemList|listtype=none|noIcon=1|Berries|Sulfur|Clay (Primitive Plus)}}
  • Berries
  • Sulfur
  • Clay Primitive Plus Icon.png
{{ItemList|Ankylosaurus|1|Thatch|10..20}}
  • Ankylosaurus
  • 10..20 × Thatch
{{ItemList|showQuantityOne=true|Ankylosaurus|1|Thatch|10-20}}
  • 1 × Ankylosaurus
  • 10-20 × Thatch
{{ItemList|showQuantityAsPerCent=true|Cooking Pot|1|Refining Forge|0.5}}
  • 100% Cooking Pot
  • 50% Refining Forge

Displaying a comma-delimited array from a data-module:

{{ItemList|columnWidth=20em|{{Dv|Pteranodon|canDragCreatures}}}}
  • Achatina
  • Archa
  • Bulbdog
  • Compy
  • Dilophosaur
  • Diplocaulus
  • Dodo
  • Enforcer
  • Glowtail
  • Human
  • Hyaenodon
  • Jerboa
  • Kairuku
  • Lystrosaurus
  • Megalania
  • Mesopithecus
  • Otter
  • Oviraptor
  • Pegomastax
  • Shinehorn
  • Titanomyrma Drone
  • Troodon
  • Turkey
  • Zomdodo

Questa è la pagina di documentazione e dovrebbe essere trascritta nella pagina principale del template. Vedi Template:Doc per più informazioni.