Template:StoreLine/doc: Difference between revisions
(Created page with "{{Documentation}} The '''StoreLine''' template is to be used in conjunction with {{t|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== <pre>{{StoreTableHeader|currency=LUX}} {{StoreLine|name=Felix's Bait Rod|sell=20|currency=LUX|level=100}} {{StoreLine|name=Felix's Book|sell=1|currency=LUX|level=1}} {{StoreLine|name=Feli...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
The '''StoreLine''' template is to be used in conjunction with {{t| | The '''StoreLine''' template is to be used in conjunction with {{t|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== | ==Usage== | ||
Line 36: | Line 36: | ||
==See also== | ==See also== | ||
*[[Template: | *[[Template:StoreTableHeader]] | ||
{{TemplateData|<templatedata> | {{TemplateData|<templatedata> |
Revision as of 12:56, 3 April 2022
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|sell=20|currency=LUX|level=100}} {{StoreLine|name=Felix's Book|sell=1|currency=LUX|level=1}} {{StoreLine|name=Felix's Pencil|sell=5|currency=LUX|level=1}} {{StoreLine|name=History of the Terist|sell=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 | N/A | 20 LUX | 100 | No |
File:Felix's Book.png | Felix's Book | N/A | 1 LUX | 1 | No |
File:Felix's Pencil.png | Felix's Pencil | N/A | 5 LUX | 1 | No |
File:History of the Terist.png | History of the Terist | N/A | 1 LUX | 3 | No |
Parameters
- name: the item
- sell: the price the item sells at
- buy: the price the item can be sold for to the shop
- 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
- 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.
|