Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Option equipment infobox"
m |
(added some extra hooks for queries in the future) |
||
Line 115: | Line 115: | ||
; Tag(s) | ; Tag(s) | ||
: {{#arraymap:{{{tags}}}|;|@@@|<nowiki>#</nowiki>@@@|<br>|}} | : {{#arraymap:{{{tags}}}|;|@@@|<nowiki>#</nowiki>@@@|<br>|}} | ||
+ | {{#arraymap:{{{tags|}}}|;|@@@|{{#set:Has tag=@@@}}}} | ||
|}} | |}} | ||
Line 182: | Line 183: | ||
define options properties | define options properties | ||
− | -->{{#vardefine:customtag|[[File:Custom Option Tag.png|baseline|link=]]}}{{#vardefine:options| | + | -->{{#vardefine:customtag|[[File:Custom Option Tag.png|baseline|link=]]}}{{#set:Has option type={{{option type}}}}}{{#vardefine:options| |
{{#switch:{{lc:{{{option type|}}}}} | {{#switch:{{lc:{{{option type|}}}}} | ||
| fixed = | | fixed = |
Revision as of 12:25, 21 June 2023
Contents
Description
This templates creates an infobox specifically designed for Level 105 equipment with description for use in the item's page. A separate template was created to both accomodate the paradigms of Level Epic equipment (e.g., options, streamlined stats, etc.) and keep these changes in isolation when new paradigms are introduced. Uses Template:Default item properties.
Usage
{{Equipment infobox | name = | icon = | option type = | slot = | weapon type = | armor weight class = | rarity = | weight = | value = | binding = | class = | set = | altname = | weapon physical attack = | weapon magical attack = | independent attack = | equipment physical defense = | equipment magical defense = | strength = | intelligence = | vitality = | spirit = | adventurer fame = | buff power = | attack speed = | movement speed = | casting speed = | skill attack = | physical critical chance = | magical critical chance = | option 1 damage value = | option 1 buff power = | option 1 description = | option 2 damage value = | option 2 buff power = | option 2 description = | option 3 damage value = | option 3 buff power = | option 3 description = | option 4 damage value = | option 4 buff power = | option 4 description = | fusion option description = | source = | tags = | flavor text = | categorize = }}
Parameters
All parameters are optional unless stated otherwise.
- name
- Required. Name of the item. Defaults to the name of the base article (
{{PAGENAME}}
). - icon
- Icon. Defaults to
{{PAGENAME}}
. - image
- Image for titles and creatures.
- option type
- Designates the type of Epic equipment the item is. Allowed values are fixed, custom, fusion, or growth.
- slot
- Required. Defines the item slot.
- weapon type
- Required if slot is weapon. Defines the weapon type.
- armor weight class
- Required if slot is head/shoulder, top, bottom, shoes or belt. Allowed values are cloth, leather, light armor, heavy armor or plate armor.
- rarity
- Rarity of the item. Defaults to epic.
- weight
- Weight of the item in kg.
- value
- Gold value of the weapon when sold to an NPC.
- binding
- The type of binding the item has. none for no binding, untradable for untradable, sealed for sealed, unsealed for untradable (sealed), account for account bound,
X
tcu for a trade count of X and the item becoming untradable afterwards orX
tca for a trade count of X and the item becoming account bound afterwards. Defaults to untradable. - level
- Required level to equip the item. Defaults to 105.
- class
- Required class (or subclass, in the case of runes/talismans) to equip the item.
- set
- Wiki page of the set the item is part of. Separate set names by commas if there are multiple.
- altname
- Foreign name of the piece of equipment.
- weapon physical attack
- Weapon Physical Attack of the piece of equipment.
- weapon magical attack
- Weapon Magical Attack of the piece of equipment.
- independent attack
- Independent Attack of the piece of equipment.
- equipment physical defense
- Equipment Physical Defense of the piece of equipment.
- equipment magical defense
- Equipment Magical Defense of the piece of equipment.
- strength
- Strength of the piece of equipment.
- intelligence
- Intelligence of the piece of equipment.
- vitality
- Vitality of the piece of equipment.
- spirit
- Spirit of the piece of equipment.
- adventurer fame
- Adventurer Fame of the piece of equipment
- buff power
- The buff power provided by the gear itself (not from options).
- attack speed
- Bonus attack speed provided.
- movement speed
- Bonus movement speed provided.
- casting speed
- Bonus casting speed provided.
- skill attack
- Bonus skill attack provided. Because level 105 Epic and Legendary have pre-determined skill attack bonuses, there are different default values depending on the equipment slot.
- single skill bonus
- Bonus levels given to skills when equipped with the item. Expected format is
class(gender), skill name, skill level bonus
. Gender has to be included even for classes that do not have gender variants. For common skills, use Common forclass(gender)
. Separate multiple with semicolon. - all skill bonus
- Bonus levels given to all skills of a class within a level range when equipped with the item. Expected format is
class, min level, max level, skill level bonus
. Separate multiple with semicolon. - skill alteration
- Changes to a skill that is not a level change. Expected format is
class(gender), skill name
. Gender has to be included even for classes that do not have gender variants. For common skills, use Common forclass(gender)
. Separate multiple with semicolon. - option (1,2,3,4) damage value
- The damage value provided by a particular option. Only used if option type is set to fixed.
- option (1,2,3,4) buff power
- The buff power provided by a particular option. Only used if option type is set to fixed.
- option (1,2,3,4) description
- The description of a particular option. Only used if option type is set to fixed.
- fusion option description
- The description an option provided by a piece of Fusion equipment. Only used if option type is set to fusion.
- source
- The source of a piece of fusion gear. Only used if option type is set to fixed, and is simply used to determine the kind of tag icon to use. Allowed values are ispin or bakal.
- tags
- The tags associated with a piece of equipment in the DFOpedia, delimited by semi-colons (;). Do not include the hashtag symbol, as it is added automatically.
- flavor text
- Flavor text on the item. Gray text at the bottom of the weapon description if it exists.
- availability
- The availability of the item. Set to old if the item was obtainable before but can not be acquired anymore, event if the item is exclusive to events, item shop if the item is exclusive to the item shop, or available if it is currently available. Defaults to available.
- categorize
- Set to n to disable auto-categorization. Defaults to y.
Examples
Fixed Options
Example
Custom Options
Example
Fusion Option
Example