Template:Shopkeeper Inventory: Difference between revisions
Jump to navigation
Jump to search
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifeq:{{{Caption|}}}|||'''{{{Caption}}}'''}} | {{#ifeq:{{{Caption|}}}|||'''{{{Caption}}}'''}} | ||
:{|border=0 cellpadding= | :{|border=0 cellpadding=2 | ||
|- | |- | ||
{{#ifeq:{{{1|}}}||| | {{#ifeq:{{{1|}}}||| | ||
{{!}} [[Image:{{{1}}} Icon.png]] {{!}}{{!}} [[{{{1}}}]] {{!}}{{!}} - {{{2}}} | {{!}} [[Image:{{{1}}} Icon.png]] {{!}}{{!}} [[{{{1}}}]] {{!}}{{!}} - {{!}}{{!}} {{{2}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{3|}}}|| | {{#ifeq:{{{3|}}}|| | ||
| Line 13: | Line 13: | ||
|}} | |}} | ||
{{#ifeq:{{{3|}}}||| | {{#ifeq:{{{3|}}}||| | ||
{{!}} [[Image:{{{3}}} Icon.png]] {{!}}{{!}} [[{{{3}}}]] {{!}}{{!}} - {{{4}}} | {{!}} [[Image:{{{3}}} Icon.png]] {{!}}{{!}} [[{{{3}}}]] {{!}}{{!}} - {{!}}{{!}} {{{4}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{5|}}}|| | {{#ifeq:{{{5|}}}|| | ||
| Line 22: | Line 22: | ||
|}} | |}} | ||
{{#ifeq:{{{5|}}}||| | {{#ifeq:{{{5|}}}||| | ||
{{!}} [[Image:{{{5}}} Icon.png]] {{!}}{{!}} [[{{{5}}}]] {{!}}{{!}} - {{{6}}} | {{!}} [[Image:{{{5}}} Icon.png]] {{!}}{{!}} [[{{{5}}}]] {{!}}{{!}} - {{!}}{{!}} {{{6}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{7|}}}|| | {{#ifeq:{{{7|}}}|| | ||
| Line 31: | Line 31: | ||
|}} | |}} | ||
{{#ifeq:{{{7|}}}||| | {{#ifeq:{{{7|}}}||| | ||
{{!}} [[Image:{{{7}}} Icon.png]] {{!}}{{!}} [[{{{7}}}]] {{!}}{{!}} - {{{8}}} | {{!}} [[Image:{{{7}}} Icon.png]] {{!}}{{!}} [[{{{7}}}]] {{!}}{{!}} - {{!}}{{!}} {{{8}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{9|}}}|| | {{#ifeq:{{{9|}}}|| | ||
| Line 43: | Line 43: | ||
{{!}}- | {{!}}- | ||
{{!}} [[Image:{{{9}}} Icon.png]] {{!}}{{!}} [[{{{9}}}]] {{!}}{{!}} - {{{10}}} | {{!}} [[Image:{{{9}}} Icon.png]] {{!}}{{!}} [[{{{9}}}]] {{!}}{{!}} - {{!}}{{!}} {{{10}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{11|}}}|| | {{#ifeq:{{{11|}}}|| | ||
| Line 52: | Line 52: | ||
|}} | |}} | ||
{{#ifeq:{{{11|}}}||| | {{#ifeq:{{{11|}}}||| | ||
{{!}} [[Image:{{{11}}} Icon.png]] {{!}}{{!}} [[{{{11}}}]] {{!}}{{!}} - {{{12}}} | {{!}} [[Image:{{{11}}} Icon.png]] {{!}}{{!}} [[{{{11}}}]] {{!}}{{!}} - {{!}}{{!}} {{{12}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{13|}}}|| | {{#ifeq:{{{13|}}}|| | ||
| Line 61: | Line 61: | ||
|}} | |}} | ||
{{#ifeq:{{{13|}}}||| | {{#ifeq:{{{13|}}}||| | ||
{{!}} [[Image:{{{13}}} Icon.png]] {{!}}{{!}} [[{{{13}}}]] {{!}}{{!}} - {{{14}}} | {{!}} [[Image:{{{13}}} Icon.png]] {{!}}{{!}} [[{{{13}}}]] {{!}}{{!}} - {{!}}{{!}} {{{14}}} | ||
{{!}}width= | {{!}}width=6{{!}} | ||
}} | }} | ||
{{#ifeq:{{{15|}}}|| | {{#ifeq:{{{15|}}}|| | ||
| Line 70: | Line 70: | ||
|}} | |}} | ||
{{#ifeq:{{{15|}}}||| | {{#ifeq:{{{15|}}}||| | ||
{{!}} [[Image:{{{15}}} Icon.png]] {{!}}{{!}} [[{{{15}}}]] {{!}}{{!}} - {{{16}}} | {{!}} [[Image:{{{15}}} Icon.png]] {{!}}{{!}} [[{{{15}}}]] {{!}}{{!}} - {{!}}{{!}} {{{16}}} | ||
{{!}}width= | {{!}}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{{!}} | |||
}} | }} | ||
|} | |} | ||
| 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 95: | Line 336: | ||
<pre style="width:auto; overflow:auto"> | <pre style="width:auto; overflow:auto"> | ||
{{Shopkeeper Inventory|Caption= | {{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> | </pre> | ||
displays as: | displays as: | ||
{{Shopkeeper Inventory|Caption= | {{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> | </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