FANDOM


Documentation icon Template documentation[edit] [purge]
This documentation is transcluded from Template:StoreTableHead/doc.

The StoreTableHead template is used to start tables commonly used in Shops to provide a listing of items that are found in that shop. It also helps to provide a uniform look of how the shop information is presented for all articles about a shop on the wiki.

Usage

{{StoreTableHead}}
{{StoreLine|Name=Empty pot|Stock=30|Sell=1|Buy=0}}
{{StoreLine|Name=Jug|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Shears|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Tinderbox|Stock=10|Sell=1|Buy=0}}
{{StoreTableEnd‎}}

gives

Item Number
in stock
Price
sold at
Price
bought at
GE
price
GE resale
value
Empty pot Empty pot 30 1 coins 0 18 510
Jug Jug 10 1 coins 0 46 450
Shears Shears 10 1 coins 0 21 200
Tinderbox Tinderbox 10 1 coins 0 474 4,730

Lighttable example

By using the lighttable parameter, rows will be selectable as shown below.

{{StoreTableHead|lighttable=yes}}
{{StoreLine|Name=Empty pot|Stock=30|Sell=1|Buy=0}}
{{StoreLine|Name=Jug|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Shears|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Tinderbox|Stock=10|Sell=1|Buy=0}}
{{StoreTableEnd‎}}

gives

Item Number
in stock
Price
sold at
Price
bought at
GE
price
GE resale
value
Empty pot Empty pot 30 1 coins 0 18 510
Jug Jug 10 1 coins 0 46 450
Shears Shears 10 1 coins 0 21 200
Tinderbox Tinderbox 10 1 coins 0 474 4,730

See also

Community content is available under CC-BY-SA unless otherwise noted.