Jump to content

Template:ShopTableRow

From Apogea Wiki
Revision as of 14:36, 1 February 2026 by Dane (talk | contribs) (Use ItemSprite helper template for proper sprite lookup (via update-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

{{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)