Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (typo repair)
(Added currency override for wandering merchants, additional festival options, and extended documentation)
Line 6: Line 6:
! colspan="2" | '''{{{Store Name}}}'''
! colspan="2" | '''{{{Store Name}}}'''
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#If:{{{Fest|}}}|{{!}} valign="top"{{!}}Festival{{!}}{{!}}align="center" style="padding-top: 0.5em"{{!}}{{#Ifeq:{{lc:{{{Fest}}}}}|y|''Unknown''|[[{{{Fest}}}]]{{#If:{{{Fest2|}}}|<br>[[{{{Fest2}}}]]}}{{#If:{{{Fest3|}}}|<br>[[{{{Fest3}}}]]}}{{#If:{{{Fest4|}}}|<br>[[{{{Fest4}}}]]}}}}}}
{{#If:{{{Fest|}}}|{{!}} valign="top"{{!}}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|}}}|{{!}}- bgcolor="#FFFFFF"}}
{{#If:{{{Fest|}}}|{{!}}- bgcolor="#FFFFFF"}}
| valign="top"| Province || align="center" {{#If:{{{Fest|}}}||style="padding-top: 0.5em"}} | {{#if: {{{Province|}}} | [[{{{Province}}}]] | ''Unknown'' }}
| valign="top"| Province || align="center" {{#If:{{{Fest|}}}||style="padding-top: 0.5em"}} | {{#if: {{{Province|}}} | [[{{{Province}}}]] | ''Unknown'' }}
Line 22: Line 22:
{{#If:{{IfOR|{{{guildres|}}}|{{{guildres2|}}}|{{{levelres|}}}}}|{{!}}valign=top{{!}}Restrictions{{!}}{{!}}align=center{{!}}{{#If:{{{guildres|}}}|[[{{{guildres}}}]]}}{{#If:{{{guildres2|}}}|,&nbsp;[[{{{guildres2}}}]]}}{{#If:{{{levelres|}}}|{{#If:{{{guildres|}}}|,&nbsp;}}}}{{#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|{{{guildres|}}}|{{{guildres2|}}}|{{{levelres|}}}}}|{{!}}valign=top{{!}}Restrictions{{!}}{{!}}align=center{{!}}{{#If:{{{guildres|}}}|[[{{{guildres}}}]]}}{{#If:{{{guildres2|}}}|,&nbsp;[[{{{guildres2}}}]]}}{{#If:{{{levelres|}}}|{{#If:{{{guildres|}}}|,&nbsp;}}}}{{#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|{{{guildres|}}}|{{{guildres2|}}}|{{{levelres|}}}}}|{{!}}-valign="center"}}
{{#If:{{IfOR|{{{guildres|}}}|{{{guildres2|}}}|{{{levelres|}}}}}|{{!}}-valign="center"}}
|align="center" colspan="2"|<div style="font-size:16pt">This store only accepts '''{{#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}}}
| Therengia = Lirums
| Therengia = Lirums
| Ilithi = Dokoras
| Ilithi = Dokoras
Line 29: Line 29:
| Forfedhdar = Dokoras
| Forfedhdar = Dokoras
| <nowiki>ERROR!!!!</nowiki>
| <nowiki>ERROR!!!!</nowiki>
}}'''</div>
}}}}'''</div>
|}
|}
<!--Adds to categories-->
<!--Adds to categories-->
Line 36: Line 36:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
==Usage Documentaton==
==Use==
Copy and paste the following to your page:
Copy and paste the following to your page:
<pre>
<pre>
Line 47: Line 47:
|Owner2 = *
|Owner2 = *
|NumRooms =
|NumRooms =
|guildres = (is at least part of it restricted to one guild? if so, list it)*
|guildres = * (is at least part of it restricted to one guild? if so, list it)
|guildres2 = *
|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)*
|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 =
|Store Type2 = *
|Store Type2 = *
.....
.....
|Store Type10 = *
|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")
|Fest = * (If this is a festival shop or a merchant that is not always available, put the festival name, or if it
|Fest2 = (These additional slots are for use when the same merchant shows up with the *same wares* at multiple festivals)*
|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)
|Fest3 = *
|Fest4 = *
|Fest4 = *
|Coin = (For festival or rare merchants, what currency they accept)
}}
}}
</pre>
</pre>

Revision as of 20:50, 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.