Template:Store At A Glance/Old: Difference between revisions

From Elanthipedia
< Template:Store At A Glance
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| cellpadding="2" style="float:right; width:250px; background:#BAD0EF; margin-left:1em; border-spacing:1px;"
<!-- Adds Incomplete template if non-optional information is missing-->
{{#if:{{IfAND|{{{Province|}}}|{{{Town|}}}|{{{MapNumber|}}}|{{{Owner|}}}|{{{NumRooms|}}}|{{{Store Type|}}}}}||{{Incomplete}}}}
{| cellpadding="2" style="float:right; width:300px; background:#BAD0EF; margin-left:1em; border-spacing:1px;"
|-
|-
! colspan="2" | '''{{{Store Name}}}'''
! colspan="2" | '''{{{Store Name}}}'''
Line 12: Line 10:
| valign="top"| Map || align="center" | {{#if: {{{MapNumber|}}} | [[RanikMap{{{MapNumber}}} | Ranik's Map {{{MapNumber}}}]] | ''Unknown''}}
| valign="top"| Map || align="center" | {{#if: {{{MapNumber|}}} | [[RanikMap{{{MapNumber}}} | Ranik's Map {{{MapNumber}}}]] | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Owner || align="center" | {{#if: {{{Owner|}}} | [[{{{Owner}}}]] | ''Unknown''}}{{#if: {{{Owner2|}}} | &nbsp;and [[{{{Owner2}}}]] | }}
| valign="top"| Owner || align="center" | {{#if: {{{Owner|}}} | [[{{{Owner}}}]] | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| # of Rooms || align="center" | {{#if: {{{NumRooms|}}} | {{{NumRooms}}} | ''Unknown''}}
| valign="top"| # of Rooms || align="center" | {{#if: {{{NumRooms|}}} | {{{NumRooms}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Store Type || align="center" |{{#If:{{{Store Type|}}}|[[:Category:{{{Store Type}}} Shops|{{{Store Type}}}]]|''Unknown''}}{{#if:{{{Store Type2|}}}|, [[:Category:{{{Store Type2}}} Shops|{{{Store Type2}}}]]}}{{#if:{{{Store Type3|}}}|, [[:Category:{{{Store Type3}}} Shops|{{{Store Type3}}}]]}}{{#if:{{{Store Type4|}}}|, [[:Category:{{{Store Type4}}} Shops|{{{Store Type4}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type5}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type6}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type7}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type8}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type9}}}]]}}{{#if:{{{Store Type5|}}}|, [[:Category:{{{Store Type5}}} Shops|{{{Store Type10}}}]]}}
| valign="top"| Store Type || align="center" | {{#if: {{{Store Type|}}} | [[:Category:{{{Store Type}}} Shops | {{{Store Type}}}]] | ''Unknown''}} {{#if: {{{Store Type2|}}} |, [[:Category:{{{Store Type2}}} Shops | {{{Store Type2}}}]] | }} {{#if: {{{Store Type3|}}} |, [[:Category:{{{Store Type3}}} Shops | {{{Store Type3}}}]] | }}{{#if: {{{Store Type4|}}} |, [[:Category:{{{Store Type4}}} Shops | {{{Store Type4}}}]] | }}
|- bgcolor="#FFFFFF"
|- valign="center"
|align="center" colspan="2"|<div style="font-size:16pt">This store only accepts '''{{#switch: {{{Province}}}
{{#If:{{IfOR|{{{guildres|}}}|{{{levelres|}}}}}|{{!}}valign="top"{{!}}Restrictions{{!}}{{!}}align="center"{{!}}}}{{#If:{{{guildres|}}}|[[{{{guildres}}}]]}}{{#If:{{{guildres2|}}}|, [[{{{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|}}}|{{{levelres|}}}}}|{{!}}- valign="center"&#10;}}|align="center" colspan="2"|<div style="font-size:16pt">This store only accepts '''{{#switch:{{{Province}}}
| Therengia = Lirums
| Therengia = Lirums
| Ilithi = Dokoras
| Ilithi = Dokoras
Line 25: Line 22:
| Zoluren = Kronars
| Zoluren = Kronars
| Forfedhdar = Dokoras
| Forfedhdar = Dokoras
| <nowiki>ERROR!!!!</nowiki>
}}'''</div>
}}'''</div>
|}[[Category: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]] | }}</includeonly>
|}

<!--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]]}}
</includeonly>
<noinclude>
<noinclude>
==Use==
==Usage==

Copy and paste the following to your page:
<pre>
<pre>
{{Store At A Glance
{{Store At A Glance |
|Store Name =
Store Name = |
|Province =
Province = |
|Town =
Town = |
|MapNumber =
MapNumber = |
|Owner =
Owner = |
|Owner2 = *
NumRooms = |
|NumRooms =
Store Type = |
Store Type2 = |
|guildres = (is at least part of it restricted to one guild? if so, list it)*
|guildres2 = *
Store Type3 = |
Store Type4 = |
|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 Type1 = *
.....
|Store Type10 = *
}}
}}
</pre>
</pre>


Please delete those fields marked with &#43; if they are not valid.<br>
Please leave unknown fields '''BLANK'''!
Please leave other fields '''BLANK''' if they are unknown.


Only include additional Store Types if they apply.
[[Category:Shop Templates]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Shop templates]]
</noinclude>
</noinclude>

Latest revision as of 18:16, 23 May 2015


Usage

{{Store At A Glance |    
Store Name       =    |
Province         =    |
Town             =    |
MapNumber        =    |
Owner            =    |
NumRooms         =    |
Store Type       =    |
Store Type2      =    | 
Store Type3      =    | 
Store Type4      =    |
}}

Please leave unknown fields BLANK!

Only include additional Store Types if they apply.