Template:Merchant: Difference between revisions
From HorizonXI Wiki
(adding a dummy categories for testing) |
(commented out reference to guild rank requirements as that didnt exist in era) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 30: | Line 30: | ||
:''Open {{#if:{{{hours|}}}|{{{hours}}}|{{#switch:{{lc:{{{2|}}}}}|alchemy|alchemist|alchemists' = 8:00 - 23:00|bonecraft|boneworker|boneworkers' = 8:00 - 23:00|clothcraft|weaver|weavers' = 6:00 - 21:00|cooking|culinarian|culinarians' = 5:00 - 20:00|fishing|fisherman|fishermen|fishermans' = 3:00 - 18:00|goldsmithing|goldsmith|goldsmiths' = 8:00 - 23:00|leathercraft|tanner|tanners' = 3:00 - 18:00|smithing|blacksmith|blacksmiths' = 8:00 - 23:00|woodworking|carpenter|carpenters' = 6:00 - 21:00}}}}'' | :''Open {{#if:{{{hours|}}}|{{{hours}}}|{{#switch:{{lc:{{{2|}}}}}|alchemy|alchemist|alchemists' = 8:00 - 23:00|bonecraft|boneworker|boneworkers' = 8:00 - 23:00|clothcraft|weaver|weavers' = 6:00 - 21:00|cooking|culinarian|culinarians' = 5:00 - 20:00|fishing|fisherman|fishermen|fishermans' = 3:00 - 18:00|goldsmithing|goldsmith|goldsmiths' = 8:00 - 23:00|leathercraft|tanner|tanners' = 3:00 - 18:00|smithing|blacksmith|blacksmiths' = 8:00 - 23:00|woodworking|carpenter|carpenters' = 6:00 - 21:00}}}}'' | ||
}}}}--><!-- | }}}}--><!-- | ||
-->{{#if:{{{rank|}}}|<nowiki/> | -->{{#if:{{{rank|}}}|<!--<nowiki/> | ||
:''{{{rank}}} rank required.''[[Category:Merchant/Requires Rank]] | :''{{{rank}}} rank required.''-->[[Category:Merchant/Requires Rank]]}}<!-- | ||
}}<!-- | |||
if a KeyItem is required to make the purchase (Airship Pass to access the area) | |||
-->{{#if:{{{key item|}}}|<nowiki/> | -->{{#if:{{{key item|}}}|<nowiki/> | ||
:''Requires {{KeyItem}}[[{{{key item}}}]]'' | :''Requires {{KeyItem}}[[{{{key item}}}]]'' | ||
}}<!-- | }}<!-- | ||
-->{{#switch:{{lc:{{{restocked|}}}}}|true|yes = <nowiki/> | -->{{#switch:{{lc:{{{restocked|}}}}}|true|yes = <nowiki/> | ||
| Line 55: | Line 56: | ||
:*'''opens''', '''closes:''' The time this shop opens and closes. | :*'''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. | :*'''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. | <!--:*'''rank:''' The rank required to purchase the item.--> | ||
:*'''key item:''' The key item required to purchase the item. | :*'''key item:''' The key item required to purchase the item. | ||
:*'''note:''' Any additional note for the merchant. | :*'''note:''' Any additional note for the merchant. | ||
| Line 98: | Line 99: | ||
| <pre>{{Merchant|Ranked Guild|Woodworking}}</pre> | | <pre>{{Merchant|Ranked Guild|Woodworking}}</pre> | ||
| {{Merchant|Ranked Guild|Woodworking}} | | {{Merchant|Ranked Guild|Woodworking}} | ||
|- | <!--|- | ||
| <pre>{{Merchant|Ranked Guild|Clothcraft|rank = Novice}}</pre> | | <pre>{{Merchant|Ranked Guild|Clothcraft|rank = Novice}}</pre> | ||
| {{Merchant|Ranked Guild|Clothcraft|rank = Novice}} | | {{Merchant|Ranked Guild|Clothcraft|rank = Novice}}--> | ||
|- | <!--|- | ||
| <pre>{{Merchant|Guild|Fishing|opens = 1:00|closes = 18:00|restocked = true}}</pre> | | <pre>{{Merchant|Guild|Fishing|opens = 1:00|closes = 18:00|restocked = true}}</pre> | ||
| {{Merchant|Guild|Fishing|opens = 1:00|closes = 18:00|restocked = true}} | | {{Merchant|Guild|Fishing|opens = 1:00|closes = 18:00|restocked = true}}--> | ||
|- | |- | ||
| <pre>{{Merchant|Guild|Cooking|restocked = false}}</pre> | | <pre>{{Merchant|Guild|Cooking|restocked = false}}</pre> | ||
Latest revision as of 16:20, 21 May 2025
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.
- 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|bastok}}
|
Alchemists' Guild (Bastok)
|
{{Merchant|Guild|Alchemists'}}
|
Alchemists' Guild |
{{Merchant|Ranked Guild|Woodworking}}
|
Carpenters' 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
|
