Template:Store At A Glance: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added support for disabling province and map fields)
No edit summary
Line 13: Line 13:
{{#switch:{{lc:{{{MapNumber}}}}} | n | -= | {{#If:{{{Fest|}}}| | {{!}}valign="top"{{!}} Map {{!}}{{!}} align="center" {{!}} {{#if: {{{MapNumber|}}} | {{rmap|{{{MapNumber}}}| Ranik's Map {{{MapNumber}}}}} | <includeonly>[[missing::Infobox entry on map location|''Unknown'']]</includeonly>}}}}}}
{{#switch:{{lc:{{{MapNumber}}}}} | n | -= | {{#If:{{{Fest|}}}| | {{!}}valign="top"{{!}} Map {{!}}{{!}} align="center" {{!}} {{#if: {{{MapNumber|}}} | {{rmap|{{{MapNumber}}}| Ranik's Map {{{MapNumber}}}}} | <includeonly>[[missing::Infobox entry on map location|''Unknown'']]</includeonly>}}}}}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#if:{{#switch:{{lc:{{{Owner}}}}}|n|-=1|}}{{#switch:{{lc:{{{Owner}}}}}|n|-=1|}}||{{!}} valign="top"{{!}} Owner {{!}}{{!}} align="center" {{!}} {{#if: {{{Owner|}}} | {{#arraymap:{{{Owner}}}|,|x|[[x]]|,&ensp;}}| ''Unknown''<includeonly>[[missing::Infobox entry on owner| ]]</includeonly>}}}}
{{#if:{{#switch:{{lc:{{{Owner}}}}}|n|-=1|}}||{{!}} valign="top"{{!}} Owner {{!}}{{!}} align="center" {{!}} {{#if: {{{Owner|}}} | {{#arraymap:{{{Owner}}}|,|x|[[x]]|,&ensp;}}| ''Unknown''<includeonly>[[missing::Infobox entry on owner| ]]</includeonly>}}}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| # of Rooms || align="center" | {{#if: {{{NumRooms|}}} | {{{NumRooms}}} | ''Unknown''}}
| valign="top"| # of Rooms || align="center" | {{#if: {{{NumRooms|}}} | {{{NumRooms}}} | ''Unknown''}}

Revision as of 02:48, 6 February 2011

Store At A Glance
Province Unknown
Town
Map
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 -/(town) The town which the shop is in, put "n" to disable, or leave blank if festival
MapNumber Which of Ranik's maps the shop is on, or blank if festival
Owner -/(owner) List the NPC owners, with a single comma and no spaces between multiple ones, 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. If multiple types, list each with a single comma between each, without any spaces.
Store Type Alchemy/Armor/Barber/Casino/Clothing/Container/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. If multiple types, list each with a single comma between each, without any spaces.
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". If multiple festivals, list each with a single comma between each, without any spaces.
Coin Kronars/Lirums/Dokoras/tokens/ltb For shops with a different currency than the province, festival or rare merchants, what currency they accept. (optional)

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            =
|NumRooms         =
|restrict         =
|levelres         =
|Store Type       =
|Fest             =
|Coin             =
}}