Difference between revisions of "Template:Weapon infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Line 28: Line 28:
   | gunbreaker = {{Gunbreaker|name=y}}{{#set:Is for job=Gunbreaker}}
   | gunbreaker = {{Gunbreaker|name=y}}{{#set:Is for job=Gunbreaker}}
   | dancer = {{Dancer|name=y}}{{#set:Is for job=Dancer}}
   | dancer = {{Dancer|name=y}}{{#set:Is for job=Dancer}}
  | reaper = {{Reaper|name=y}}{{#set:Is for job=Reaper}}
  | sage = {{Sage|name=y}}{{#set:Is for job=Sage}}
   | astrologian | bard | dragoon | monk | machinist | ninja | samurai | scholar | summoner | paladin | warrior | gunbreaker | dancer = {{@@@|name=y}}{{#set:Is for job={{ucfirst:@@@}}}}
   | astrologian | bard | dragoon | monk | machinist | ninja | samurai | scholar | summoner | paladin | warrior | gunbreaker | dancer = {{@@@|name=y}}{{#set:Is for job={{ucfirst:@@@}}}}
   | #default = <!-- This should never be reached -->}}|<br>}} }}
   | #default = <!-- This should never be reached -->}}|<br>}} }}
;Type
;Type
:{{#switch: {{lc:{{{type|}}}}}
:{{#switch: {{lc:{{{type|}}}}}
  | alembic | saw | frypan | needle | hatchet | pickaxe | sword | wand | scepter | greataxe | polearm | bow | daggers | greatsword | firearms | katana | knife | cane | staff | book | rapier | gunblade | hammer | mortar | mallet | pliers | file | awl | scythe | sledgehammer | spearfishing = [[Has weapon type::{{#vardefineecho:weapon-type|{{ucfirst:{{lc:{{{type|}}}}}}}}}]][[Has item type::{{ucfirst:{{lc:{{{type|}}}}}}}| ]]
  | alembic | saw | frypan | needle | hatchet | pickaxe | sword | wand | scepter | greataxe | polearm | bow | daggers | greatsword | firearms | katana | knife | cane | staff | book | rapier | gunblade | scythe | noulith | hammer | mortar | mallet | pliers | file | awl | scythe | sledgehammer | spearfishing = [[Has weapon type::{{#vardefineecho:weapon-type|{{ucfirst:{{lc:{{{type|}}}}}}}}}]][[Has item type::{{ucfirst:{{lc:{{{type|}}}}}}}| ]]
  | doming hammer = [[Has weapon type::{{#vardefineecho:weapon-type|Doming Hammer}}]][[Has item type::Doming Hammer| ]]
  | doming hammer = [[Has weapon type::{{#vardefineecho:weapon-type|Doming Hammer}}]][[Has item type::Doming Hammer| ]]
  | cross-pein hammer = [[Has weapon type::{{#vardefineecho:weapon-type|Cross-pein Hammer}}]][[Has item type::Cross-pein Hammer| ]]
  | cross-pein hammer = [[Has weapon type::{{#vardefineecho:weapon-type|Cross-pein Hammer}}]][[Has item type::Cross-pein Hammer| ]]
Line 164: Line 166:
: Weapon icon to show. If not explicitly stated, displays <tt>File:<nowiki><name></nowiki>.png</tt>.
: Weapon icon to show. If not explicitly stated, displays <tt>File:<nowiki><name></nowiki>.png</tt>.
; requires
; requires
: Class/job required in order to equip such weapon. 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", ''carpenter'', ''blacksmith'', ''armorer'', ''goldsmith'', ''leatherworker'', ''weaver'', ''alchemist'', ''culinarian'', ''botanist'', ''fisher'', ''miner'', or ''any''.
: Class/job required in order to equip such weapon. 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''.
; type
; type
: Required. The weapon's/tool's type. Accepts:  ''alembic'', ''saw'', ''frypan'', ''needle'', ''hatchet'', ''pickaxe'', ''sword'', ''wand'', ''scepter'', ''greataxe'', ''polearm'', ''bow'', ''daggers'', ''greatsword'', ''firearms'', ''katana'', ''cane'', ''staff'', ''book'', ''rapier'', "gunblade", ''mortar'', ''pliers'', ''file'', ''awl'', ''scythe'', ''sledgehammer'', ''doming hammer'', ''cross-pein hammer'', ''lapidary hammer'', ''head knife'', ''fishing rod'', ''fist weapon'', "throwing weapons", ''star globe'', ''claw hammer'', ''culinary knife'', ''grinding wheel'', or ''spinning wheel''
: Required. The weapon's/tool's type. Accepts:  ''alembic'', ''saw'', ''frypan'', ''needle'', ''hatchet'', ''pickaxe'', ''sword'', ''wand'', ''scepter'', ''greataxe'', ''polearm'', ''bow'', ''daggers'', ''greatsword'', ''firearms'', ''katana'', ''cane'', ''staff'', ''book'', ''rapier'', "gunblade", "scythe", "noulith", ''mortar'', ''pliers'', ''file'', ''awl'', ''scythe'', ''sledgehammer'', ''doming hammer'', ''cross-pein hammer'', ''lapidary hammer'', ''head knife'', ''fishing rod'', ''fist weapon'', "throwing weapons", ''star globe'', ''claw hammer'', ''culinary knife'', ''grinding wheel'', or ''spinning wheel''
; attributes
; attributes
: Weapon attributes. See {{tl|attribute increase}} for examples.
: Weapon attributes. See {{tl|attribute increase}} for examples.

Revision as of 10:52, 3 December 2021

Description

{{Weapon infobox
| name = 
| icon = 
| requires = 
| type = 
| level = 
| ilvl = 
| rarity = 
| attributes = 
| sanction-attributes = 
| physical-damage = 
| physical-damage-hq = 
| magic-damage = 
| magic-damage-hq = 
| autoattack = 
| autoattack-hq = 
| delay = 
| delay-hq = 
| dps = 
| dps-hq = 
| flavor-text = 
| race = 
| gender = 
| cost = 
| value = 
| value-hq = 
| seals = 
| repair = 
| npc-repair = 
| materia-slots = 
| adv-melding = 
| unique = 
| untradable = 
| convertible = 
| dyeable = 
| projectable = 
| desynthesizable = 
| desynth-level = 
| crest-worthy = 
| storable = 
| collectable = 
| patch = 
| release = 
| id-edb =
| id-gt =
}}

Parameters

name
Weapon name. Defaults to the page name.
icon
Weapon icon to show. If not explicitly stated, displays File:<name>.png.
requires
Class/job required in order to equip such weapon. 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.
type
Required. The weapon's/tool's type. Accepts: alembic, saw, frypan, needle, hatchet, pickaxe, sword, wand, scepter, greataxe, polearm, bow, daggers, greatsword, firearms, katana, cane, staff, book, rapier, "gunblade", "scythe", "noulith", mortar, pliers, file, awl, scythe, sledgehammer, doming hammer, cross-pein hammer, lapidary hammer, head knife, fishing rod, fist weapon, "throwing weapons", star globe, claw hammer, culinary knife, grinding wheel, or spinning wheel
attributes
Weapon attributes. See {{attribute increase}} for examples.
sanction-attributes
Armor attributes for Sanction Effect. See {{attribute increase}} and {{attribute decrease}} for examples.
physical-damage
Optional. Weapon's physical damage.
physical-damage-hq
Optional. Weapon's physical damage when HQ.
magic-damage
Optional. Weapon's magic damage.
magic-damage-hq
Optional. Weapon's magic damage when HQ.
autoattack
Optional. Weapon's auto-attack damage.
autoattack-hq
Optional. Weapon's auto-attack damage when HQ.
delay
Optional. Weapon's attack delay.
delay-hq
Optional. Weapon's attack delay when HQ.
dps
Optional. Weapon's DPS.
dps-hq
Optional. Weapon's DPS when HQ.
flavor-text
Weapon'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 weapon. Level will be automatically resolved by the formula: <req. level> - 10.
npc-repair
Optional. The NPC repair cost.
materia-slots
Optional. How many materia slots available to this item.
adv-melding
Optional. Set n to notify this weapon can't be overmelded.
unique
Optional. Set anything to notify this weapon is unique.
untradable
Optional. Set anything to notify this weapon is untradable.
convertible
Optional. Set anything to notify this weapon is convertible (can be converted to a materia).
dyeable
Optional. Set anything to notify this weapon is dyeable.
projectable
Optional. Set anything to notify this weapon is projectable (can have its glamour cast on other weapons).
desynthesizable
Optional. Set anything to notify this weapon is desynthesizable.
desynth-level
Optional. Desynthesis level. Defaults to ilvl, and if not set defaults to 1.
storable
Optional. Set anything to notify this weapon is storable (can be stored in the armoire).
crest-worthy
Optional. Set anything to notify this weapon can have FC crests affixed to it.
collectable
Optional. Set anything to notify this weapon is collectable.
release
Optional. Expansion this weapon belongs to. Accepts: heavensward, or stormblood, or "shadowbringers" or "endwalker".

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

{{Weapon infobox
| name = Halonic Inquisitor's Sword
| icon = Halonic Inquisitor's Sword.png
| rarity = green
| flavor-text = 
| requires = gladiator
| type = sword
| level = 57
| ilvl = 142
| attributes = {{attribute increase|strength|46}}{{attribute increase|vitality|47|77}}{{attribute increase|determination|32}}{{attribute increase|tenacity|27}}
| physical-damage = 59
| physical-damage-hq = 
| magic-damage = 42
| magic-damage-hq = 
| autoattack = 44.05
| autoattack-hq = 
| delay = 2.24
| delay-hq = 
| dps = 26.33
| dps-hq = 
| race = 
| gender = 
| cost = 
| value = 745
| value-hq = 1400
| seals = 817
| repair = blacksmith
| npc-repair = 300
| unique = y
| untradable = y
| unsellable = y
| materia-slots = 3
| adv-melding = n
| convertible = 
| dyeable = 
| projectable = y
| desynthesizable = y
| storable = 
| collectable = 
| release = 
| id-edb = fb177317b75
| id-gt = 11252
}}

Halonic Inquisitor's Sword

UNIQUE  UNTRADABLE  UNSELLABLE  
Requires
Gladiator frame icon.png GLA
Type
Sword
Repair
Blacksmith frame icon.png BSM (Lv. 47)
NPC repair
Gil 300
Level
57
Item Level
142
Rarity
BGreen
Vendor Value
Gil 745 HQ icon.png Gil 1,400
Links
EDB GT
Market board icon1.png MB prices
Universalis
Physical Damage Magic Damage  
59 HQ icon.png1 42 HQ icon.png2  
Auto-attack Delay DPS
44.05 HQ icon.png3 2.24 HQ icon.png4 26.33 HQ icon.png5
+47 Vitality HQ icon.png77

— In-game description

Halonic Inquisitor's Sword is an item level 142 sword and can be used by Gladiator. It requires being at least level 57 to be equipped.