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:Equipment infobox"

From DFO World Wiki
Jump to: navigation, search
m
Line 111: Line 111:
 
   | sub | sub equip | sub equipment = 0.7
 
   | sub | sub equip | sub equipment = 0.7
 
   | magic stone = 0.3
 
   | magic stone = 0.3
 +
  | #default = 0
 
}}}}}
 
}}}}}
| value = {{{value}}}
+
| value = {{{value|0}}}
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
   | boss unique | chronicle | epic = pick up
 
   | boss unique | chronicle | epic = pick up
Line 118: Line 119:
 
   }}
 
   }}
 
  }}
 
  }}
| level = {{{level|}}}
+
| level = {{{level|0}}}
 
| class = {{{class|}}}
 
| class = {{{class|}}}
 
}}
 
}}
Line 174: Line 175:
 
|}}{{#if:{{{movement speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|movement speed|{{{movement speed}}}}}{{#set:Has movement speed bonus={{{movement speed}}}}}
 
|}}{{#if:{{{movement speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|movement speed|{{{movement speed}}}}}{{#set:Has movement speed bonus={{{movement speed}}}}}
 
|}}{{#if:{{{casting speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|casting speed|{{{casting speed}}}}}{{#set:Has casting speed bonus={{{casting speed}}}}}
 
|}}{{#if:{{{casting speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|casting speed|{{{casting speed}}}}}{{#set:Has casting speed bonus={{{casting speed}}}}}
 +
|}}{{#if:{{{all elemental resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|all ele res|{{{all elemental resist}}}}}{{#set:Has all elemental resistances bonus={{{all elemental resist}}}}}
 
|}}{{#if:{{{fire resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|fire resist|{{{fire resist}}}}}{{#set:Has fire resist bonus={{{fire resist}}}}}
 
|}}{{#if:{{{fire resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|fire resist|{{{fire resist}}}}}{{#set:Has fire resist bonus={{{fire resist}}}}}
 
|}}{{#if:{{{water resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water resist|{{{water resist}}}}}{{#set:Has water resist bonus={{{water resist}}}}}
 
|}}{{#if:{{{water resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water resist|{{{water resist}}}}}{{#set:Has water resist bonus={{{water resist}}}}}
 
|}}{{#if:{{{light resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|light resist|{{{light resist}}}}}{{#set:Has light resist bonus={{{light resist}}}}}
 
|}}{{#if:{{{light resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|light resist|{{{light resist}}}}}{{#set:Has light resist bonus={{{light resist}}}}}
 
|}}{{#if:{{{shadow resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|shadow resist|{{{shadow resist}}}}}{{#set:Has shadow resist bonus={{{shadow resist}}}}}
 
|}}{{#if:{{{shadow resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|shadow resist|{{{shadow resist}}}}}{{#set:Has shadow resist bonus={{{shadow resist}}}}}
 +
|}}{{#if:{{{all elemental damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|all ele dmg|{{{all elemental damage}}}}}{{#set:Has all elemental damage bonus={{{all elemental damage}}}}}
 
|}}{{#if:{{{fire damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|fire damage|{{{fire damage}}}}}{{#set:Has fire damage bonus={{{fire damage}}}}}
 
|}}{{#if:{{{fire damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|fire damage|{{{fire damage}}}}}{{#set:Has fire damage bonus={{{fire damage}}}}}
 
|}}{{#if:{{{water damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water damage|{{{water damage}}}}}{{#set:Has water damage bonus={{{water damage}}}}}
 
|}}{{#if:{{{water damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water damage|{{{water damage}}}}}{{#set:Has water damage bonus={{{water damage}}}}}
Line 209: Line 212:
 
|}}{{#if:{{{blind level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|blind level|{{{blind level}}}}}{{#set:Has blind level bonus={{{blind level}}}}}
 
|}}{{#if:{{{blind level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|blind level|{{{blind level}}}}}{{#set:Has blind level bonus={{{blind level}}}}}
 
|}}{{#if:{{{blind tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|blind tolerance|{{{blind tolerance}}}}}{{#set:Has blind tolerance bonus={{{blind tolerance}}}}}
 
|}}{{#if:{{{blind tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|blind tolerance|{{{blind tolerance}}}}}{{#set:Has blind tolerance bonus={{{blind tolerance}}}}}
|}}{{#if:{{{freeze level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|freeze level|{{{freeze level}}}}}{{#set:Has freeze level bonus={{{freeze level}}}}}
+
|}}{{#if:{{{frozen level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|frozen level|{{{frozen level}}}}}{{#set:Has frozen level bonus={{{frozen level}}}}}
|}}{{#if:{{{freeze tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|freeze tolerance|{{{freeze tolerance}}}}}{{#set:Has freeze tolerance bonus={{{freeze tolerance}}}}}
+
|}}{{#if:{{{frozen tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|frozen tolerance|{{{frozen tolerance}}}}}{{#set:Has frozen tolerance bonus={{{frozen tolerance}}}}}
 
|}}{{#if:{{{slow down level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|slow down level|{{{slow down level}}}}}{{#set:Has slow down level bonus={{{slow down level}}}}}
 
|}}{{#if:{{{slow down level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|slow down level|{{{slow down level}}}}}{{#set:Has slow down level bonus={{{slow down level}}}}}
 
|}}{{#if:{{{slow down tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|slow down tolerance|{{{slow down tolerance}}}}}{{#set:Has slow down tolerance bonus={{{slow down tolerance}}}}}
 
|}}{{#if:{{{slow down tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|slow down tolerance|{{{slow down tolerance}}}}}{{#set:Has slow down tolerance bonus={{{slow down tolerance}}}}}
Line 229: Line 232:
 
|}}{{#if:{{{flavor text|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}<span style="font-style: italic;">[[Has flavor text::{{{flavor text}}}]]</span>
 
|}}{{#if:{{{flavor text|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}<span style="font-style: italic;">[[Has flavor text::{{{flavor text}}}]]</span>
 
|}}}}{{#if:{{#var:effects}}|
 
|}}}}{{#if:{{#var:effects}}|
== Effects ==
+
{{Quotation|long=y|{{#var:effects}}}}
 
 
{{#var:effects}}
 
 
|}}<!--
 
|}}<!--
  
Line 308: Line 309:
 
| spirit =  
 
| spirit =  
 
| exorcism =  
 
| exorcism =  
| set =
 
 
| inflict element =  
 
| inflict element =  
 
| hp =  
 
| hp =  
Line 350: Line 350:
 
| blind level =  
 
| blind level =  
 
| blind tolerance =  
 
| blind tolerance =  
| freeze level =  
+
| frozen level =  
| freeze tolerance =  
+
| frozen tolerance =  
 
| slow down level =  
 
| slow down level =  
 
| slow down tolerance =  
 
| slow down tolerance =  

Revision as of 18:49, 6 June 2015

Description

TODO skill bonus

This templates creates an infobox with description for use in the item's page. Uses Template:Default item properties.

Usage

{{Equipment infobox
| name = 
| icon = 
| slot = 
| weapon type = 
| armor weight class = 
| rarity = 
| weight = 
| value = 
| binding = 
| level = 
| class = 
| set = 
| physical power = 
| magical power = 
| base attack = 
| physical defense = 
| magical defense = 
| strength = 
| intelligence = 
| vitality = 
| spirit = 
| exorcism = 
| inflict element = 
| hp = 
| mp = 
| hp recovery = 
| mp recovery = 
| attack speed = 
| movement speed = 
| casting speed = 
| all elemental resist = 
| fire resist = 
| water resist = 
| light resist = 
| shadow resist = 
| all elemental damage = 
| fire damage = 
| water damage = 
| light damage = 
| shadow damage = 
| evasion rate = 
| weight limit = 
| hit recovery = 
| immobility = 
| jump strength = 
| physical crit = 
| magical crit = 
| hit rate = 
| town movement speed = 
| poison dmg = 
| poison level = 
| poison tolerance = 
| burn dmg = 
| burn level = 
| burn tolerance = 
| bleeding dmg = 
| bleeding level = 
| bleeding tolerance = 
| electrocution dmg = 
| electrocution level = 
| electrocution tolerance = 
| blind level = 
| blind tolerance = 
| frozen level = 
| frozen tolerance = 
| slow down level = 
| slow down tolerance = 
| immobility level = 
| immobility tolerance = 
| stone curse level = 
| stone curse tolerance = 
| stun level = 
| stun tolerance = 
| confuse level = 
| confuse tolerance = 
| curse level = 
| curse tolerance = 
| all abnormal resist = 
| skill bonus = 
| description = 
| flavor text = 
| availability = 
| 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}}.
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, bottom, shoes or belt. Allowed values are cloth, leather, light armor, heavy armor or plate armor.
rarity 
Required. Rarity of the item.
weight 
Weight of the item in kg.
value 
Gold value of the weapon when sold to an NPC.
binding 
Under what conditions the item binds. none for no binding, use for soul-bind on use, pick up for soul-bind on pick up, account for account-bound, account on use for account-bound on use, and account soul for account-bound on pick up, soul-bound on use. Defaults to the appropriate binding depending on rarity.
level 
Required level to equip the item.
class 
Required class to equip the item. Defaults to the appropriate classes depending on weapon type.
set 
Name of the set the item is part of.
physical power 
Physical Power of the piece of equipment.
magical power 
Magical Power of the piece of equipment.
base attack 
Base Attack of the piece of equipment.
physical defense 
Physical Defense of the piece of equipment.
magical defense 
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.
exorcism 
Exorcism Parameter of the piece of equipment.
set 
Name of the set the item is part of.
inflict element 
Element attached to the equipment. Separate multiple with a comma.
hp .. all abnormal status resist 
Attribute bonuses as numbers. Units such as % or per Min are to be omitted. weight limit defaults to 3 if slot is belt.
skill bonus 
Bonus levels given to skills when equipped with the item. Name of the skill, followed by a comma, followed by the skill level bonus as number. Separate multiple with semicolon.
description 
Effect description of the item. All remaining effects the weapon has.
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, or available if it is currently available. Defaults to available.
categorize 
Set to n to disable auto-categorization. Defaults to y.

Examples

{{Equipment infobox
| name = Long Example Weapon Name For Line Break
| slot = weapon
| weapon type = zanbato
| rarity = legacy
| value = 12345
| level = 30
| class = slayer, elven knight
| physical power = 300
| magical power = 200
| base attack = 350
| strength = 20
| intelligence = 20
| physical crit = 2
| magic crit = 2
| attack speed = -3
| description = Lorem ipsum dolor sit amet<br>consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
| flavor text = What kind of weapon is this? -Editor
}}
No icon available
Long Example Weapon Name For Line Break
Slot
Weapon
Weapon type
Zanbato
Rarity
Legacy
Weight
4 kg
Value
12345 Gold
Binding
Sealed
Req. level
30
Req. class
Slayer, Elven Knight

Strength
20
Intelligence
20
Attack Speed
-3%


What kind of weapon is this? -Editor

Lorem ipsum dolor sit amet
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.