Template:StoreLine
The StoreLine template is to be used in conjunction with {{StoreTableHead}} provide a listing of items that are found in a 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|sellmultiplier=1300|buymultiplier=400|delta=30}}
{{StoreLine|name=Pot|stock=5|restock=9962000}}
{{StoreLine|name=Jug|stock=2|restock=}}
{{StoreLine|name=Empty jug pack|stock=5|gemw=No|restock=10}}
{{StoreLine|name=Shears|stock=2|restock=10}}
{{StoreLine|name=Bucket|stock=3|restock=10}}
{{StoreLine|name=Empty bucket pack|stock=15|gemw=no|restock=10}}
{{StoreLine|name=Bowl|stock=2|restock=10}}
{{StoreLine|name=Pot|displayname=Another pot|stock=5|restock=10}}
{{StoreLine|name=Empty jug pack|stock=5|gemw=No|restock=10}}
{{StoreLine|name=Fletching cape|stock=5|smwname=Fletching cape#Untrimmed|gemw=no|sell=99000|buy=N/A|restock=N/A}}
{{StoreLine|name=Elven top (yellow)|stock=100|image=Elven top (white).png|restock=1}}
{{StoreTableBottom}}
gives
| Item | Number in stock | Restock time | Price sold at | Price bought at | GE price |
|
|---|---|---|---|---|---|---|
| Pot | 5 | 69d 4h 20m (9,962,000t) | ||||
| Jug | 2 | unknown | ||||
| Empty jug pack | 5 | 6s (10t) | Not sold | |||
| Shears | 2 | 6s (10t) | ||||
| Bucket | 3 | 6s (10t) | ||||
| Empty bucket pack | 15 | 6s (10t) | Not sold | |||
| Bowl | 2 | 6s (10t) | ||||
| Another pot | 5 | 6s (10t) | ||||
| Empty jug pack | 5 | 6s (10t) | Not sold | |||
| Fletching cape | 5 | N/A | N/A | Not sold | ||
| Elven top (yellow) | 100 | 0.6s (1t) | Not sold | |||
Parameters
- name: the item
- stock: number of items that are typically found in the shop before a player buys or sells those items. Set to
∞orinffor infinite stocks. - restock: time (in ticks) it takes for the stock to restore towards its default state (one at a time). Accepts numbers and
N/A. Defaults to -1, which displays as<small>unknown</small>.
Optional Parameters
- gemw: set to "no" if the item is not tradeable on the GE
- geprice: override the grand exchange price
- displayname: an optional name to display
- sell: override the displayed number (
N/Aif not applicable) - buy: override the displayed number (
N/Aif not applicable) - image: override the image, file extension is required (e.g.
Image=Rune scimitar.png) - gemwname: Use to display an alternate value for the Grand Exchange Market Watch. If the item is available on the Grand Exchange, it will look up current price and value.
- smwname: Differentiate items that have a switch infobox (see Fletching cape example) for Semantic MediaWiki. It will lookup the item's value from its wiki page
- smw: set to "No" to disable smw for this line
- column1: Add an additional column with this as contents
- column2: Add an additional column with this as contents
- columnX: ... Add an additional column with this as contents
See also
Template data
| Show/hide template's data | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. The StoreLine template is used to provide a listing of items that are found in a shop.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||