Template:StoreLine/doc
Jump to navigation
Jump to search
The StoreLine template is used to fill out 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 shop on the wiki.
Usage
{{StoreTableHead}} {{StoreLine|Name=Empty pot|Stock=30|Sell=1|Buy=0}} {{StoreLine|Name=Empty pot|DisplayName=Another 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}} {{StoreLine|Name=Firemaking cape|Stock=1|Sell=99000|Buy=|gemw=no|Image=Firemaking cape.png}} {{StoreLine|Name=Summoning cape|Stock=1|Sell=99000|Buy=|gemw=no}} |}
gives
Item | Number in Stock |
Price sold at |
Price bought at |
GE Price |
GE Resell Value | |
---|---|---|---|---|---|---|
Empty pot | 30 | 1 | 0 | Expression error: Unrecognized punctuation character "[". | 60 | |
Another empty pot | 30 | 1 | 0 | Expression error: Unrecognized punctuation character "[". | 60 | |
Jug | 10 | 1 | 0 | Expression error: Unrecognized punctuation character "[". | 1,580 | |
Shears | 10 | 1 | 0 | Expression error: Unrecognized punctuation character "[". | 310 | |
Tinderbox | 10 | 1 | 0 | Expression error: Unrecognized punctuation character "[". | 610 | |
Firemaking cape | 1 | 99,000 | Not sold | Not sold | ||
Summoning cape | 1 | 99,000 | Not sold | Not sold |
Parameters
- Name: the item
- DislayName: an optional name for the item
- Stock: number of items that are typically found in the shop before a player buys or sells those items.
- Sell: price from which a shop will sell this item to a player for the first item.
- Buy: price at which a shop will buy the first item from a player, if the shop is at the default or typical stock quantity.
- gemw=no: for items not tradeable in the Grand Exchange
- Image: image for items not tradeable in the Grand Exchange
- Image size is optional (i.e. to resize the image to 25 pixels by 25 pixels, add this at the end:
{{!}}25x25px
- Image size is optional (i.e. to resize the image to 25 pixels by 25 pixels, add this at the end:
Blank template
{{StoreLine|Name=|Stock=|Sell=|Buy=}}
{{StoreLine|Name=|Stock=|Sell=|Buy=|gemw=|Image=}}