Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Category adder will now ignore y or w festival entries)
(Adapting incomplete handling to accept w)
Line 1: Line 1:
<includeonly>
<includeonly>
<!-- Adds Incomplete template if non-optional information is missing-->
<!-- Adds Incomplete template if non-optional information is missing-->
{{#If:{{IfAND|{{IfOR|{{{Province|}}}|{{{Fest|}}}}}|{{IfOR|{{{Town|}}}|{{{Fest|}}}}}|{{IfOR|{{{MapNumber|}}}|{{{Fest|}}}}}|{{{Owner|}}}|{{{NumRooms|}}}|{{{Store Type|}}}|{{#If:{{{Fest|}}}|{{#Ifeq:|{{lc:{{{Fest}}}}}|y||1}}|1}}}}||{{Incomplete}}}}
{{#If:{{IfAND|{{IfOR|{{{Province|}}}|{{{Fest|}}}}}|{{IfOR|{{{Town|}}}|{{{Fest|}}}}}|{{IfOR|{{{MapNumber|}}}|{{{Fest|}}}}}|{{{Owner|}}}|{{{NumRooms|}}}|{{{Store Type|}}}|{{#If:{{{Fest|}}}|{{#switch:{{lc:{{{Fest}}}}}|y|w=1}}|1}}}}||{{Incomplete}}}}
{| cellpadding="2" style="float:right; width:300px; background:#BAD0EF; margin-left:1em; border-spacing:1px;"
{| cellpadding="2" style="float:right; width:300px; background:#BAD0EF; margin-left:1em; border-spacing:1px;"
|-
|-

Revision as of 21:35, 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.