Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
m (Minor upgrade to expand beyond guild restricted shops to race restricted ones as well.)
Line 23: Line 23:
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Store Type || align="center" |{{#If:{{{Store Type|}}}|[[:Category:{{{Store Type}}} Shops|{{{Store Type}}}]]|''Unknown''}}{{#if:{{{Store Type2|}}}|, [[:Category:{{{Store Type2}}} Shops|{{{Store Type2}}}]]}}{{#if:{{{Store Type3|}}}|, [[:Category:{{{Store Type3}}} Shops|{{{Store Type3}}}]]}}{{#if:{{{Store Type4|}}}|, [[:Category:{{{Store Type4}}} Shops|{{{Store Type4}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type5}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type6}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type7}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type8}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type9}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type10}}}]]}}
| valign="top"| Store Type || align="center" |{{#If:{{{Store Type|}}}|[[:Category:{{{Store Type}}} Shops|{{{Store Type}}}]]|''Unknown''}}{{#if:{{{Store Type2|}}}|, [[:Category:{{{Store Type2}}} Shops|{{{Store Type2}}}]]}}{{#if:{{{Store Type3|}}}|, [[:Category:{{{Store Type3}}} Shops|{{{Store Type3}}}]]}}{{#if:{{{Store Type4|}}}|, [[:Category:{{{Store Type4}}} Shops|{{{Store Type4}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type5}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type6}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type7}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type8}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type9}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type10}}}]]}}
|- bgcolor="#FFFFFF"
|- {{#If:{{IfOR|{{{guildres|}}}|{{{guildres2|}}}|{{{levelres|}}}}}|bgcolor="#FFFFFF"|valign="center"}}
{{#If:{{IfOR|{{{guildres|}}}|{{{guildres2|}}}|{{{levelres|}}}}}|{{!}}valign=top{{!}}Restrictions{{!}}{{!}}align=center{{!}}{{#If:{{{guildres|}}}|[[{{{guildres}}}]]}}{{#If:{{{guildres2|}}}|, [[{{{guildres2}}}]]}}{{#If:{{{levelres|}}}|{{#If:{{{guildres|}}}|, }}}}{{#If:{{{levelres|}}}|{{#switch:{{{levelres}}}|1|21|31|41|51|61|71|81|91|101|121|131|141={{{levelres}}}st circle|2|22|32|42|52|62|72|82|92|102|122|132|142={{{levelres}}}nd circle|1|23|33|43|53|63|73|83|93|103|123|133|143={{{levelres}}}rd circle|{{{levelres}}}th circle}}}}}}
{{#If:{{IfOR|{{{restrict|}}}|{{{restrict2|}}}|{{{levelres|}}}}}|{{!}}valign=top{{!}}Restrictions{{!}}{{!}}align=center{{!}}{{#If:{{{restrict|}}}|[[{{{restrict}}}]]}}{{#If:{{{restrict2|}}}|, [[{{{restrict2}}}]]}}{{#If:{{{levelres|}}}|{{#If:{{{restrict|}}}|, }}}}{{#If:{{{levelres|}}}|{{#switch:{{{levelres}}}|1|21|31|41|51|61|71|81|91|101|121|131|141={{{levelres}}}st circle|2|22|32|42|52|62|72|82|92|102|122|132|142={{{levelres}}}nd circle|1|23|33|43|53|63|73|83|93|103|123|133|143={{{levelres}}}rd circle|{{{levelres}}}th circle}}}}}}
|-valign="center"
|-valign="center"
|align="center" colspan="2"|<div style="font-size:16pt">This store only accepts {{#If:{{{Coin|}}}|{{#switch:{{lc:{{{Coin}}}}}|kronar|kronars = Kronars|lirum|lirums = Lirums|dokora|dokoras=Dokoras|Coin type error!}}|'''{{#switch:{{{Province}}}
|align="center" colspan="2"|<div style="font-size:16pt">This store only accepts {{#If:{{{Coin|}}}|{{#switch:{{lc:{{{Coin}}}}}|kronar|kronars = Kronars|lirum|lirums = Lirums|dokora|dokoras=Dokoras|Coin type error!}}|'''{{#switch:{{{Province}}}
Line 35: Line 35:
}}}}'''</div>
}}}}'''</div>
|}<!--Adds to categories-->
|}<!--Adds to categories-->
[[Category:Shops]]{{#If:{{{guildres|}}}|[[Category:Guild-Restricted Shops]]}}{{#If:{{{levelres|}}}|[[Category:Level-Restricted Shops]]}}{{#if:{{{Province|}}}|[[Category:{{{Province}}} Shops]]}}{{#if:{{{Town|}}}|[[Category:{{{Town}}} Shops]]}}{{#if:{{{Store Type|}}}|[[Category:{{{Store Type}}} Shops]]}}{{#if:{{{Store Type2|}}}|[[Category:{{{Store Type2}}} Shops]]}}{{#if:{{{Store Type3|}}}|[[Category:{{{Store Type3}}} Shops]]}}{{#if:{{{Store Type4|}}}|[[Category:{{{Store Type4}}} Shops]]}}{{#if:{{{Store Type5|}}}|[[Category:{{{Store Type5}}} Shops]]}}{{#if:{{{Store Type6|}}}|[[Category:{{{Store Type6}}} Shops]]}}{{#if:{{{Store Type7|}}}|[[Category:{{{Store Type7}}} Shops]]}}{{#if:{{{Store Type8|}}}|[[Category:{{{Store Type8}}} Shops]]}}{{#if:{{{Store Type9|}}}|[[Category:{{{Store Type9}}} Shops]]}}{{#if:{{{Store Type10|}}}|[[Category:{{{Store Type10}}} Shops]]}}{{#If:{{{Fest|}}}|[[Category:Merchants]]{{#If:{{IfOR|{{#Ifeq:{{lc:{{{Fest}}}}}|y|1}}|{{#Ifeq:{{lc:{{{Fest}}}}}|w|1}}}}||[[Category:{{{Fest}}} Shop]]}}}}</includeonly><noinclude>
<includeonly>[[Category:Shops]]{{#If:{{{restrict|}}}|[[Category:Restricted Shops]]}}{{#If:{{{levelres|}}}|[[Category:Level-Restricted Shops]]}}{{#if:{{{Province|}}}|[[Category:{{{Province}}} Shops]]}}{{#if:{{{Town|}}}|[[Category:{{{Town}}} Shops]]}}{{#if:{{{Store Type|}}}|[[Category:{{{Store Type}}} Shops]]}}{{#if:{{{Store Type2|}}}|[[Category:{{{Store Type2}}} Shops]]}}{{#if:{{{Store Type3|}}}|[[Category:{{{Store Type3}}} Shops]]}}{{#if:{{{Store Type4|}}}|[[Category:{{{Store Type4}}} Shops]]}}{{#if:{{{Store Type5|}}}|[[Category:{{{Store Type5}}} Shops]]}}{{#if:{{{Store Type6|}}}|[[Category:{{{Store Type6}}} Shops]]}}{{#if:{{{Store Type7|}}}|[[Category:{{{Store Type7}}} Shops]]}}{{#if:{{{Store Type8|}}}|[[Category:{{{Store Type8}}} Shops]]}}{{#if:{{{Store Type9|}}}|[[Category:{{{Store Type9}}} Shops]]}}{{#if:{{{Store Type10|}}}|[[Category:{{{Store Type10}}} Shops]]}}{{#If:{{{Fest|}}}|[[Category:Merchants]]{{#If:{{IfOR|{{#Ifeq:{{lc:{{{Fest}}}}}|y|1}}|{{#Ifeq:{{lc:{{{Fest}}}}}|w|1}}}}||[[Category:{{{Fest}}} Shop]]}}}}</includeonly><noinclude>
==Usage Documentaton==
==Usage Documentaton==
Copy and paste the following to your page:
Copy and paste the following to your page:
Line 47: Line 47:
|Owner2 = *
|Owner2 = *
|NumRooms =
|NumRooms =
|guildres = * (is at least part of it restricted to one guild? if so, list it)
|restrict = * (is at least part of it restricted by race, guild or level? if so, list it, or put level for level restricted)
|guildres2 = *
|restrict2 = *
|levelres = * (is at least part of it restricted to a minimum level, either of a specific guild or just in general? if so list it as a number)
|levelres = * (is at least part of it restricted to a minimum level, either of a specific guild or just in general? if so list it as a number)
|Store Type =
|Store Type =

Revision as of 22:13, 31 May 2008

{{{Store Name}}}
Province Unknown
Town Unknown
Map Unknown
Owner Unknown
# of Rooms Unknown
Store Type Unknown
Restrictions
This store only accepts ERROR!!!!

Usage Documentaton

Copy and paste the following to your page:

{{Store At A Glance
|Store Name       = 
|Province         = 
|Town             = 
|MapNumber        = 
|Owner            = (if none, put n)
|Owner2           = *
|NumRooms         = 
|restrict         = * (is at least part of it restricted by race, guild or level? if so, list it, or put level for level restricted)
|restrict2        = *
|levelres         = * (is at least part of it restricted to a minimum level, either of a specific guild or just in general? if so list it as a number)
|Store Type       = 
|Store Type2      = *
.....
|Store Type10     = *
|Fest             = * (If this is a festival shop or a merchant that is not always available, put the festival name, or if it 
|Fest2            = * is unknown, put "y". If they are a wandering merchant, put W.
|Fest3            = * The additional slots are for use when the same merchant shows up with the *same wares* at multiple festivals)
|Fest4            = *
|Coin             = (For festival or rare merchants, what currency they accept)
}}

Please delete those fields marked with * if they are not valid.
Please leave other fields BLANK if they are unknown.