Template:ShopTableRow
This template adds rows to the table "ItemSource", which is declared by the template ItemSource. View table. Stores shop item data to Cargo and outputs a table row. Use with Template:Tl and Template:Tl.
Usage
[edit source]{{ShopTableHeader}}
{{ShopTableRow|item=Iron Sword|cost=100}}
{{ShopTableRow|item=Health Potion|cost=50|currency=Tokens}}
{{ShopTableFooter}}
Parameters
[edit source]- item - The item being sold (required)
- cost - The price (required)
- currency - Currency type (defaults to Gold, shown as sprite)
- npc - The NPC selling this item (defaults to page name)