Template:ItemList/doc

From Palia Wiki
Jump to navigation Jump to search

Usage

{{ItemList}} will list any number of ingredient paramaters entered into a tidy bullet list.


Syntax

{{ItemList|ingredient 1=how many|ingredient 2=how much|ingredient 3=more|ingredient 4= ...}}

Syntax can be used in-line, or in block format.

{{ItemList
 |ingredient 1 = how many
 |ingredient 2 = how much
 |ingredient 3 = more
 |ingredient 4 = ...
}}

Leaving a blank = (Not required) indicates that no amount will be listed, just the icon and linked item name.

{{ItemList|Silk = }}
  • Silk Silk

Adding ,SQ after an amount indicates that the item should be of star quality.

{{ItemList|Wheat = 10,SQ}}

Examples

Example entry for four ingredients:
{{ItemList
 |Leather = 1
 |Tomato = 10,SQ
 |Silk = 100
 |Stone Brick = 1
}}
Example entry for three ingredients:
{{ItemList
 |Any Fruit = 1
 |Tomato = 10,SQ
 |Silk
}}
Example entry for three ingredients:
{{ItemList
 |Any Fruit
 |Tomato,SQ
 |Silk
}}

Trivia

This template uses the {{item}} template.