Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(City, Province and map number will now vanish if they are empty and Fest is defined)
(Category adder will now ignore y or w festival entries)
Line 44: Line 44:
|}
|}
<!--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]]}}
[[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]]}}}}
{{#If:{{{Fest|}}}|[[Category:Merchants]]{{#Ifeq:{{lc:{{{Fest}}}}}|y||[[Category:{{{Fest}}} Shop]]}}}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Revision as of 21:23, 19 April 2008


Usage Documentaton

Copy and paste the following to your page:

{{Store At A Glance
|Store Name       = 
|Province         = 
|Town             = 
|MapNumber        = 
|Owner            = 
|Owner2           = *
|NumRooms         = 
|guildres         = * (is at least part of it restricted to one guild? if so, list it)
|guildres2        = *
|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.