Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (test of improvements)
mNo edit summary
Line 1: Line 1:
<includeonly><!-- 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|}}}|{{#switch:{{lc:{{{Fest}}}}}|y|w=1}}|1}}}}||{{Incomplete}}}}</includeonly>
<includeonly>
<!-- 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|}}}|{{#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;"
|-
|-
! colspan="2" | '''{{{Store Name}}}'''
! colspan="2" | '''{{{Store Name}}}'''
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#If:{{{Fest|}}}|{{!}} valign="center" style="padding-top: 0.5em"{{!}}Festival{{!}}{{!}}align="center" style="padding-top: 0.5em"{{!}}{{#switch:{{lc:{{{Fest}}}}}|y=''Unknown''|w=Rarely available|[[{{{Fest}}}]]{{#If:{{{Fest2|}}}|<br>[[{{{Fest2}}}]]}}{{#If:{{{Fest3|}}}|<br>[[{{{Fest3}}}]]}}{{#If:{{{Fest4|}}}|<br>[[{{{Fest4}}}]]}}}}}}
{{#If:{{{Fest|}}}|{{!}} valign="center" {{!}}Festival{{!}}{{!}}align="center" {{!}}{{#switch:{{lc:{{{Fest}}}}}|y=''Unknown''|w=Rarely available|[[{{{Fest}}}]]{{#If:{{{Fest2|}}}|<br>[[{{{Fest2}}}]]}}{{#If:{{{Fest3|}}}|<br>[[{{{Fest3}}}]]}}{{#If:{{{Fest4|}}}|<br>[[{{{Fest4}}}]]}}}}}}
{{#If:{{{Fest|}}}|{{!}}- bgcolor="#FFFFFF"}}
{{#If:{{{Fest|}}}|{{!}}- bgcolor="#FFFFFF"}}
{{#Ifeq:{{#If:{{{Province|}}}|1|0}}{{#If:{{{Fest|}}}|1|0}}|01||
{{#Ifeq:{{#If:{{{Province|}}}|1|0}}{{#If:{{{Fest|}}}|1|0}}|01||

Revision as of 21:56, 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!!!!

</includeonly>

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         = 
|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.