Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Updated the {{Incomplete}} handling to make exceptions for province, city, and mapnumber if fest is defined and not y. Also added in additional spaces for a merchant that appears at multiple festivals)
m (Debugging incomplete handling)
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|}}}|{{#Ifeq:|{{lc:{{{Fest}}}}}|y||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 20:20, 19 April 2008


Use

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 is unknown, put "y")
|Fest2            = (These additional slots are for use when the same merchant shows up with the *same wares* at multiple festivals)*
|Fest3            = *
|Fest4            = *
}}

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