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 "User:Dfoplayer/TestEquipmentInfo"

From DFO World Wiki
Jump to: navigation, search
(if condition check?)
(ugh. did i forget this too?)
Line 206: Line 206:
 
{{Quotation|long=y|
 
{{Quotation|long=y|
 
{{#var:effects}}}}{{#if:{{{description|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}<div class="compact">
 
{{#var:effects}}}}{{#if:{{{description|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}<div class="compact">
{{#replace:{{{description}}}|*|&#42;}}</div><!-- dfoplayer. move description from effects variable because it exceed 1000 character limit. Also, disable semantics. We should not store the whole string.{{#set:Has effect description={{#replace:{{{description}}}|*|&#42;}}}}-->
+
<!--{{#replace:{{{description}}}|*|&#42;}}--></div><!-- dfoplayer. move description from effects variable because it exceed 1000 character limit. Also, disable semantics. We should not store the whole string.{{#set:Has effect description={{#replace:{{{description}}}|*|&#42;}}}}-->
 
|}}
 
|}}
 
|}}<!--
 
|}}<!--

Revision as of 15:26, 25 February 2019

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 = 
| image = 
| slot = 
| weapon type = 
| armor weight class = 
| rarity = 
| weight = 
| value = 
| binding = 
| level = 
| class = 
| profession = 
| profession level = 
| expiration type = 
| expiration date = 
| set = 
| usage count = 
| weapon physical attack = 
| weapon magical attack = 
| independent attack = 
| equipment physical defense = 
| equipment magical defense = 
| strength = 
| intelligence = 
| vitality = 
| spirit = 
| exorcism = 
| inflict element = 
| hp maximum = 
| mp maximum = 
| hp recovery = 
| mp recovery = 
| attack speed = 
| movement speed = 
| casting speed = 
| all elemental resistances = 
| fire resist = 
| water resist = 
| light resist = 
| shadow resist = 
| all elemental damage = 
| fire damage = 
| water damage = 
| light damage = 
| shadow damage = 
| evasion rate = 
| inventory weight limit = 
| hit recovery = 
| immobility = 
| jump strength = 
| physical critical chance = 
| magical critical chance = 
| hit rate = 
| town movement speed = 
| poison damage = 
| poison level = 
| poison tolerance = 
| poison duration = 
| burn damage = 
| burn level = 
| burn tolerance = 
| burn duration = 
| bleeding damage = 
| bleeding level = 
| bleeding tolerance = 
| bleeding duration = 
| electrocution damage = 
| electrocution level = 
| electrocution tolerance = 
| electrocution duration = 
| blind level = 
| blind tolerance = 
| blind duration = 
| frozen level = 
| frozen tolerance = 
| frozen duration = 
| slow down level = 
| slow down tolerance = 
| slow down duration = 
| immobility level = 
| immobility tolerance = 
| immobility duration = 
| stone curse damage = 
| stone curse level = 
| stone curse tolerance = 
| stone curse duration = 
| stun level = 
| stun tolerance = 
| stun duration = 
| confuse level = 
| confuse tolerance = 
| confuse duration = 
| curse level = 
| curse tolerance = 
| curse duration = 
| all abnormal status resist = 
| single skill bonus = 
| all skill bonus = 
| skill alteration = 
| legacy strength = 
| legacy intelligence = 
| legacy vitality = 
| legacy spirit = 
| 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}}.
image 
Image for titles and creatures.
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.
profession 
Required profession to use the item.
profession level 
Required level of the profession to use the item.
expiration type 
Type of expiration. Set to daily if the item expires every day, duration if the item expires after a certain amount of time has passed, or date if the item expires on a specific date.
expiration date 
Date in UTC at which the item expires. If expiration type is daily, the expected format is HH:MM (24-hour clock). If expiration type is duration, the expected format is DD HH MM. If expiration type is date, the expected format is YYYY-MM-DD-HH-MM.
set 
Wiki page of the set the item is part of.
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.
exorcism 
Exorcism Parameter of the piece of equipment.
usage count 
Maximum usage count of the piece of equipment.
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.
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.
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 for class(gender). Separate multiple with semicolon.
legacy strength .. legacy spirit 
The legacy/halidom stat bonus the item grants.
aura 
Set to y if the piece of equipment has an aura that is created in a radius around the user when equipped.
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, 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

{{Equipment infobox
| name = Long Example Weapon Name For Line Break
| slot = weapon
| weapon type = zanbato
| rarity = legacy
| value = 12345
| level = 30
| class = slayer, knight
| weapon physical attack = 300
| weapon magical attack = 200
| independent attack = 350
| strength = 20
| intelligence = 20
| physical critical chance = 2
| magical critical chance = 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 = y
| description = Create an aura within 300px that increases stuff.


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.
| 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

Physical Atk.
300
Magical Atk.
200
Indep. Atk.
350
Strength
20
Intelligence
20
Attack Speed
-3%
Physical Crit.
+2%
Magical Crit.
+2%


Common:
Ancient Memory Skill Lvl + 1
Knight(F):
Disarm 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

Create an aura within 300px that increases stuff.


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.