Difference between revisions of "Template:Hairstyle infobox"
Jump to navigation
Jump to search
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=hairstyle}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|#default=}} | <includeonly>{{#set:Has context=hairstyle}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}|#default=}}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}} | ||
<div class="infobox-n hairstyle"> | <div class="infobox-n hairstyle"> | ||
<div style="float:left;height:0px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | <div style="float:left;height:0px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | ||
Line 21: | Line 21: | ||
| unlocked = [[Hairstyles#Unlocked Hairstyles|{{ucfirst:@@@}}]] | | unlocked = [[Hairstyles#Unlocked Hairstyles|{{ucfirst:@@@}}]] | ||
| #default = {{ucfirst:@@@}} | | #default = {{ucfirst:@@@}} | ||
}} | }} | ||
}} | }} | ||
Line 40: | Line 26: | ||
-->{{#if: {{{unlock-item|}}} | | -->{{#if: {{{unlock-item|}}} | | ||
;Unlock Item | ;Unlock Item | ||
: | :{{item icon|{{{unlock-item}}}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{activity|}}} | | -->{{#if: {{{activity|}}} | | ||
Line 56: | Line 42: | ||
-->{{#if: {{{achievement|}}} | | -->{{#if: {{{achievement|}}} | | ||
;Achievement | ;Achievement | ||
: | :{{item icon|{{{achievement}}}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{purchased-from|}}} | | -->{{#if: {{{purchased-from|}}} | | ||
; | ;Vendor | ||
:[[{{{purchased-from}}}]] | :[[{{{purchased-from}}}]] | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{location|}}}|{{ | -->{{#if: {{{location|}}} | | ||
; [[Zone]] | |||
: {{#switch: {{{location|}}}|Varies|varies={{{location}}}|#default=[[{{{location|}}}]]}} {{#if: {{{coordinates|}}}|<small>({{{coordinates|}}})</small>}} }}<!-- | |||
-->{{#if: {{{cost-type|}}} | | -->{{#if: {{{cost-type|}}} | | ||
;Cost | ;Cost | ||
Line 74: | Line 62: | ||
| namazu koban = {{{cost}}} {{Tribe token|namazu koban}} | | namazu koban = {{{cost}}} {{Tribe token|namazu koban}} | ||
| mythic clan mark logs = {{{cost}}} [[Mythic Clan Mark Log]]s | | mythic clan mark logs = {{{cost}}} [[Mythic Clan Mark Log]]s | ||
| skybuilders scrip = {{{cost}}} {{Skybuilders scrip}} | |||
| bozjan cluster = {{{cost}}} {{Bozjan cluster}} | |||
| seafarer cowrie = {{{cost}}} {{cowrie|seafarer}} | |||
| rokkon potsherd = {{{cost}}} {{item icon|Rokkon Potsherd}} | |||
| usd = {{{cost}}} $/€/£/¥ | | usd = {{{cost}}} $/€/£/¥ | ||
| #default = {{{cost}}} {{ucfirst:@@@}} | | #default = {{{cost}}} {{ucfirst:@@@}} | ||
Line 81: | Line 73: | ||
-->{{#if: {{{patch|}}} | | -->{{#if: {{{patch|}}} | | ||
; Patch | ; Patch | ||
: {{{patch}}} | : [[Patch {{{patch}}}|{{{patch}}}]] | ||
}} | }} | ||
{{clear}} | |||
</div></div><!-- | </div></div><!-- | ||
-->{{#if:{{{description|}}}| | -->{{#if:{{{description|}}}| | ||
Line 130: | Line 123: | ||
| achievement = | | achievement = | ||
| purchased-from = | | purchased-from = | ||
| location = | |||
| coordinates = | |||
| cost-type = | | cost-type = | ||
| cost = | | cost = | ||
Line 140: | Line 135: | ||
; name: Optional. Name of the hairstyle. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | ; name: Optional. Name of the hairstyle. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | ||
; image: Optional. Hairstyle image. Defaults to File:<code><nowiki>{{PAGENAME}}</nowiki></code>.png | ; image: Optional. Hairstyle image. Defaults to File:<code><nowiki>{{PAGENAME}}</nowiki></code>.png | ||
; type: Required. The type the hairstyle is placed under. Accepts ''general'', ''special'', ''expressions''. | ; type: Required. The type the hairstyle is placed under. Accepts ''general'', ''special'', ''expressions''. | ||
; unlock-item: Optional. The item used to unlock the hairstyle. | ; unlock-item: Optional. The item used to unlock the hairstyle. | ||
; activity: Optional. The name of the activity where the hairstyle is unlocked. | ; activity: Optional. The name of the activity where the hairstyle is unlocked. | ||
Line 150: | Line 142: | ||
; achievement: Optional. The name of the achievement that unlocks the hairstyle. | ; achievement: Optional. The name of the achievement that unlocks the hairstyle. | ||
; purchased-from: Optional. How to purchase the hairstyle | ; purchased-from: Optional. How to purchase the hairstyle | ||
; location : Required. The area or zone the NPC can be found. | |||
; coordinates: Optional. The X, Y and Z coordinates to the NPCs location, comma-separated. Eg.: <code>23.2, 5.55, 1</code>. <!-- Displays and interactive map with a marker of the NPC's location. EG <code>[12345,31321]</code>. See {{tl|Infobox map}} for more details. --> | |||
; cost-type: Optional. The currency used to purchase the hairstyle. Accepts: "gil", "mgp", "seals", "wolf marks", "kojin sango", "ananta dreamstaff", "namazu koban", "mythic clan mark logs", "usd" | ; cost-type: Optional. The currency used to purchase the hairstyle. Accepts: "gil", "mgp", "seals", "wolf marks", "kojin sango", "ananta dreamstaff", "namazu koban", "mythic clan mark logs", "usd" | ||
; cost: Optional. amount of the currency needed to purchase the hairstyle. | ; cost: Optional. amount of the currency needed to purchase the hairstyle. | ||
; patch: Optional. Patch this hairstyle was released in. | ; patch: Optional. Patch this hairstyle was released in. | ||
; release: Optional. Expansion this hairstyle belongs to. Accepts ''heavensward'' or ''stormblood''. | ; release: Optional. Expansion this hairstyle belongs to. Accepts ''heavensward'' or ''stormblood'' or ''shadowbringers'' or ''dawntrail''. | ||
==Examples== | ==Examples== | ||
<pre>{{Hairstyle infobox | <pre>{{Hairstyle infobox | ||
| name = Lexen-tails | | name = Lexen-tails Hairstyle | ||
| image = lexen- | | image = lexen-tails hairstyle1.jpg | ||
| gender = unisex | | gender = unisex | ||
| type = unlocked | | type = unlocked | ||
Line 167: | Line 161: | ||
| achievement = | | achievement = | ||
| purchased-from = Gold Saucer Attendant | | purchased-from = Gold Saucer Attendant | ||
| location = | | location = The Gold Saucer | ||
| coordinates = | | coordinates = 5.1,6.6 | ||
| cost-type = mgp | | cost-type = mgp | ||
| cost = 50,000 | | cost = 50,000 | ||
Line 175: | Line 169: | ||
}}</pre> | }}</pre> | ||
{{Hairstyle infobox | {{Hairstyle infobox | ||
| name = Lexen-tails | | name = Lexen-tails Hairstyle | ||
| image = lexen- | | image = lexen-tails hairstyle1.jpg | ||
| gender = unisex | | gender = unisex | ||
| type = unlocked | | type = unlocked | ||
Line 185: | Line 179: | ||
| achievement = | | achievement = | ||
| purchased-from = Gold Saucer Attendant | | purchased-from = Gold Saucer Attendant | ||
| location = | | location = The Gold Saucer | ||
| coordinates = | | coordinates = 5.1,6.6 | ||
| cost-type = mgp | | cost-type = mgp | ||
| cost = 50,000 | | cost = 50,000 |
Latest revision as of 04:09, 8 September 2023
Usage
Use this infobox for defining hairstyles within the game.
{{Hairstyle infobox | name = | image = | gender = | unlock-item = | activity = | event = | quest = | achievement = | purchased-from = | location = | coordinates = | cost-type = | cost = | patch = | release = }}
Parameters
- name
- Optional. Name of the hairstyle. Defaults to
{{PAGENAME}}
. - image
- Optional. Hairstyle image. Defaults to File:
{{PAGENAME}}
.png - type
- Required. The type the hairstyle is placed under. Accepts general, special, expressions.
- unlock-item
- Optional. The item used to unlock the hairstyle.
- activity
- Optional. The name of the activity where the hairstyle is unlocked.
- event
- Optional. The name of the event where the hairstyle is unlocked.
- quest
- Optional. The name of the quest that unlocks the hairstyle.
- achievement
- Optional. The name of the achievement that unlocks the hairstyle.
- purchased-from
- Optional. How to purchase the hairstyle
- location
- Required. The area or zone the NPC can be found.
- coordinates
- Optional. The X, Y and Z coordinates to the NPCs location, comma-separated. Eg.:
23.2, 5.55, 1
. - cost-type
- Optional. The currency used to purchase the hairstyle. Accepts: "gil", "mgp", "seals", "wolf marks", "kojin sango", "ananta dreamstaff", "namazu koban", "mythic clan mark logs", "usd"
- cost
- Optional. amount of the currency needed to purchase the hairstyle.
- patch
- Optional. Patch this hairstyle was released in.
- release
- Optional. Expansion this hairstyle belongs to. Accepts heavensward or stormblood or shadowbringers or dawntrail.
Examples
{{Hairstyle infobox | name = Lexen-tails Hairstyle | image = lexen-tails hairstyle1.jpg | gender = unisex | type = unlocked | unlock-item = Modern Aesthetics - Lexen-tails | activity = | event = | quest = | achievement = | purchased-from = Gold Saucer Attendant | location = The Gold Saucer | coordinates = 5.1,6.6 | cost-type = mgp | cost = 50,000 | patch = 4.5 | release = stormblood }}
Lexen-tails Hairstyle
- Type
- Male, Female
- Type
- Unlocked
- Unlock Item
- Modern Aesthetics - Lexen-tails
- Vendor
- Gold Saucer Attendant
- Zone
- The Gold Saucer (5.1,6.6)
- Cost
- 50,000
- Patch
- 4.5