Template:Shop Inventory
This template is used to display tables of Shop inventories and automatically set sources categories as appropriate.
Examples[edit]
For the simplest example—a shop that buys and sells in Pennies with no additional columns—see .
For an example of a sell-only shop that uses as the primary currency but where some items sell for Pennies, see the Upper River Exchange.
For an example of a buy-only shop where every item uses a different currency, see .
For an example of a gear shop using Extra Columns to display stats, see .
A table displaying a shop inventory.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Primary Currency | Currency | The primary currency used at this shop.
| Page | optional |
Buy enabled | Buy | Whether you can buy items from this shop.
| Line | optional |
Sell enabled | Sell | Whether you can sell items to this shop.
| Line | optional |
Mth Extra Column | Extra Column M | The heading for the Mth additional column | Line | optional |
Item CSS Style | Item Style | Any additional CSS styling to add to the Item Name cells.
| Line | optional |
Price CSS Style | Price Style | Any additional CSS styling to add to the Buy and Sell cells.
| Line | optional |
Extra Column M CSS Style | Extra Column M Style | Any additional CSS styling to add to the Extra Column M cells.
| Line | optional |
Nth Item Name | Item Name N | The name of the item. Represents one row in the table.
| Page | required |
Nth Item Name Appearance | Item Appearance N | How the item name for the Nth row should be displayed.
| String | optional |
Nth Currency | Currency N | The currency for which the item on the Nth row is bought and/or sold, if different from the primary currency for the shop.
| Page | optional |
Nth Buy Price | Buy N | The amount of Currency for which the item on the Nth row can be bought.
| Line | optional |
Nth Sell Price | Sell N | The amount of Currency for which the item on the Nth row can be sold.
| Line | optional |
Nth Extra Column Values | Extra Column M N {{{Extra Column M}}} N | The data to display for the Mth Extra Column in the Nth row. | String | optional |