Line 77: Line 77:
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
| Caption =
|  |
}}
</pre>
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
{{Shopkeeper Inventory

Revision as of 21:40, 18 February 2009

Related topics: Wiki Templates

Syntax

{{Shopkeeper Inventory
 | Caption = 
 |  | 
}}
{{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 - 10p Iron Scarab - 50p Copper Scarab - 100p Silver Scarab - 250p
Gold Scarab - 500p Pyreal Scarab - 1,000p Platinum Scarab - 40,000p