Template:Shopkeeper Inventory

From My Wiki
Jump to navigation Jump to search

Related topics: Wiki Templates

Syntax

{{Shopkeeper Inventory
 | Caption = 
 |  | 
}}
{{Shopkeeper Inventory
 | Caption = 
 | Name | Price
 | Name | Price
 | Name | Price
 |...
}}

Usage

Displays icons and links four across for up to 32 items. An optional caption can be displayed. If more than 32 are needed, just add a second Item Table and leave out the caption. Link text will not wrap below icons, only to the side. Indicate the cost and unit (300p, 12cc, 25amc, etc).

Naming Conventions are enforced and icon images must follow the format Name Icon.png (case sensitive).

For example:

{{Shopkeeper Inventory
 | Caption=Spell Components
 | Lead Scarab | 10p
 | Iron Scarab | 50p
 | Copper Scarab | 100p
 | Silver Scarab | 250p
 | Gold Scarab | 500p
 | Pyreal Scarab | 1,000p
 | Platinum Scarab | 40,000p
}}

displays as:


Spell Components

Lead Scarab - 10p Iron Scarab - 50p Copper Scarab - 100p Silver Scarab - 250p
Gold Scarab - 500p Pyreal Scarab - 1,000p Platinum Scarab - 40,000p