No edit summary
(Redirected page to Template:Inventory Table)
 
Line 1: Line 1:
<includeonly>
#REDIRECT[[Template:Inventory Table]]
{{#ifeq:{{{Caption|}}}|||'''{{{Caption}}}'''}}
:{|border=0 cellpadding=2
|-
{{#ifeq:{{{1|}}}|||
{{!}} [[Image:{{{1}}} Icon.png]] {{!}}{{!}} [[{{{1}}}]] {{!}}{{!}} - {{!}}{{!}} {{{2}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{3|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{3|}}}|||
{{!}} [[Image:{{{3}}} Icon.png]] {{!}}{{!}} [[{{{3}}}]] {{!}}{{!}} - {{!}}{{!}} {{{4}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{5|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{5|}}}|||
{{!}} [[Image:{{{5}}} Icon.png]] {{!}}{{!}} [[{{{5}}}]] {{!}}{{!}} - {{!}}{{!}} {{{6}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{7|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{7|}}}|||
{{!}} [[Image:{{{7}}} Icon.png]] {{!}}{{!}} [[{{{7}}}]] {{!}}{{!}} - {{!}}{{!}} {{{8}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{9|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{9|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{9}}} Icon.png]] {{!}}{{!}} [[{{{9}}}]] {{!}}{{!}} - {{!}}{{!}} {{{10}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{11|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{11|}}}|||
{{!}} [[Image:{{{11}}} Icon.png]] {{!}}{{!}} [[{{{11}}}]] {{!}}{{!}} - {{!}}{{!}} {{{12}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{13|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{13|}}}|||
{{!}} [[Image:{{{13}}} Icon.png]] {{!}}{{!}} [[{{{13}}}]] {{!}}{{!}} - {{!}}{{!}} {{{14}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{15|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{15|}}}|||
{{!}} [[Image:{{{15}}} Icon.png]] {{!}}{{!}} [[{{{15}}}]] {{!}}{{!}} - {{!}}{{!}} {{{16}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{17|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{17|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{17}}} Icon.png]] {{!}}{{!}} [[{{{17}}}]] {{!}}{{!}} - {{!}}{{!}} {{{18}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{19|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{19|}}}|||
{{!}} [[Image:{{{19}}} Icon.png]] {{!}}{{!}} [[{{{19}}}]] {{!}}{{!}} - {{!}}{{!}} {{{20}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{21|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{21|}}}|||
{{!}} [[Image:{{{21}}} Icon.png]] {{!}}{{!}} [[{{{21}}}]] {{!}}{{!}} - {{!}}{{!}} {{{22}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{23|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{23|}}}|||
{{!}} [[Image:{{{23}}} Icon.png]] {{!}}{{!}} [[{{{23}}}]] {{!}}{{!}} - {{!}}{{!}} {{{24}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{25|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{25|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{25}}} Icon.png]] {{!}}{{!}} [[{{{25}}}]] {{!}}{{!}} - {{!}}{{!}} {{{26}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{27|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{27|}}}|||
{{!}} [[Image:{{{27}}} Icon.png]] {{!}}{{!}} [[{{{27}}}]] {{!}}{{!}} - {{!}}{{!}} {{{28}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{29|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{29|}}}|||
{{!}} [[Image:{{{29}}} Icon.png]] {{!}}{{!}} [[{{{29}}}]] {{!}}{{!}} - {{!}}{{!}} {{{30}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{31|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{31|}}}|||
{{!}} [[Image:{{{31}}} Icon.png]] {{!}}{{!}} [[{{{31}}}]] {{!}}{{!}} - {{!}}{{!}} {{{32}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{33|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{33|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{33}}} Icon.png]] {{!}}{{!}} [[{{{33}}}]] {{!}}{{!}} - {{!}}{{!}} {{{34}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{35|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{35|}}}|||
{{!}} [[Image:{{{35}}} Icon.png]] {{!}}{{!}} [[{{{35}}}]] {{!}}{{!}} - {{!}}{{!}} {{{36}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{36|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{36|}}}|||
{{!}} [[Image:{{{36}}} Icon.png]] {{!}}{{!}} [[{{{36}}}]] {{!}}{{!}} - {{!}}{{!}} {{{38}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{39|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{39|}}}|||
{{!}} [[Image:{{{39}}} Icon.png]] {{!}}{{!}} [[{{{39}}}]] {{!}}{{!}} - {{!}}{{!}} {{{40}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{41|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{41|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{41}}} Icon.png]] {{!}}{{!}} [[{{{41}}}]] {{!}}{{!}} - {{!}}{{!}} {{{42}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{43|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{43|}}}|||
{{!}} [[Image:{{{43}}} Icon.png]] {{!}}{{!}} [[{{{43}}}]] {{!}}{{!}} - {{!}}{{!}} {{{44}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{44|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{44|}}}|||
{{!}} [[Image:{{{44}}} Icon.png]] {{!}}{{!}} [[{{{44}}}]] {{!}}{{!}} - {{!}}{{!}} {{{46}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{47|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{47|}}}|||
{{!}} [[Image:{{{47}}} Icon.png]] {{!}}{{!}} [[{{{47}}}]] {{!}}{{!}} - {{!}}{{!}} {{{48}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{49|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{49|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{49}}} Icon.png]] {{!}}{{!}} [[{{{49}}}]] {{!}}{{!}} - {{!}}{{!}} {{{50}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{51|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{51|}}}|||
{{!}} [[Image:{{{51}}} Icon.png]] {{!}}{{!}} [[{{{51}}}]] {{!}}{{!}} - {{!}}{{!}} {{{44}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{44|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{44|}}}|||
{{!}} [[Image:{{{44}}} Icon.png]] {{!}}{{!}} [[{{{44}}}]] {{!}}{{!}} - {{!}}{{!}} {{{54}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{55|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{55|}}}|||
{{!}} [[Image:{{{55}}} Icon.png]] {{!}}{{!}} [[{{{55}}}]] {{!}}{{!}} - {{!}}{{!}} {{{56}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{57|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{57|}}}|||
 
{{!}}-
 
{{!}} [[Image:{{{57}}} Icon.png]] {{!}}{{!}} [[{{{57}}}]] {{!}}{{!}} - {{!}}{{!}} {{{58}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{59|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{59|}}}|||
{{!}} [[Image:{{{59}}} Icon.png]] {{!}}{{!}} [[{{{59}}}]] {{!}}{{!}} - {{!}}{{!}} {{{44}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{44|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{44|}}}|||
{{!}} [[Image:{{{44}}} Icon.png]] {{!}}{{!}} [[{{{44}}}]] {{!}}{{!}} - {{!}}{{!}} {{{62}}}
{{!}}width=6{{!}}
}}
{{#ifeq:{{{63|}}}||
 
{{!}}-
 
|}}
{{#ifeq:{{{63|}}}|||
{{!}} [[Image:{{{63}}} Icon.png]] {{!}}{{!}} [[{{{63}}}]] {{!}}{{!}} - {{!}}{{!}} {{{64}}}
{{!}}width=6{{!}}
}}
|}
</includeonly><noinclude>
{{Related|Wiki Templates}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
| Caption =
|  |
}}
</pre>
 
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
| Caption =
| Name | Price
| Name | Price
| Name | Price
|...
}}
</pre>
 
== 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 <code>Name Icon.png</code> (case sensitive).
 
For example:
 
<pre style="width:auto; overflow:auto">
{{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
}}
</pre>
 
displays as:
 
{{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
}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 00:34, 11 April 2015