|
|
(16 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly>
| | #REDIRECT[[Template:Inventory Table]] |
| {{#ifeq:{{{Caption|}}}|||'''{{{Caption}}}'''}}
| |
| :{|border=0 cellpadding=5
| |
| |-
| |
| {{#ifeq:{{{1|}}}|||
| |
| {{!}}width=10{{!}}
| |
| {{!}} [[Image:{{{1}}} Icon.png]]
| |
| {{!}} [[{{{1}}}]]
| |
| {{!}} {{{2}}}p
| |
| }}
| |
| {{#ifeq:{{{3|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{3|}}}|||
| |
| {{!}} [[Image:{{{3}}} Icon.png]]
| |
| {{!}} [[{{{3}}}]]
| |
| {{!}} {{{4}}}p
| |
| }}
| |
| {{#ifeq:{{{5|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{5|}}}|||
| |
| {{!}} [[Image:{{{5}}} Icon.png]]
| |
| {{!}} [[{{{5}}}]]
| |
| {{!}} {{{6}}}p
| |
| }}
| |
| {{#ifeq:{{{7|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{7|}}}|||
| |
| {{!}} [[Image:{{{7}}} Icon.png]]
| |
| {{!}} [[{{{7}}}]]
| |
| {{!}} {{{8}}}p
| |
| }}
| |
| {{#ifeq:{{{9|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{9|}}}|||
| |
| | |
| {{!}}-
| |
| | |
| {{!}}width=10{{!}}
| |
| {{!}} [[Image:{{{9}}} Icon.png]]
| |
| {{!}} [[{{{9}}}]]
| |
| {{!}} {{{10}}}p
| |
| }}
| |
| {{#ifeq:{{{11|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{11|}}}|||
| |
| {{!}} [[Image:{{{11}}} Icon.png]]
| |
| {{!}} [[{{{11}}}]]
| |
| {{!}} {{{12}}}p
| |
| }}
| |
| {{#ifeq:{{{13|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{13|}}}|||
| |
| {{!}} [[Image:{{{13}}} Icon.png]]
| |
| {{!}} [[{{{13}}}]]
| |
| {{!}} {{{14}}}p
| |
| }}
| |
| {{#ifeq:{{{15|}}}||
| |
| | |
| {{!}}-
| |
| | |
| |}}
| |
| {{#ifeq:{{{15|}}}|||
| |
| {{!}} [[Image:{{{15}}} Icon.png]]
| |
| {{!}} [[{{{15}}}]]
| |
| {{!}} {{{16}}}p
| |
| }}
| |
| |}
| |
| </includeonly><noinclude>
| |
| {{Related|Wiki Templates}}
| |
| == Syntax ==
| |
| <pre style="width:auto; overflow:auto">
| |
| {{Shopkeeper Inventory
| |
| |Caption=caption
| |
| |Name|Price
| |
| |Name|Price
| |
| |Name|Price
| |
| |...
| |
| }}
| |
| </pre>
| |
| | |
| == 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. Use just the number for the price.
| |
| | |
| [[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=Rewards
| |
| |Bonecrunch's Hammer|50,000
| |
| |Burnja's Board with Nails|1,000
| |
| |Drudge Scrying Orb|500
| |
| |Protective Drudge Charm|250
| |
| |Scroll of Flame Chain|100
| |
| }}
| |
| </pre>
| |
| | |
| displays as:
| |
| | |
| {{Shopkeeper Inventory
| |
| |Caption=Rewards
| |
| |Bonecrunch's Hammer|50,000
| |
| |Burnja's Board with Nails|1,000
| |
| |Drudge Scrying Orb|500
| |
| |Protective Drudge Charm|250
| |
| |Scroll of Flame Chain|100
| |
| }}
| |
| | |
| </noinclude>
| |