Template:Shopkeeper Inventory: Difference between revisions

From leaftidewiki
Jump to navigation Jump to search
imported>Tlosk's Bot
No edit summary
imported>Tlosk's Bot
Line 79: Line 79:
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
{{Shopkeeper Inventory
  | Caption=caption
  | Caption =  
  | Name | Price
  | Name | Price
  | Name | Price
  | Name | Price

Revision as of 14:39, 18 February 2009

Related topics: Wiki Templates

Syntax

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

Usage

Displays a 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 Icon.png Lead Scarab - 10p Iron Scarab Icon.png Iron Scarab - 50p Copper Scarab Icon.png Copper Scarab - 100p Silver Scarab Icon.png Silver Scarab - 250p
Gold Scarab Icon.png Gold Scarab - 500p Pyreal Scarab Icon.png Pyreal Scarab - 1,000p Platinum Scarab Icon.png Platinum Scarab - 40,000p