Template:Shopkeeper Inventory: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{!}} [[Image:{{{1}}} Icon.png]] | {{!}} [[Image:{{{1}}} Icon.png]] | ||
{{!}} [[{{{1}}}]] | {{!}} [[{{{1}}}]] | ||
{{!}} {{{2}}}p | {{!}}align=left{{!}} {{{2}}}p | ||
}} | }} | ||
{{#ifeq:{{{3|}}}|| | {{#ifeq:{{{3|}}}|| | ||
Line 17: | Line 17: | ||
{{!}} [[Image:{{{3}}} Icon.png]] | {{!}} [[Image:{{{3}}} Icon.png]] | ||
{{!}} [[{{{3}}}]] | {{!}} [[{{{3}}}]] | ||
{{!}} {{{4}}}p | {{!}}align=left{{!}} {{{4}}}p | ||
}} | }} | ||
{{#ifeq:{{{5|}}}|| | {{#ifeq:{{{5|}}}|| | ||
Line 27: | Line 27: | ||
{{!}} [[Image:{{{5}}} Icon.png]] | {{!}} [[Image:{{{5}}} Icon.png]] | ||
{{!}} [[{{{5}}}]] | {{!}} [[{{{5}}}]] | ||
{{!}} {{{6}}}p | {{!}}align=left{{!}} {{{6}}}p | ||
}} | }} | ||
{{#ifeq:{{{7|}}}|| | {{#ifeq:{{{7|}}}|| | ||
Line 37: | Line 37: | ||
{{!}} [[Image:{{{7}}} Icon.png]] | {{!}} [[Image:{{{7}}} Icon.png]] | ||
{{!}} [[{{{7}}}]] | {{!}} [[{{{7}}}]] | ||
{{!}} {{{8}}}p | {{!}}align=left{{!}} {{{8}}}p | ||
}} | }} | ||
{{#ifeq:{{{9|}}}|| | {{#ifeq:{{{9|}}}|| | ||
Line 51: | Line 51: | ||
{{!}} [[Image:{{{9}}} Icon.png]] | {{!}} [[Image:{{{9}}} Icon.png]] | ||
{{!}} [[{{{9}}}]] | {{!}} [[{{{9}}}]] | ||
{{!}} {{{10}}}p | {{!}}align=left{{!}} {{{10}}}p | ||
}} | }} | ||
{{#ifeq:{{{11|}}}|| | {{#ifeq:{{{11|}}}|| | ||
Line 61: | Line 61: | ||
{{!}} [[Image:{{{11}}} Icon.png]] | {{!}} [[Image:{{{11}}} Icon.png]] | ||
{{!}} [[{{{11}}}]] | {{!}} [[{{{11}}}]] | ||
{{!}} {{{12}}}p | {{!}}align=left{{!}} {{{12}}}p | ||
}} | }} | ||
{{#ifeq:{{{13|}}}|| | {{#ifeq:{{{13|}}}|| | ||
Line 71: | Line 71: | ||
{{!}} [[Image:{{{13}}} Icon.png]] | {{!}} [[Image:{{{13}}} Icon.png]] | ||
{{!}} [[{{{13}}}]] | {{!}} [[{{{13}}}]] | ||
{{!}} {{{14}}}p | {{!}}align=left{{!}} {{{14}}}p | ||
}} | }} | ||
{{#ifeq:{{{15|}}}|| | {{#ifeq:{{{15|}}}|| | ||
Line 81: | Line 81: | ||
{{!}} [[Image:{{{15}}} Icon.png]] | {{!}} [[Image:{{{15}}} Icon.png]] | ||
{{!}} [[{{{15}}}]] | {{!}} [[{{{15}}}]] | ||
{{!}} {{{16}}}p | {{!}}align=left{{!}} {{{16}}}p | ||
}} | }} | ||
|} | |} | ||
Line 105: | Line 105: | ||
<pre style="width:auto; overflow:auto"> | <pre style="width:auto; overflow:auto"> | ||
{{Shopkeeper Inventory | {{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> | </pre> | ||
displays as: | displays as: | ||
{{Shopkeeper Inventory | {{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> | </noinclude> |
Revision as of 21:12, 18 February 2009
Related topics: Wiki Templates
Syntax
{{Shopkeeper Inventory |Caption=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. Use just the number for the price.
Naming Conventions are enforced and icon images must follow the format Name Icon.png
(case sensitive).
For example:
{{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}}
displays as:
Rewards
Bonecrunch's Hammer 50,000p Burnja's Board with Nails 1,000p Drudge Scrying Orb 500p Protective Drudge Charm 250p Scroll of Flame Chain 100p