Template:Store At A Glance: Difference between revisions
Jump to navigation
Jump to search
m (fixing type errors) |
(Logic and documentation update) |
||
| Line 18: | Line 18: | ||
}} |
}} |
||
|- bgcolor="#FFFFFF" |
|- bgcolor="#FFFFFF" |
||
| valign="top" |
{{#ifeq:{{lc:{{{Owner}}}}}|n||{{!}} valign="top"{{!}} Owner {{!}}{{!}} align="center" {{!}} {{#if: {{{Owner|}}} | {{#ifeq: {{lc:{{{Owner}}}}}|n| ''None'' |[[{{{Owner}}}]]}} | ''Unknown''}}{{#if: {{{Owner2|}}} | and [[{{{Owner2}}}]] | }}}} |
||
|- bgcolor="#FFFFFF" |
|- bgcolor="#FFFFFF" |
||
| valign="top"| # of Rooms || align="center" | {{#if: {{{NumRooms|}}} | {{{NumRooms}}} | ''Unknown''}} |
| valign="top"| # of Rooms || align="center" | {{#if: {{{NumRooms|}}} | {{{NumRooms}}} | ''Unknown''}} |
||
| Line 37: | Line 37: | ||
<includeonly>[[Category:Shops]]{{#If:{{{restrict|}}}|[[Category: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]]}}{{#If:{{{Fest|}}}|[[Category:Merchants]]{{#If:{{IfOR|{{#Ifeq:{{lc:{{{Fest}}}}}|y|1}}|{{#Ifeq:{{lc:{{{Fest}}}}}|w|1}}}}||[[Category:{{{Fest}}} Shop]]}}}}</includeonly><noinclude> |
<includeonly>[[Category:Shops]]{{#If:{{{restrict|}}}|[[Category: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]]}}{{#If:{{{Fest|}}}|[[Category:Merchants]]{{#If:{{IfOR|{{#Ifeq:{{lc:{{{Fest}}}}}|y|1}}|{{#Ifeq:{{lc:{{{Fest}}}}}|w|1}}}}||[[Category:{{{Fest}}} Shop]]}}}}</includeonly><noinclude> |
||
==Usage Documentaton== |
==Usage Documentaton== |
||
{| border=1 cellpadding=3 |
|||
!Variable!!Supported Variables!!Usage |
|||
|- |
|||
|Province|||Zoluren/Therengia/Ilithi/Qi'Reshalia/Forfedhdar||Province of the shop, unless it's a festival shop then leave it blank |
|||
|- |
|||
|Town|| ||The town which the shop is in, or leave blank if festival |
|||
|- |
|||
|MapNumber|| ||Which of Ranik's maps the shop is on, or blank if festival |
|||
|- |
|||
|Owner#||n/(owner)||List the NPC owner, or put "n" if none. |
|||
|- |
|||
|NumRooms||#||The number of rooms in the shop |
|||
|- |
|||
| ⚫ | |||
|- |
|||
|levelres||#||If there's a level restriction on entering, list it |
|||
|- |
|||
|Store Type#||Alchemy/Armor/Barber/Casino/Clothing/Cosmetics/Drink/Dye/Embroidery/<br>Engraving/Face Painting/Festival/Fishing Supply/Fletching/Florist/<br>Food/Forging Supply/Gem/General/(guild)/Heraldry/Herb/Horse/Housing/<br>Jewelry/Locksmithing/MAMAS/Magical Items/Map/Miscellaneous/Music/<br>Origami/Perfume/Pet/Repair/Shield/Tack/Tanning/Tattoo/Tobacco/<br>Trinket/Weapon||List the types of items sold, for category inclusion |
|||
|- |
|||
| ⚫ | |||
|- |
|||
| ⚫ | |||
|} |
|||
| ⚫ | |||
Copy and paste the following to your page: |
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 = |
|Owner2 = |
||
|NumRooms = |
|NumRooms = |
||
|restrict = |
|||
| ⚫ | |||
|restrict2 = |
|restrict2 = |
||
|levelres = |
|||
|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 Type3 = |
|||
..... |
|||
|Store |
|Store Type4 = |
||
|Store Type5 = |
|||
| ⚫ | |||
|Store Type6 = |
|||
|Fest2 = * is unknown, put "y". If they are a wandering merchant, put W. |
|||
|Store Type7 = |
|||
|Fest3 = * The additional slots are for use when the same merchant shows up with the *same wares* at multiple festivals) |
|||
| |
|Store Type8 = |
||
|Store Type9 = |
|||
| ⚫ | |||
|Store Type10 = |
|||
|Fest = |
|||
|Fest2 = |
|||
|Fest3 = |
|||
|Fest4 = |
|||
|Coin = |
|||
}} |
}} |
||
</pre> |
</pre> |
||
Please delete those fields marked with * if they are not valid.<br> |
|||
| ⚫ | |||
[[Category:Shop Templates]] |
[[Category:Shop Templates]] |
||
Revision as of 17:46, 3 June 2008
| {{{Store Name}}} | |
|---|---|
| Province | Unknown |
| Town | Unknown |
| Map | Unknown |
| Owner | Unknown |
| # of Rooms | Unknown |
| Store Type | Unknown |
| Restrictions | |
This store only accepts ERROR!!!!
| |
Usage Documentaton
| Variable | Supported Variables | Usage |
|---|---|---|
| Province | Zoluren/Therengia/Ilithi/Qi'Reshalia/Forfedhdar | Province of the shop, unless it's a festival shop then leave it blank |
| Town | The town which the shop is in, or leave blank if festival | |
| MapNumber | Which of Ranik's maps the shop is on, or blank if festival | |
| Owner# | n/(owner) | List the NPC owner, or put "n" if none. |
| NumRooms | # | The number of rooms in the shop |
| restrict# | (guild)/(race)/(sect) | is at least part of it restricted by race, guild or level? if so, list it, or put level for level restricted |
| levelres | # | If there's a level restriction on entering, list it |
| Store Type# | Alchemy/Armor/Barber/Casino/Clothing/Cosmetics/Drink/Dye/Embroidery/ Engraving/Face Painting/Festival/Fishing Supply/Fletching/Florist/ Food/Forging Supply/Gem/General/(guild)/Heraldry/Herb/Horse/Housing/ Jewelry/Locksmithing/MAMAS/Magical Items/Map/Miscellaneous/Music/ Origami/Perfume/Pet/Repair/Shield/Tack/Tanning/Tattoo/Tobacco/ Trinket/Weapon |
List the types of items sold, for category inclusion |
| Fest# | y/w/(festival) | 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". If this incarnation is not associated with a shop or a specific festival, put "w". |
| Coin | Kronars/Lirums/Dokoras | For festival or rare merchants, what currency they accept |
Please leave fields BLANK if they are unknown.
Copy and paste the following to your page:
{{Store At A Glance
|Store Name =
|Province =
|Town =
|MapNumber =
|Owner =
|Owner2 =
|NumRooms =
|restrict =
|restrict2 =
|levelres =
|Store Type =
|Store Type2 =
|Store Type3 =
|Store Type4 =
|Store Type5 =
|Store Type6 =
|Store Type7 =
|Store Type8 =
|Store Type9 =
|Store Type10 =
|Fest =
|Fest2 =
|Fest3 =
|Fest4 =
|Coin =
}}