Difference between revisions of "Template:Merchant"

*>Blue Donkey Kong
*>Blue Donkey Kong
Line 4: Line 4:
 
:''[[{{{2}}}|{{{2}}} region]]''
 
:''[[{{{2}}}|{{{2}}} region]]''
 
}}| guild = [[{{#switch:{{lc:{{{2|}}}}}|alchemy|alchemist|alchemists' = Alchemists' Guild|bonecraft|boneworker|boneworkers' = Boneworkers' Guild|clothcraft|weaver|weavers' = Weavers' Guild|cooking|culinarian|culinarians' = Culinarians' Guild|fishing|fisherman|fishermen|fishermans' = Fishermans' Guild|goldsmithing|goldsmith|goldsmiths' = Goldsmiths' Guild|leathercraft|tanner|tanners' = Tanner's Guild|smithing|blacksmith|blacksmiths' = Blacksmiths' Guild|woodworking|carpenter|carpenters' = Carpenters' Guild|#default = Guild Merchant}}]]| | unknown | ??? = ''Unknown'' <includeonly>{{Information Needed}}</includeonly>| #default = {{{1}}}}}{{#if:{{{hours|}}}|<nowiki/>
 
}}| guild = [[{{#switch:{{lc:{{{2|}}}}}|alchemy|alchemist|alchemists' = Alchemists' Guild|bonecraft|boneworker|boneworkers' = Boneworkers' Guild|clothcraft|weaver|weavers' = Weavers' Guild|cooking|culinarian|culinarians' = Culinarians' Guild|fishing|fisherman|fishermen|fishermans' = Fishermans' Guild|goldsmithing|goldsmith|goldsmiths' = Goldsmiths' Guild|leathercraft|tanner|tanners' = Tanner's Guild|smithing|blacksmith|blacksmiths' = Blacksmiths' Guild|woodworking|carpenter|carpenters' = Carpenters' Guild|#default = Guild Merchant}}]]| | unknown | ??? = ''Unknown'' <includeonly>{{Information Needed}}</includeonly>| #default = {{{1}}}}}{{#if:{{{hours|}}}|<nowiki/>
:''Open {{{hours}}}''
+
'''Open {{{hours}}}'''
 
}}{{#if:{{{holiday|}}}|<nowiki/>
 
}}{{#if:{{{holiday|}}}|<nowiki/>
:''Guilds are no longer closed on certain days.''
+
''Guilds are no longer closed on certain days.''
 
}}{{#switch:{{lc:{{{restocked|}}}}}|true|yes|false|no = <nowiki/>
 
}}{{#switch:{{lc:{{{restocked|}}}}}|true|yes|false|no = <nowiki/>
:''{{#switch:{{lc:{{{restocked|}}}}}|true|yes = Automatically restocked.|false|yes|no = Not automatically restocked.}}''
+
''{{#switch:{{lc:{{{restocked|}}}}}|true|yes = Automatically restocked.|false|yes|no = Not automatically restocked.}}''
 
}}{{#if:{{{note|}}}|<nowiki/>
 
}}{{#if:{{{note|}}}|<nowiki/>
:''{{{note}}}''
+
''{{{note}}}''
 
}}<noinclude>
 
}}<noinclude>
 
==Usage==
 
==Usage==

Revision as of 03:49, 10 July 2014

Unknown

Usage

{{Merchant|<merchant type>|<region/guild>}}
  • The first parameter ("merchant type") will be automatically formatted for "standard", "regional", and "guild".
  • The second parameter ("region/guild") is only used for regional and guild merchants.
  • The following parameters can also be used, but are optional:
  • nation, conquest: The nation and conquest standing required for this merchant to sell the item. (standard merchant only)
  • hours: The hours this shop is open.
  • holiday: The day or days that this shop is closed.
  • restocked: "true"/"yes" if this item will be automatically restocked every day or "false"/"no" if it is only stocked by players selling items to the merchants. Only use this parameter if the merchant has limited stock, like a guild.
  • note: Any additional note for the merchant.

Examples

Code Result
{{Merchant|Standard}} Standard Merchant
{{Merchant|Standard|nation = San d'Oria|conquest = 1st}} Standard Merchant
San d'Oria Conquest: 1st - citizens only
{{Merchant|Standard|nation = Windurst|conquest = 2nd}} Standard Merchant
Windurst Conquest: 1st / 2nd
{{Merchant|Regional}} Regional Merchant
{{Merchant|Regional|Zulkheim}} Regional Merchant
Zulkheim region
{{Merchant|Guild}} Guild Merchant
{{Merchant|Guild|Alchemy}} Alchemists' Guild
{{Merchant|Guild|Alchemists'}} Alchemists' Guild
{{Merchant|Guild|Weavers'|hours = 6:00 - 21:00
|holiday = Firesday|restocked = true}}
Weavers' Guild

Open 6:00 - 21:00 Guilds are no longer closed on certain days. Automatically restocked.

{{Merchant|[[Starlight Celebration|Special Event Merchant]]}} Special Event Merchant
{{Merchant|[[Starlight Celebration|Special Event Merchant]]
|note = Only available during the Starlight Celebration event.}}
Special Event Merchant

Only available during the Starlight Celebration event.