Template:StoreLine/doc
The StoreLine template is to be used in conjunction with {{StoreTableHeader}}
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
{{StoreTableHeader|currency=LUX}} {{StoreLine|name=Felix's Bait Rod|buy=20|currency=LUX|level=100|sell=N/A}} {{StoreLine|name=Felix's Book|buy=1|currency=LUX|level=1|sell=N/A}} {{StoreLine|name=Felix's Pencil|buy=5|currency=LUX|level=1}} {{StoreLine|name=History of the Terist|buy=1|currency=LUX|level=3}} {{StoreTableFooter}}
gives
Item | Buyable for | Sellable for | Level | Members only | |
---|---|---|---|---|---|
File:Felix's Bait Rod.png | Felix's Bait Rod | 20 LUX | N/A | 100 | No |
File:Felix's Book.png | Felix's Book | 1 LUX | N/A | 1 | No |
File:Felix's Pencil.png | Felix's Pencil | 5 LUX | N/A | 1 | No |
File:History of the Terist.png | History of the Terist | 1 LUX | N/A | 3 | No |
Parameters
- name: the item
- buy: the price the item can be bought for from the shop
- sell: the price the item can be sold to the shop for
- image: override the image, file extension is required.
Optional Parameters
- displayname: an optional name to display
- image: override the image, file extension is required
- smwname: Differentiate items that have a switch infobox for Semantic MediaWiki. It will lookup the item's value from its wiki page
- members: If the item can only be bought by members
- 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.
|