Difference between revisions of "Template:Weapon infobox"
Jump to navigation
Jump to search
(Fixes negative repair level when the item is less than level 10) |
|||
Line 55: | Line 55: | ||
-->{{#if:{{{repair|}}}| | -->{{#if:{{{repair|}}}| | ||
; Repair | ; Repair | ||
: {{ {{{repair}}}|name=y}} (Lv. {{#expr: {{{level|}}}-10}}) | : {{ {{{repair}}}|name=y}} (Lv. {{#ifexpr: {{{level|}}}-10 < 0 |1|{{#expr:{{{level|}}}-10}}}}) | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{npc-repair|}}}| | -->{{#if:{{{npc-repair|}}}| |
Revision as of 16:35, 23 January 2022
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
- GLA
- Type
- Sword
- Repair
- BSM (Lv. 47)
- NPC repair
- 300
- Level
- 57
- Item Level
- 142
- Rarity
- Green
- Vendor Value
- 745 1,400
- Links
- EDB GT
- MB prices
- Universalis
“
Physical Damage Magic Damage 59 1 42 2 Auto-attack Delay DPS 44.05 3 2.24 4 26.33 5 +46 Strength+47 Vitality 77+32 Determination+27 Tenacity— 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.