No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|cellpadding=3 style="width:400px; border:1px solid #e5e5e5; background:#f9f9f9; vertical-align:top;"
<includeonly>:{|class="wikitable collapsible collapsed" style="width:350px;"
|colspan=2 bgcolor=#d0d0d0 align=left| '''Item'''
!colspan="2"|'''Item'''
|width=10% bgcolor=#d0d0d0 align=center| '''Price'''
!width="10%"|'''Price'''
|-
|-
{{{Table Rows|}}}
{{{Table Rows|}}}
|-
|-
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates|Vendor NPC Template}}
{{Related|Wiki Templates|Shopkeeper NPC Template|Template:Inventory Item{{!}}<nowiki>{{Inventory Item}}</nowiki>}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
Line 29: Line 29:


== Usage ==
== Usage ==
Displays icons and links for items in a shopkeeper's inventory. Creature a table for each type of items (from the drop down menu in game). Link text will not wrap below icons, only to the side.
Displays icons and links for items in a shopkeeper's inventory. Create a table for each type of items (from the drop down menu in game). Link text will not wrap below icons, only to the side.
* [[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code> (case sensitive).
* [[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code> (case sensitive).
* If you wish to display a name other than the actual page name, add <code> | Alias = <Name> </code> to the Inventory Item.
* If you wish to display a name other than the actual page name, add <code> | Alias = <Name> </code> to the Inventory Item.


For more information on usage see [[Vendor NPC Template]].
For more information on usage see [[Shopkeeper NPC Template]].


For example:
For example:
Line 62: Line 62:
{{Inventory Item | Platinum Scarab | 40,000 | Alias = Platinum }}
{{Inventory Item | Platinum Scarab | 40,000 | Alias = Platinum }}
}}
}}
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 16:21, 15 April 2015

Related topics: Wiki Templates, Shopkeeper NPC Template, {{Inventory Item}}

Syntax Edit

{{Inventory Table
 | Table Rows = 
{{Inventory Item |  |  }}
{{Inventory Item |  |  }}
{{Inventory Item |  |  }}
{{Inventory Item |  |  }}
}}
{{Inventory Table
 | Table Rows = 
{{Inventory Item|<Name>|<Price>|Alias=<Name>}}
{{Inventory Item|<Name>|<Price>}}
{{Inventory Item|<Name>|<Price>}}
{{Inventory Item|<Name>|<Price>}}
}}

Usage Edit

Displays icons and links for items in a shopkeeper's inventory. Create a table for each type of items (from the drop down menu in game). Link text will not wrap below icons, only to the side.

  • Naming Conventions are enforced and icon images must follow the format Name Icon.png (case sensitive).
  • If you wish to display a name other than the actual page name, add | Alias = <Name> to the Inventory Item.

For more information on usage see Shopkeeper NPC Template.

For example:

{{Inventory Table
 | Table Rows = 
{{Inventory Item | Lead Scarab | 10 }}
{{Inventory Item | Iron Scarab | 50 }}
{{Inventory Item | Copper Scarab | 100 }}
{{Inventory Item | Silver Scarab | 250 }}
{{Inventory Item | Gold Scarab | 500 }}
{{Inventory Item | Pyreal Scarab | 1,000 }}
{{Inventory Item | Platinum Scarab | 40,000 | Alias = Platinum }}
}}

displays as: