Template:Shop
Jump to navigation
Jump to search
This template adds rows to the table "shopInventory", which is declared by the template Shop/Cargo declare. View table.
This template merchant table for shops. It stores item and price information in the shop inventory table.
Related Modules, Templates, or Tables:
{{Shop/Cargo declare}}
declares the table for the shop inventory table.- This template should be accompanied by two runner templates:
{{Shop/header}}
and{{Shop/footer}}
- This template sends the additional building ingredients to
{{Recipe ingredients}}
to prase out the information so it will be displayed in the "used in" areas of pages.
Syntax
{{Shop
| item name
| cost
|note = Any specific notes about the item. (optional)
|link = Changes the link used for the displayed text and the image. (optional
|img = Changes the image that is displayed for this item or character. (optional)
|ext = Changes the extension of the displayed image. Used when there is no png file available. (optional)
|addCost = If an item or upgrade has a cost aside from credits. Semicolon delim list (string)
|page = If this is an upgrade, and we want the upgrade to show up for a "base page" for example: Tool Upgrade level 2 would have a base page of the tool name. (optional) (string)
}}