Template:Shopkeeper Inventory: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
New page: '''Gems''' :{|border=0 cellpadding=5 | Image:Icon.png || Niffis Fighting Pits || 500p | Image:Icon.png || Blood Fang Jewel || 5,000p | Image:Icon.png || [[Black Glass A...
 
imported>Tlosk
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Gems'''
:{|border=0 cellpadding=5
| [[Image:Icon.png]] || [[Niffis Fighting Pits]] || 500p
| [[Image:Icon.png]] || [[Blood Fang Jewel]] || 5,000p
| [[Image:Icon.png]] || [[Black Glass Array]] || 5,000p
| [[Image:Icon.png]] || [[Soul Chalice]] || 5,000p
|-
| [[Image:Icon.png]] || [[Desolate Seed]] || 5,000p
| [[Image:Icon.png]] || [[Warrior's Emblem]] || 5,000p
| [[Image:Icon.png]] || [[Burning Viel]] || 5,000p
| [[Image:Icon.png]] || [[Shadow Cursed Totem]] || 5,000p
|-
| [[Image:Icon.png]] || [[corrupted Skull]] || 5,000p
| [[Image:Icon.png]] || [[Seething Skull]] || 5,000p
| [[Image:Icon.png]] || [[Antiquated Compass]] || 5,000p
| [[Image:Icon.png]] || [[The Orphanage]] || 5,000p
|-
<includeonly>
<includeonly>
{|border=0 cellpadding=3 cellspacing=0
{{#ifeq:{{{Caption|}}}|||'''{{{Caption}}}'''}}
{{#ifeq:{{{Caption|}}}|||{{!}}colspan=9{{!}}'''{{{Caption}}}'''}}
:{|border=0 cellpadding=2
|-
|-
{{#ifeq:{{{1|}}}|||
{{#ifeq:{{{1|}}}|||
{{!}}width=10{{!}}
{{!}} [[Image:{{{1}}} Icon.png]] {{!}}{{!}} [[{{{1}}}]] {{!}}{{!}} - {{!}}{{!}} {{{2}}}
{{!}} [[Image:{{{1}}} Icon.png]]
{{!}}width=6{{!}}
{{!}} [[{{{1}}}]]
{{!}} {{{2}}}p
}}
}}
{{#ifeq:{{{3|}}}||
{{#ifeq:{{{3|}}}||
Line 33: Line 13:
|}}
|}}
{{#ifeq:{{{3|}}}|||
{{#ifeq:{{{3|}}}|||
{{!}} [[Image:{{{3}}} Icon.png]]
{{!}} [[Image:{{{3}}} Icon.png]] {{!}}{{!}} [[{{{3}}}]] {{!}}{{!}} - {{!}}{{!}} {{{4}}}
{{!}} [[{{{3}}}]]
{{!}}width=6{{!}}
{{!}} {{{4}}}p
}}
}}
{{#ifeq:{{{5|}}}||
{{#ifeq:{{{5|}}}||
Line 43: Line 22:
|}}
|}}
{{#ifeq:{{{5|}}}|||
{{#ifeq:{{{5|}}}|||
{{!}} [[Image:{{{5}}} Icon.png]]
{{!}} [[Image:{{{5}}} Icon.png]] {{!}}{{!}} [[{{{5}}}]] {{!}}{{!}} - {{!}}{{!}} {{{6}}}
{{!}} [[{{{5}}}]]
{{!}}width=6{{!}}
{{!}} {{{6}}}p
}}
}}
{{#ifeq:{{{7|}}}||
{{#ifeq:{{{7|}}}||
Line 53: Line 31:
|}}
|}}
{{#ifeq:{{{7|}}}|||
{{#ifeq:{{{7|}}}|||
{{!}} [[Image:{{{7}}} Icon.png]]
{{!}} [[Image:{{{7}}} Icon.png]] {{!}}{{!}} [[{{{7}}}]] {{!}}{{!}} - {{!}}{{!}} {{{8}}}
{{!}} [[{{{7}}}]]
{{!}}width=6{{!}}
{{!}} {{{8}}}p
}}
}}
{{#ifeq:{{{9|}}}||
{{#ifeq:{{{9|}}}||
Line 66: Line 43:
{{!}}-
{{!}}-


{{!}}width=10{{!}}
{{!}} [[Image:{{{9}}} Icon.png]] {{!}}{{!}} [[{{{9}}}]] {{!}}{{!}} - {{!}}{{!}} {{{10}}}
{{!}} [[Image:{{{9}}} Icon.png]]
{{!}}width=6{{!}}
{{!}} [[{{{9}}}]]
{{!}} {{{10}}}p
}}
}}
{{#ifeq:{{{11|}}}||
{{#ifeq:{{{11|}}}||
Line 77: Line 52:
|}}
|}}
{{#ifeq:{{{11|}}}|||
{{#ifeq:{{{11|}}}|||
{{!}} [[Image:{{{11}}} Icon.png]]
{{!}} [[Image:{{{11}}} Icon.png]] {{!}}{{!}} [[{{{11}}}]] {{!}}{{!}} - {{!}}{{!}} {{{12}}}
{{!}} [[{{{11}}}]]
{{!}}width=6{{!}}
{{!}} {{{12}}}p
}}
}}
{{#ifeq:{{{13|}}}||
{{#ifeq:{{{13|}}}||
Line 87: Line 61:
|}}
|}}
{{#ifeq:{{{13|}}}|||
{{#ifeq:{{{13|}}}|||
{{!}} [[Image:{{{13}}} Icon.png]]
{{!}} [[Image:{{{13}}} Icon.png]] {{!}}{{!}} [[{{{13}}}]] {{!}}{{!}} - {{!}}{{!}} {{{14}}}
{{!}} [[{{{13}}}]]
{{!}}width=6{{!}}
{{!}} {{{14}}}p
}}
}}
{{#ifeq:{{{15|}}}||
{{#ifeq:{{{15|}}}||
Line 97: Line 70:
|}}
|}}
{{#ifeq:{{{15|}}}|||
{{#ifeq:{{{15|}}}|||
{{!}} [[Image:{{{15}}} Icon.png]]
{{!}} [[Image:{{{15}}} Icon.png]] {{!}}{{!}} [[{{{15}}}]] {{!}}{{!}} - {{!}}{{!}} {{{16}}}
{{!}} [[{{{15}}}]]
{{!}}width=6{{!}}
{{!}} {{{16}}}p
}}
{{#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 107: Line 313:
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
{{Shopkeeper Inventory
  |Caption=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 116: Line 329:


== Usage ==
== 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.
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 124: Line 337:
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Shopkeeper Inventory
{{Shopkeeper Inventory
  |Caption=Rewards
  | Caption=Spell Components
  |Bonecrunch's Hammer|50,000
  | Lead Scarab | 10p
  |Burnja's Board with Nails|1,000
| Iron Scarab | 50p
  |Drudge Scrying Orb|500
| Copper Scarab | 100p
  |Protective Drudge Charm|250
  | Silver Scarab | 250p
  |Scroll of Flame Chain|100
  | Gold Scarab | 500p
  | Pyreal Scarab | 1,000p
  | Platinum Scarab | 40,000p
}}
}}
</pre>
</pre>
Line 136: Line 351:


{{Shopkeeper Inventory
{{Shopkeeper Inventory
  |Caption=Rewards
  | Caption=Spell Components
  |Bonecrunch's Hammer|50,000
  | Lead Scarab | 10p
  |Burnja's Board with Nails|1,000
| Iron Scarab | 50p
  |Drudge Scrying Orb|500
| Copper Scarab | 100p
  |Protective Drudge Charm|250
  | Silver Scarab | 250p
  |Scroll of Flame Chain|100
  | 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