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
Line 13: Line 13:
 
   }}
 
   }}
 
  | [[Image:No_Icon.png|link=Special:Upload&wpDestFile={{PAGENAME}}.png|No icon available]]{{#set:Has game icon={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png}}
 
  | [[Image:No_Icon.png|link=Special:Upload&wpDestFile={{PAGENAME}}.png|No icon available]]{{#set:Has game icon={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png}}
}}</td><td style="text-align: center; vertical-align: middle;"> [[Has name::{{{name|{{BASEPAGENAME}}}}}]]</td></tr></table>
+
}}</td><td style="text-align: center; vertical-align: middle;"> {{{name|{{BASEPAGENAME}}}}}{{#set:Has name={{{name|{{BASEPAGENAME}}}}}}}{{#set:Has lowercase name={{lc:{{{name|{{BASEPAGENAME}}}}}}}}}</td></tr></table>
 
|-
 
|-
 
| style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;"  | Slot || [[Has equipment slot::{{#arraymap:{{{slot|}}}|/|@@@|{{ucfirst:{{lc:@@@}}}}|/}}]]<!-- Capitalize to "Head/Shoulders" -->
 
| style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;"  | Slot || [[Has equipment slot::{{#arraymap:{{{slot|}}}|/|@@@|{{ucfirst:{{lc:@@@}}}}|/}}]]<!-- Capitalize to "Head/Shoulders" -->
Line 117: Line 117:
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
   | boss unique | chronicle | epic = untradable
 
   | boss unique | chronicle | epic = untradable
   | rare | legacy | legendary | unique | relic = sealed
+
   | rare | legacy | legendary | unique | halidom = sealed
 
   }}
 
   }}
 
  }}
 
  }}
Line 123: Line 123:
 
| class = {{{class|}}}
 
| class = {{{class|}}}
 
}}
 
}}
{{#ifeq: {{{physical power|0}}} | 0 ||
+
{{#ifeq: {{{physical attack|0}}} | 0 ||
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Phys. power {{!!}} [[Has physical power::{{{physical power}}}]]
+
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Physical atk. {{!!}} [[Has weapon physical attack::{{{physical attack}}}]]
 
{{!-}}
 
{{!-}}
 
}}
 
}}
{{#ifeq: {{{magical power|0}}} | 0 ||
+
{{#ifeq: {{{magical attack|0}}} | 0 ||
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Mag. power {{!!}} [[Has magical power::{{{magical power}}}]]
+
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Magical atk. {{!!}} [[Has weapon magical attack::{{{magical attack}}}]]
 
{{!-}}
 
{{!-}}
 
}}
 
}}
{{#ifeq: {{{base attack|0}}} | 0 ||
+
{{#ifeq: {{{independent attack|0}}} | 0 ||
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Base attack {{!!}} [[Has base attack::{{{base attack}}}]]
+
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Independent atk. {{!!}} [[Has independent attack::{{{independent attack}}}]]
 
{{!-}}
 
{{!-}}
 
}}
 
}}
 
{{#ifeq: {{{physical defense|0}}} | 0 ||
 
{{#ifeq: {{{physical defense|0}}} | 0 ||
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Phys. defense {{!!}} [[Has physical defense::{{{physical defense}}}]]
+
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Physical def. {{!!}} [[Has equipment physical defense::{{{physical defense}}}]]
 
{{!-}}
 
{{!-}}
 
}}
 
}}
 
{{#ifeq: {{{magical defense|0}}} | 0 ||
 
{{#ifeq: {{{magical defense|0}}} | 0 ||
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Mag. defense {{!!}} [[Has magical defense::{{{magical defense}}}]]
+
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Magical def. {{!!}} [[Has equipment magical defense::{{{magical defense}}}]]
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Line 319: Line 319:
 
| class =  
 
| class =  
 
| set =  
 
| set =  
| physical power =  
+
| physical attack =  
| magical power =  
+
| magical attack =  
| base attack =  
+
| independent attack =  
 
| physical defense =  
 
| physical defense =  
 
| magical defense =  
 
| magical defense =  
Line 410: Line 410:
 
; class : Required class to equip the item. Defaults to the appropriate classes depending on weapon type.
 
; 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.
 
; set : Name of the set the item is part of.
; physical power : Physical Power of the piece of equipment.
+
; physical attack : Weapon Physical Attack of the piece of equipment.
; magical power : Magical Power of the piece of equipment.
+
; magical attack : Weapon Magical Attack of the piece of equipment.
; base attack : Base Attack of the piece of equipment.
+
; independent attack : Independent Attack of the piece of equipment.
; physical defense : Physical Defense of the piece of equipment.
+
; physical defense : Equipment Physical Defense of the piece of equipment.
; magical defense : Magical Defense of the piece of equipment.
+
; magical defense : Equipment Magical Defense of the piece of equipment.
 
; strength : Strength of the piece of equipment.
 
; strength : Strength of the piece of equipment.
 
; intelligence : Intelligence of the piece of equipment.
 
; intelligence : Intelligence of the piece of equipment.
Line 441: Line 441:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
| physical power = 300
+
| physical attack = 300
| magical power = 200
+
| magical attack = 200
| base attack = 350
+
| independent attack = 350
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
Line 464: Line 464:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
| physical power = 300
+
| physical attack = 300
| magical power = 200
+
| magical attack = 200
| base attack = 350
+
| independent attack = 350
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20

Revision as of 11:51, 29 January 2016

Description

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 attack = 
| magical attack = 
| independent 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 = 
| slow down duration = 
| 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 = 
| single skill bonus = 
| all skill bonus = 
| aura = 
| 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, top, 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 
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 or X tca for a trade count of X and the item becoming account bound afterwards. Defaults to none.
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 attack 
Weapon Physical Attack of the piece of equipment.
magical attack 
Weapon Magical Attack of the piece of equipment.
independent attack 
Independent Attack of the piece of equipment.
physical defense 
Equipment Physical Defense of the piece of 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.
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 resist 
Attribute bonuses as numbers. Units such as % or per Min are to be omitted. weight limit defaults to 3 if slot is belt.
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 for class(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.
aura 
Aura that is created around the user when the item is equipped. Separate multiple aura effects 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, event if the item is exclusive to events, 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, knight
| physical attack = 300
| magical attack = 200
| independent attack = 350
| strength = 20
| intelligence = 20
| physical crit = 2
| magic crit = 2
| attack speed = -3
| single skill bonus = Common, Ancient Memory, 1; Knight(F), Disarm, 1
| all skill bonus = Slayer, 20, 25, 2; Knight, 20, 25, 2
| aura = Create an aura within 300px that increases stuff.; When equipped, grants an aura that does other stuff.
| 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, Knight

Indep. Atk.
350
Strength
20
Intelligence
20
Attack Speed
-3%


Common:
Ancient Memory Skill Lvl + 1
Knight(F):
Disarm Skill Lvl + 1
Intercept Skill Lvl + 1

Slayer Level 20- 25 All Skill Lv + 2 (Special Skills excluded)
Knight Level 20- 25 All Skill Lv + 2 (Special Skills excluded)
The skill level increases based on the initial skill level. There are no increases for skills that are mastered at Level 1.
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.