Template:Inventory

From Archaelund Wiki
Revision as of 19:02, 25 August 2023 by MikeB (talk | contribs) (Created page with "<onlyinclude><includeonly>{{#invoke:Inventory|Table}}</includeonly></onlyinclude> {{Documentation}} Category:General Templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template generates the content of an inventory table and is intended to be used for displaying shop items on merchant pages. It requires the Lua module Module:Inventory.

Usage

{{Inventory
|Stock = 
|Markup = 
|Markup2 = 
}}

Parameters

NameRequiredDescriptionValues
StockYesA list of all items in the merchant's shop.a semicolon-separated list of armor/item/weapon pagenames
MarkupNoA factor that is applied to the regular prices by this merchant. Defaults to 1.non-negative number
Markup2NoIf the markup changes during the course of the game (e.g. after completing certain quests), the modified value can be given here.non-negative number

View/Edit documentation page