Template:Store At A Glance: Difference between revisions
Jump to navigation
Jump to search
(Update of category handling logic) |
m (test) |
||
| Line 1: | Line 1: | ||
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{# |
<includeonly><!-- Adds Incomplete template if non-optional information is missing-->{{#if:{{IfAND|{{#If:{{{Province|}}}{{{Fest|}}}|1}}|{{#If:{{{Town|}}}{{{Fest|}}}|1}}|{{#If:{{{MapNumber|}}}{{{Fest|}}}|1}}|{{{Owner|}}}|{{{NumRooms|}}}|{{{Store Type|}}}}}||{{Incomplete|There is information missing from Store At A Glance}}}}</includeonly> |
||
{| 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" | '''{{#If:{{{Store Name|}}}|{{{Store Name}}}|{{PAGENAME}}}}''' |
! colspan="2" | '''{{#If:{{{Store Name|}}}|{{{Store Name}}}|{{PAGENAME}}}}''' |
||
|- bgcolor="#FFFFFF" |
|- bgcolor="#FFFFFF" |
||
{{# |
{{#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}}}]]}}}}}} |
||
{{!}}- bgcolor="#FFFFFF" |
|||
{{#Ifeq:{{#If:{{{Province|}}}|1|0}}{{# |
{{#Ifeq:{{#If:{{{Province|}}}|1|0}}{{#if:{{{Fest|}}}|1|0}}|01|| |
||
{{!}}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'' }} |
||
}} |
}} |
||
Revision as of 19:07, 8 June 2008
| Store At A Glance | |
|---|---|
| Province | Unknown |
| Town | Unknown |
| Map | Unknown |
| Owner | Unknown |
| # of Rooms | Unknown |
| Store Type | Unknown |
This store only accepts ERROR!!!!
| |
Usage Documentaton
| Variable | Supported Values | 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)/level | Is at least part of the store restricted by race, guild, sect, or level? List it, or leave blank and fill in the next variable for level restricted |
| levelres | # | If there's a level restriction, 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 neither associated with a store nor 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 =
|restrict3 =
|restrict4 =
|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 =
}}