Template:Shopkeeper Inventory: Difference between revisions
Jump to navigation
Jump to search
imported>Tlosk's Bot No edit summary |
imported>Tlosk No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 71: | Line 71: | ||
{{#ifeq:{{{15|}}}||| | {{#ifeq:{{{15|}}}||| | ||
{{!}} [[Image:{{{15}}} Icon.png]] {{!}}{{!}} [[{{{15}}}]] {{!}}{{!}} - {{!}}{{!}} {{{16}}} | {{!}} [[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{{!}} | {{!}}width=6{{!}} | ||
}} | }} | ||
| Line 79: | Line 313: | ||
<pre style="width:auto; overflow:auto"> | <pre style="width:auto; overflow:auto"> | ||
{{Shopkeeper Inventory | {{Shopkeeper Inventory | ||
|Caption= | | Caption = | ||
|Name|Price | | | | ||
|Name|Price | }} | ||
|Name|Price | </pre> | ||
<pre style="width:auto; overflow:auto"> | |||
{{Shopkeeper Inventory | |||
| Caption = | |||
| Name | Price | |||
| Name | Price | |||
| Name | Price | |||
|... | |... | ||
}} | }} | ||
| Line 88: | Line 329: | ||
== Usage == | == Usage == | ||
Displays | 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). | [[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code> (case sensitive). | ||
| Line 96: | Line 337: | ||
<pre style="width:auto; overflow:auto"> | <pre style="width:auto; overflow:auto"> | ||
{{Shopkeeper Inventory | {{Shopkeeper Inventory | ||
|Caption=Spell Components | | Caption=Spell Components | ||
|Lead Scarab|10p | | Lead Scarab | 10p | ||
|Iron Scarab|50p | | Iron Scarab | 50p | ||
|Copper Scarab|100p | | Copper Scarab | 100p | ||
|Silver Scarab|250p | | Silver Scarab | 250p | ||
|Gold Scarab|500p | | Gold Scarab | 500p | ||
|Pyreal Scarab|1,000p | | Pyreal Scarab | 1,000p | ||
|Platinum Scarab|40,000p | | Platinum Scarab | 40,000p | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 110: | Line 351: | ||
{{Shopkeeper Inventory | {{Shopkeeper Inventory | ||
|Caption=Spell Components | | Caption=Spell Components | ||
|Lead Scarab|10p | | Lead Scarab | 10p | ||
|Iron Scarab|50p | | Iron Scarab | 50p | ||
|Copper Scarab|100p | | Copper Scarab | 100p | ||
|Silver Scarab|250p | | Silver Scarab | 250p | ||
|Gold Scarab|500p | | Gold Scarab | 500p | ||
|Pyreal Scarab|1,000p | | Pyreal Scarab | 1,000p | ||
|Platinum Scarab|40,000p | | Platinum Scarab | 40,000p | ||
}} | }} | ||
[[Category:Wiki Template]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 17:38, 21 April 2009
Related topics: Wiki Templates
Syntax
{{Shopkeeper Inventory
| Caption =
| |
}}
{{Shopkeeper Inventory
| Caption =
| Name | Price
| Name | Price
| Name | Price
|...
}}
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 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