Template:Shop row
Usage
One row of a shop price table: icon, name, price. Used inside a wikitable sortable whose columns are Icon, Name and Price.
{{Shop row|icon file|name|price|currency|display=shown price}}
- 1 – icon file name without
File:(shown in a 40×40 box, aspect ratio kept, centred) - 2 – item or furniture name
- 3 – price as a plain number (also used for sorting)
- 4 – currency:
OC(default) orRM - display – optional; the price as shown, e.g. with a thousands separator (
display=14 000). Defaults to parameter 3.
Example
{| class="wikitable sortable"
! class="unsortable" | Icon !! Item !! Base price
{{Shop row|15000_Asbestos.png|Asbestos|52}}
{{Shop row|Furniture_Big_Generator.png|Big Generator|14000|RM|display=14 000}}
|}
| Icon | Item | Base price
|
|---|---|---|
| Asbestos | 52
| |
| Big Generator | 14 000 |
