Difference between revisions of "Template:Accessory infobox"
Jump to navigation
Jump to search
JohnnySolas (talk | contribs) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has equipment supertype=Accessory}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}} | <includeonly>{{#set:Has equipment supertype=Accessory}}{{#vardefine:sortkey|0}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}}{{#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 armor"> | <div class="infobox-n armor"> | ||
<div class="icon accessory-infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAMEE}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div> | <div class="icon accessory-infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAMEE}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div> | ||
Line 30: | Line 30: | ||
| reaper = {{Reaper|name=y}}{{#set:Is for job=Reaper}} | | reaper = {{Reaper|name=y}}{{#set:Is for job=Reaper}} | ||
| sage = {{Sage|name=y}}{{#set:Is for job=Sage}} | | sage = {{Sage|name=y}}{{#set:Is for job=Sage}} | ||
| viper = {{Viper|name=y}}{{#set:Is for job=Viper}} | |||
| pictomancer = {{Pictomancer|name=y}}{{#set:Is for job=Pictomancer}} | |||
| astrologian | bard | dragoon | monk | machinist | ninja | samurai | scholar | summoner | paladin | warrior | gunbreaker | dancer | reaper | sage = {{@@@|name=y}}{{#set:Is for job={{ucfirst:@@@}}}} | | astrologian | bard | dragoon | monk | machinist | ninja | samurai | scholar | summoner | paladin | warrior | gunbreaker | dancer | reaper | sage = {{@@@|name=y}}{{#set:Is for job={{ucfirst:@@@}}}} | ||
| disciple of war = [[Disciple of War|DoW]]{{#set:Is for class type=Disciple of War}} | | disciple of war = [[Disciple of War|DoW]]{{#set:Is for class type=Disciple of War}} | ||
Line 35: | Line 37: | ||
| disciple of hand | disciple of the hand = [[Disciple of Hand|DoH]]{{#set:Is for class type=Disciple of the Hand}} | | disciple of hand | disciple of the hand = [[Disciple of Hand|DoH]]{{#set:Is for class type=Disciple of the Hand}} | ||
| disciple of land | disciple of the land = [[Disciple of Land|DoL]]{{#set:Is for class type=Disciple of the Land}} | | disciple of land | disciple of the land = [[Disciple of Land|DoL]]{{#set:Is for class type=Disciple of the Land}} | ||
| fending = {{Gladiator|name=y}}{{#set:Is for class=Gladiator}}<br>{{Paladin|name=y}}{{#set:Is for job=Paladin}}<br>{{Marauder|name=y}}{{#set:Is for class=Marauder}}<br>{{Warrior|name=y}}{{#set:Is for job=Warrior}}<br>{{Dark Knight|name=y}}{{#set:Is for job=Dark Knight}}<br>{{Gunbreaker|name=y}}{{#set:Is for job=Gunbreaker}}{{#vardefine:special_requires|Gladiator,Paladin,Marauder,Warrior,Dark Knight,Gunbreaker}} | | fending = {{Gladiator|name=y}}{{#set:Is for class=Gladiator}}<br>{{Paladin|name=y}}{{#set:Is for job=Paladin}}<br>{{Marauder|name=y}}{{#set:Is for class=Marauder}}<br>{{Warrior|name=y}}{{#set:Is for job=Warrior}}<br>{{Dark Knight|name=y}}{{#set:Is for job=Dark Knight}}<br>{{Gunbreaker|name=y}}{{#set:Is for job=Gunbreaker}}{{#vardefine:special_requires|Gladiator,Paladin,Marauder,Warrior,Dark Knight,Gunbreaker}}{{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+0.1}}}} | ||
| healing = {{Conjurer|name=y}}{{#set:Is for class=Conjurer}}<br>{{White Mage|name=y}}{{#set:Is for job=White Mage}}<br>{{Scholar|name=y}}{{#set:Is for job=Scholar}}<br>{{Astrologian|name=y}}{{#set:Is for job=Astrologian}}<br>{{Sage|name=y}}{{#set:Is for job=Sage}}{{#vardefine:special_requires|Conjurer,White Mage,Scholar,Astrologian,Sage}} | | healing = {{Conjurer|name=y}}{{#set:Is for class=Conjurer}}<br>{{White Mage|name=y}}{{#set:Is for job=White Mage}}<br>{{Scholar|name=y}}{{#set:Is for job=Scholar}}<br>{{Astrologian|name=y}}{{#set:Is for job=Astrologian}}<br>{{Sage|name=y}}{{#set:Is for job=Sage}}{{#vardefine:special_requires|Conjurer,White Mage,Scholar,Astrologian,Sage}}{{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+0.5}}}} | ||
| aiming = {{Archer|name=y}}{{#set:Is for class=Archer}}<br>{{Rogue|name=y}}{{#set:Is for class=Rogue}}<br>{{Bard|name=y}}{{#set:Is for job=Bard}}<br>{{Machinist|name=y}}<br>{{Ninja|name=y}}{{#set:Is for job=Ninja}}{{# | | aiming = {{Archer|name=y}}{{#set:Is for class=Archer}}<br>{{Rogue|name=y}}{{#set:Is for class=Rogue}}<br>{{Bard|name=y}}{{#set:Is for job=Bard}}<br>{{Machinist|name=y}}<br>{{Ninja|name=y}}{{#set:Is for job=Ninja}}{{#set:Is for job=Machinist}}<br>{{Dancer|name=y}}{{#set:Is for job=Dancer}}<br>{{Viper|name=y}}{{#set:Is for job=Viper}}{{#vardefine:special_requires|Archer,Rogue,Bard,Machinist,Ninja,Dancer,Viper}}{{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+0.3}}}} | ||
| casting = {{Thaumaturge|name=y}}{{#set:Is for class=Thaumaturge}}<br>{{Arcanist|name=y}}{{#set:Is for class=Arcanist}}<br>{{Black Mage|name=y}}{{#set:Is for job=Black Mage}}<br>{{Summoner|name=y}}{{#set:Is for job=Summoner}}<br>{{Red Mage|name=y}}{{#set:Is for job=Red Mage}}<br>{{Blue Mage|name=y}}{{#set:Is for job=Blue Mage}}{{#vardefine:special_requires|Thaumaturge,Arcanist,Black Mage,Summoner,Red Mage,Blue Mage}} | | casting = {{Thaumaturge|name=y}}{{#set:Is for class=Thaumaturge}}<br>{{Arcanist|name=y}}{{#set:Is for class=Arcanist}}<br>{{Black Mage|name=y}}{{#set:Is for job=Black Mage}}<br>{{Summoner|name=y}}{{#set:Is for job=Summoner}}<br>{{Red Mage|name=y}}{{#set:Is for job=Red Mage}}<br>{{Pictomancer|name=y}}{{#set:Is for job=Pictomancer}}<br>{{Blue Mage|name=y}}{{#set:Is for job=Blue Mage}}{{#vardefine:special_requires|Thaumaturge,Arcanist,Black Mage,Summoner,Red Mage,Pictomancer,Blue Mage}}{{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+0.4}}}} | ||
| slaying = {{Pugilist|name=y}}{{#set:Is for class=Pugilist}}<br>{{Lancer|name=y}}{{#set:Is for class=Lancer}}<br>{{Monk|name=y}}{{#set:Is for job=Monk}}<br>{{Dragoon|name=y}}{{#set:Is for job=Dragoon}}<br>{{Samurai|name=y}}{{#set:Is for job=Samurai}}<br>{{Reaper|name=y}}{{#set:Is for job=Reaper}}{{#vardefine:special_requires|Pugilist,Lancer,Monk,Dragoon,Samurai,Reaper}} | | slaying = {{Pugilist|name=y}}{{#set:Is for class=Pugilist}}<br>{{Lancer|name=y}}{{#set:Is for class=Lancer}}<br>{{Monk|name=y}}{{#set:Is for job=Monk}}<br>{{Dragoon|name=y}}{{#set:Is for job=Dragoon}}<br>{{Samurai|name=y}}{{#set:Is for job=Samurai}}<br>{{Reaper|name=y}}{{#set:Is for job=Reaper}}{{#vardefine:special_requires|Pugilist,Lancer,Monk,Dragoon,Samurai,Reaper}}{{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+0.2}}}} | ||
| #default = <!-- This should never be reached -->}}|<br>}} }}{{#switch:{{lc:{{{requires}}}}}|fending|healing|maiming|striking|scouting|aiming|casting|slaying|paladin|warrior|dark knight|gunbreaker|dragoon|reaper|monk|samurai|ninja|bard|machinist|dancer|black mage|summoner|red mage|blue mage|white mage|scholar|astrologian|sage|carpenter|blacksmith|armorer|goldsmith|leatherworker|weaver|alchemist|culinarian|miner|botanist|fisher|disciple of war|disciple of magic|disciple of war, disciple of magic|disciple of hand|disciple of land|any= |#default= <!--[[Category:Needs role future proofing]]--><!-- This should never be reached -->}} | | #default = <!-- This should never be reached -->}}|<br>}} }}{{#switch:{{lc:{{{requires}}}}}|fending|healing|maiming|striking|scouting|aiming|casting|slaying|paladin|warrior|dark knight|gunbreaker|dragoon|reaper|monk|samurai|ninja|bard|machinist|dancer|black mage|summoner|red mage|blue mage|white mage|scholar|astrologian|sage|carpenter|blacksmith|armorer|goldsmith|leatherworker|weaver|alchemist|culinarian|miner|botanist|fisher|disciple of war|disciple of magic|disciple of war, disciple of magic|disciple of hand|disciple of land|any= |#default= <!--[[Category:Needs role future proofing]]--><!-- This should never be reached -->}} | ||
;Type | ;Type | ||
Line 45: | Line 47: | ||
| earrings | necklace | bracelets | ring | soul crystal = [[Has accessory type::{{#vardefineecho:accessory-type|{{ucfirst:{{lc:{{{type|}}}}}}}}}]][[Has item type::{{ucfirst:{{lc:{{{type|}}}}}}}| ]] | | earrings | necklace | bracelets | ring | soul crystal = [[Has accessory type::{{#vardefineecho:accessory-type|{{ucfirst:{{lc:{{{type|}}}}}}}}}]][[Has item type::{{ucfirst:{{lc:{{{type|}}}}}}}| ]] | ||
| #default = ''{{#vardefineecho:accessory-type|Unspecified}}'' | | #default = ''{{#vardefineecho:accessory-type|Unspecified}}'' | ||
}}{{#switch: {{lc:{{{type|}}}}} | |||
| earrings = {{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+1}}}} | |||
| necklace = {{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+2}}}} | |||
| bracelets = {{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+3}}}} | |||
| ring = {{#vardefine:sortkey|{{#expr:{{#var:sortkey}}+4}}}} | |||
}}<!-- | }}<!-- | ||
-->{{#if:{{{repair|}}}| | -->{{#if:{{{repair|}}}| | ||
Line 56: | Line 63: | ||
-->{{#if:{{{set-name|}}}| | -->{{#if:{{{set-name|}}}| | ||
; Accessory Set | ; Accessory Set | ||
: [[{{{set-name}}}]] | : [[{{{set-name}}}]]{{#set:Has set name={{{set-name|}}}}} | ||
|[[Category:Equipment without gear sets]]}}<!-- | |[[Category:Equipment without gear sets]]}}<!-- | ||
-->{{Default item parameter | -->{{Default item parameter | ||
Line 72: | Line 79: | ||
| id-gt = {{{id-gt|}}} | | id-gt = {{{id-gt|}}} | ||
}} {{#if: {{{id-gt|}}}||{{#if:{{{untradable|}}}||[[Category:Missing universalis link]]}}}} | }} {{#if: {{{id-gt|}}}||{{#if:{{{untradable|}}}||[[Category:Missing universalis link]]}}}} | ||
</div> | </div>{{#set:Has sortkey={{#var:sortkey}}}} | ||
{{clear}} | {{clear}} | ||
</div><!-- | </div><!-- | ||
Line 130: | Line 137: | ||
}} | }} | ||
{{#if: {{{flavor-text|}}}|{{colorize|{{{flavor-text}}}}}{{#set:Has game description={{#replace:{{{flavor-text}}}|`|}}}}}} | {{#if: {{{flavor-text|}}}|{{colorize|{{{flavor-text}}}}}{{#set:Has game description={{#replace:{{{flavor-text}}}|`|}}}}}} | ||
{{Equipment footer|{{{materia-slots|}}}|{{{adv-melding|}}}|{{#switch:{{{materia-slots|}}}|1|2|3|4|5=y|}}|{{{projectable|}}}|{{#if:{{{desynthesizable|}}}|{{{repair}}} {{{ilvl}}}.00}}|{{{dyeable|}}}|{{{storable|}}}|{{{crest-worthy | {{Equipment footer|{{{materia-slots|}}}|{{{adv-melding|}}}|{{#switch:{{{materia-slots|}}}|1|2|3|4|5=y|}}|{{{projectable|}}}|{{#if:{{{desynthesizable|}}}|{{{repair}}} {{{ilvl}}}.00}}|{{{dyeable|}}}|{{{storable|}}}|{{{crest-worthy|}}}}} }}<!-- | ||
-->{{#if:{{{no-footer-text|}}}||'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is an item level {{{ilvl|1}}} {{lc:{{{type|}}}}} and can be used by {{#arraymap:{{#var:special_requires|{{{requires}}}}}|,|@@@|{{#switch:{{lc:@@@}} | -->{{#if:{{{no-footer-text|}}}||'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is an item level {{{ilvl|1}}} {{lc:{{{type|}}}}} and can be used by {{#arraymap:{{#var:special_requires|{{{requires}}}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
| dark knight = [[Dark Knight]] | | dark knight = [[Dark Knight]] | ||
Line 137: | Line 144: | ||
| white mage = [[White Mage]] | | white mage = [[White Mage]] | ||
| blue mage = [[Blue Mage]] | | blue mage = [[Blue Mage]] | ||
| disciple of war = [[Disciples of War]] | |||
| disciple of magic = [[Disciples of Magic]] | |||
| disciple of hand = [[Disciples of the Hand]] | |||
| disciple of land = [[Disciples of the Land]] | |||
| any = any class | | any = any class | ||
| #default = [[{{ucfirst:@@@}}]]}}|, |and}}. It requires being at least level {{{level|1}}} to be equipped.}} | | #default = [[{{ucfirst:@@@}}]]}}|, |and}}. It requires being at least level {{{level|1}}} to be equipped.}} | ||
Line 260: | Line 271: | ||
: Optional. Set anything to notify this accessory can have FC crests affixed to it. | : Optional. Set anything to notify this accessory can have FC crests affixed to it. | ||
; collectable | ; collectable | ||
: | : Obsolete, do not use. Collectables are now totally separate items. | ||
; patch | ; patch | ||
: Optional. Patch number. | : Optional. Patch number. | ||
Line 345: | Line 356: | ||
| collectable = | | collectable = | ||
| patch = 4.5 | | patch = 4.5 | ||
| release = | | release = stormblood | ||
| id-edb = a147b3432e4 | | id-edb = a147b3432e4 | ||
| id-gt = 24968 | | id-gt = 24968 |
Latest revision as of 12:54, 1 August 2024
Description
{{Accessory infobox | name = | icon = | requires = | type = | level = | ilvl = | attributes = | eureka-attributes = | bozja-attributes = | save-the-queen-area-attributes = | sanction-attributes = | defense = | defense-hq = | magic-defense = | magic-defense-hq = | block-strength = | block-strength-hq = | block-rate = | block-rate-hq = | rarity = | flavor-text = | race = | gender = | cost = | value = | value-hq = | seals = | repair = | npc-repair = | set-name = | materia-slots = | adv-melding = | unique = | untradable = | dyeable = | projectable = | desynthesizable = | desynth-level = | crest-worthy = | storable = | collectable = | patch = | release = | id-edb = | id-gt = }}
Parameters
- name
- Accessory name. Defaults to the page name.
- icon
- Accessory icon to show. If not explicitly stated, displays File:<name>.png.
- requires
- Class/job required in order to equip such accessory. Accepts comma-separated: marauder, gladiator, warrior, paladin, dark knight, conjurer, white mage, scholar, astrologian, pugilist, lancer, archer, rogue, thaumaturge, arcanist, monk, dragoon, bard, black mage, summoner, ninja, machinist, samurai, red mage, "blue mage", "gunbreaker", "dancer", "reaper", "sage", carpenter, blacksmith, armorer, goldsmith, leatherworker, weaver, alchemist, culinarian, botanist, fisher, miner, or any (all classes).
- It's also possible to use the following shorthands (articles will be categorized according to role):
- Class types: disciple of war, or disciple of magic, or "disciple of hand", or "disciple of land".
- Tanking role: fending.
- Healing role: healing.
- Physical Ranged DPS role:
- ARC/BRD/MCH/DNC: aiming.
- Magic Ranged DPS role:
- THM/ACN/BLM/SMN/RDM/BLU: casting.
- Melee DPS role:
- LNC/DRG/RPR: maiming.
- PGL/MNK/SAM: striking.
- ROG/NIN: scouting.
- PGL/LNC/MNK/DRG/SAM/RPR: slaying.
- type
- Required. The accessory piece's type. Accepts: "earrings", "necklace", "bracelets", "ring", "soul crystal.
- attributes
- Accessory attributes. See {{attribute increase}} for examples.
- defense
- Optional. The accessory's defense.
- defense-hq
- Optional. The accessory's defense when HQ.
- magic-defense
- Optional. The accessory's magic defense.
- magic-defense-hq
- Optional. The accessory's magic defense when HQ.
- block-strength
- Optional. The shield's block strength.
- block-strength-hq
- Optional. The shield's block strength when HQ.
- block-rate
- Optional. The shield's block rate.
- block-rate-hq
- Optional. The shield's block rate when HQ.
- flavor-text
- Accessory's flavor text. Check {{colorize}} template to learn how to add color to the flavor text using special backticks markup.
- repair
- Optional. The class required to repair the accessory. Level will be automatically resolved by the formula:
<req. level> - 10
. - npc-repair
- Optional. The NPC repair cost.
- set-name
- Optional. The gear set page name from Category:Accessory Sets. Case sensitive
- materia-slots
- Optional. How many materia slots available to this item.
- adv-melding
- Optional. Set n to notify this accessory can't be overmelded.
- unique
- Optional. Set anything to notify this accessory is unique.
- untradable
- Optional. Set anything to notify this accessory is untradable.
- dyeable
- Optional. Set anything to notify this accessory is dyeable.
- projectable
- Optional. Set anything to notify this accessory is projectable (can have its glamour cast on other accessory).
- desynthesizable
- Optional. Set anything to notify this accessory is desynthesizable.
- desynth-level
- Optional. Desynthesis level. Defaults to
ilvl
, and if not set defaults to 1. - storable
- Optional. Set anything to notify this accessory is storable (can be stored in the armoire).
- crest-worthy
- Optional. Set anything to notify this accessory can have FC crests affixed to it.
- collectable
- Obsolete, do not use. Collectables are now totally separate items.
- patch
- Optional. Patch number.
- release
- Optional. Expansion this action belongs to. Accepts: heavensward, stormblood, shadowbringers, or endwalker or dawntrail.
The following parameters are handled by the {{Default item parameter}} template:
- level
- Optional. Required level to use the item.
- ilvl
- Optional. Item level.
- rarity
- Specified rarity: basic (white), aetherial (pink), dungeon (green), tomestone (blue), relic (purple). Will be set to Unspecified per default.
- race
- Optional. Required race to use item.
- gender
- Optional. Required gender to use item.
- recast
- Optional. Recast time (in seconds) for consumables such as medicine and meals.
- recast-hq
- Optional. Recast time (in seconds) for consumables such as medicine and meals if the item is high quality.
- cost
- Optional. Currency cost of the item when purchased from a vendor. To match it to the display in any vendor window, use the amount and the appropriate icon template, e.g. 500 {{gil}}, 2000 {{company seal}}, or 50 {{tomestone}}
- value
- Optional. The number of gils a vendor will pay for this item; if not specified sets the item as unsellable.
- value-hq
- Optional. The number of gils a vendor will pay for this item if high quality.
- seals
- Optional. The amount of seals earned through Grand Company deliveries.
- patch
- Optional. The patch where the item became available.
- id-edb
- ID number in the link to the item on Eorzea Database, for example, if the URL is https://na.finalfantasyxiv.com/lodestone/playguide/db/item/fb177317b75/, enter fb177317b75.
- id-gt
- ID number in the link to the item on Garland Tools, for example, if the URL is http://garlandtools.org/db/#item/11252, enter 11252.
Example
{{Accessory infobox | name = Yama Earring of Fending | icon = yama earring of fending icon1.png | requires = fending | type = Earrings | level = 70 | ilvl = 390 | attributes = {{attribute increase|strength|44|48}}{{attribute increase|vitality|164|183}}{{attribute increase|determination|130|144}}{{attribute increase|tenacity|91|101}} | defense = 0 | defense-hq = 1 | magic-defense = 0 | magic-defense-hq = 1 | rarity = green | flavor-text = | race = | gender = | cost = | value = 761 | value-hq = 838 | seals = | repair = Goldsmith | npc-repair = | set-name = Yama Accessories | materia-slots = 1 | adv-melding = n | unique = | untradable = y | unsellable = | dyeable = | projectable = y | desynthesizable = | desynth-level = | crest-worthy = | storable = | collectable = | patch = 4.5 | release = stormblood | id-edb = a147b3432e4 | id-gt = 24968 }}
Yama Earring of Fending
UNTRADABLE
“
Defense Magic Defense 0 1 0 1 +44 Strength 48+164 Vitality 183+130 Determination 144+91 Tenacity 101— In-game description
Yama Earring of Fending is an item level 390 earrings and can be used by Gladiator, Paladin, Marauder, Warrior, Dark Knight and Gunbreaker. It requires being at least level 70 to be equipped.