Template:ItemList

From Palia Wiki
Jump to navigation Jump to search
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.
This template has existing translations, relatives, or sub-templates:

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.