Template:Merchant: Difference between revisions
From HorizonXI Wiki
m (testing regional goods categorization) |
(categorize regional goods if namespace is not template) |
||
Line 4: | Line 4: | ||
}}}}<!-- | }}}}<!-- | ||
-->| regional = [[Regional Merchant]]{{#if:{{{2|}}}|<nowiki/> | -->| regional = [[Regional Merchant]]{{#if:{{{2|}}}|<nowiki/> | ||
:''[[{{{2}}}|{{{2}}} region]]''[[Category:Regional_Goods]] | :''[[{{{2}}}|{{{2}}} region]]''{{#ifeq:{{NAMESPACE}}|Template||[[Category:Regional_Goods]][[Category:{{{2}}}/Regional_Goods]]}} | ||
}}<!-- | }}<!-- | ||
-->|tenshodo = [[Tenshodo Merchant]]<!-- | -->|tenshodo = [[Tenshodo Merchant]]<!-- |
Revision as of 14:15, 31 October 2023
Usage
{{Merchant|<merchant type>|<region/guild/special event>}}
- The first parameter ("merchant type") will be automatically formatted for "standard", "regional", "guild", "ranked guild", "guildworker's union", and "special event".
- The second parameter ("region/guild/special event") is only used for regional, guild, and special event merchants (see examples below).
- 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)
- opens, closes: The time this shop opens and closes.
- restocked: "true" or "yes" if this item will be automatically restocked every day and "false" or "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.
- rank: The rank required to purchase the item.
- key item: The key item required to purchase the item.
- note: Any additional note for the merchant.
Examples
Code | Result |
---|---|
{{Merchant|???}} |
Unknown |
{{Merchant|Standard}} |
Standard Merchant |
{{Merchant|Standard|nation = San d'Oria|conquest = 1st}} |
Standard Merchant
|
{{Merchant|Standard|nation = Windurst|conquest = 2nd}} |
Standard Merchant
|
{{Merchant|Regional}} |
Regional Merchant |
{{Merchant|Regional|Zulkheim}} |
Regional Merchant |
{{Merchant|Tenshodo}} |
Tenshodo Merchant |
{{Merchant|Guildworker's Union}} |
Guildworker's Union Rep. |
{{Merchant|Guild}} |
Guild Merchant |
{{Merchant|Guild|Alchemy}} |
Alchemists' Guild
|
{{Merchant|Guild|Alchemists'}} |
Alchemists' Guild
|
{{Merchant|Ranked Guild|Woodworking}} |
Carpenters' Guild |
{{Merchant|Ranked Guild|Clothcraft|rank = Novice}} |
Weavers' Guild
|
{{Merchant|Guild|Fishing|opens = 1:00|closes = 18:00|restocked = true}} |
Fishermans' Guild
|
{{Merchant|Guild|Cooking|restocked = false}} |
Culinarians' Guild
|
{{Merchant|Special Event}} |
Special Event Merchant |
{{Merchant|Special Event|Starlight Celebration}} |
Special Event Merchant
|
{{Merchant|Green Thumb Moogle}} |
Green Thumb Moogle |
{{Merchant|Green Thumb Moogle|key item = Sheep memento}} |
Green Thumb Moogle
|
{{Merchant|[[Buffalo Ranch Merchant]]}} |
Buffalo Ranch Merchant |
{{Merchant|[[Buffalo Ranch Merchant]]|note = Tier III stock.}} |
Buffalo Ranch Merchant
|