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 1: Line 1:
<includeonly>{{#set:Has game context=Item}}{{#set:Has item type=Equipment}}{{#switch: {{lc:{{{availability|}}}}}
+
<includeonly>{{#css:User:Gardios/Infobox.css}}{{#set:Has game context=Item}}{{#set:Has item type=Equipment}}{{#switch: {{lc:{{{availability|}}}}}
 
| old = {{#set:Has availability status=Old}}
 
| old = {{#set:Has availability status=Old}}
 
| event = {{#set:Has availability status=Event}}
 
| event = {{#set:Has availability status=Event}}
 
| #default = {{#set:Has availability status=Available}}
 
| #default = {{#set:Has availability status=Available}}
 +
}}{{#if:{{{skill alteration|}}}|{{#arraymap:{{{skill alteration}}}|;|@@@|{{#set:Has skill alteration={{#explode:@@@|,|0}};{{#explode:@@@|,|1}}}}|}}
 
}}
 
}}
{|class="infobox" style="width:20em;"
+
<div class="infobox">
|-
+
<div class="header item">
! colspan=2 style="background:#ccffcc; vertical-align: middle;" | <table style="width: 100%;"><tr><td style="width: 28px; vertical-align: middle;">{{#if:{{{icon|}}}
+
<table>
 +
<tr>
 +
  <td class="icon">{{#if:{{{icon|}}}
 
  |[[Has game icon::File:{{{icon}}}.png|28px]]
 
  |[[Has game icon::File:{{{icon}}}.png|28px]]
 
  | {{#ifexist:Media:{{PAGENAME}}.png
 
  | {{#ifexist:Media:{{PAGENAME}}.png
 
     |[[Has game icon::File:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png|28px]]
 
     |[[Has game icon::File:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png|28px]]
     |[[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{PAGENAME}}.png}}}}|No icon available]]{{#set:Has game icon={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png}}
+
     |[[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{PAGENAME}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{{slot|}}}
 +
      | weapon = {{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 +
      | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{armor weight class|}}}
 +
        | cloth | cloth armor = Cloth Armor
 +
        | leather | leather armor = Leather Armor
 +
        | light | light armor = Light Armor
 +
        | heavy | heavy armor = Heavy Armor
 +
        | plate | plate armor = Plate Armor
 +
        }}
 +
      |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 +
      }} Icons]]}}}}|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}}
+
  | [[Image:No_Icon.png|link=Special:Upload&wpDestFile={{PAGENAME}}.png&wpUploadDescription={{urlencode:[[Category:{{#switch: {{{slot|}}}
}}</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>
+
      | weapon = {{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
|-
+
      | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{armor weight class|}}}
| 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" -->
+
        | cloth | cloth armor = Cloth Armor
|-
+
        | leather | leather armor = Leather Armor
 +
        | light | light armor = Light Armor
 +
        | heavy | heavy armor = Heavy Armor
 +
        | plate | plate armor = Plate Armor
 +
        }}
 +
      |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 +
      }} Icons]]}}|No icon available]]{{#set:Has game icon={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png}}
 +
}}</td>
 +
  <td class="caption"> {{{name|{{BASEPAGENAME}}}}}{{#set:Has name={{{name|{{BASEPAGENAME}}}}}}}{{#set:Has lowercase name={{lc:{{{name|{{BASEPAGENAME}}}}}}}}}</td>
 +
</tr>
 +
</table>
 +
</div>
 +
<div class="body">
 +
; Slot
 +
: [[Has equipment slot::{{#arraymap:{{{slot|}}}|/|@@@|{{ucfirst:{{lc:@@@}}}}|/}}]]
 
{{#switch: {{{slot|}}}
 
{{#switch: {{{slot|}}}
| weapon = {{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Weapon type {{!!}} {{#switch: {{lc:{{{weapon type|}}}}}
+
| weapon = ; Weapon type
| zanbato | bludgeon | short sword | katana | lightsabre
+
: [[Has weapon type::{{#arraymap:{{{weapon type|}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
| gauntlets | boxing gloves | claw | knuckle | tonfa
+
| head | head/shoulder | shoulder | top | bottom | belt | shoes = ; Weight class
| hand cannon | musket | revolver | bowgun | auto gun
+
: {{#switch: {{lc:{{{armor weight class|}}}}}
| spear | pole | staff | rod | broom
 
| battle axe | totem | cross | scythe | rosary
 
| dagger | dual blade | wand | chakra weapon = [[Has weapon type::{{#arraymap:{{{weapon type|}}}|&#32;|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
 
| ''Unknown''
 
|}}
 
{{!-}}
 
| head | head/shoulder | shoulder | top | bottom | belt | shoes = {{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Weight class {{!!}} {{#switch: {{lc:{{{armor weight class|}}}}}
 
 
  | cloth | cloth armor = [[Has armor weight class::Cloth]]
 
  | cloth | cloth armor = [[Has armor weight class::Cloth]]
 
  | leather | leather armor = [[Has armor weight class::Leather]]
 
  | leather | leather armor = [[Has armor weight class::Leather]]
Line 36: Line 56:
 
  | ''Unknown''
 
  | ''Unknown''
 
|}}
 
|}}
{{!-}}
 
 
}}
 
}}
 
{{Default item properties
 
{{Default item properties
 
| rarity = {{{rarity|}}}
 
| rarity = {{{rarity|}}}
| weight = {{{weight|{{#switch:{{{slot|}}}
+
| weight = {{{weight|{{Default equipment weight|{{{slot|}}}|{{#switch: {{{slot|}}}
  | weapon = {{#switch: {{lc:{{{weapon type|}}}}}
+
  | weapon = {{{weapon type|}}}
    | zanbato = 4
+
   | head | shoulder | head/shoulder | top | bottom | belt | shoes = {{{armor weight class|}}}
    | bludgeon = 3.4
+
}}}}}}}
    | short sword = 3.1
 
    | katana = 2.8
 
    | lightsabre = 2.5
 
    | gauntlets = 2.9
 
    | boxing gloves = 2.1
 
    | claw = 2.3
 
    | knuckle = 1.9
 
    | tonfa = 2.3
 
    | hand cannon = 2.8
 
    | musket = 2.1
 
    | revolver = 2
 
    | bowgun = 2.3
 
    | auto gun = 1.5
 
    | spear = 3.2
 
    | pole = 2.4
 
    | staff = 2.4
 
    | rod = 2.2
 
    | broom = 2.5
 
    | battle axe = 4
 
    | totem = 3.4
 
    | cross = 3.1
 
    | scythe = 2.8
 
    | rosary = 2.5
 
    | dagger = 2.1
 
    | dual blade = 3.1
 
    | wand = 2.3
 
    | chakra weapon = 2.1
 
    }}
 
  | top = {{#switch: {{lc:{{{armor weight class|}}}}}
 
    | cloth | cloth armor = 1.4
 
    | leather | leather armor = 1.9
 
    | light | light armor = 3.1
 
    | heavy | heavy armor = 3.6
 
    | plate | plate armor = 5
 
    }}
 
   | head/shoulder | head | shoulder = {{#switch: {{lc:{{{armor weight class|}}}}}
 
    | cloth | cloth armor = 0.8
 
    | leather | leather armor = 1.1
 
    | light | light armor = 1.9
 
    | heavy | heavy armor = 2.3
 
    | plate | plate armor = 3.2
 
    }}
 
  | bottom = {{#switch: {{lc:{{{armor weight class|}}}}}
 
    | cloth | cloth armor = 1.1
 
    | leather | leather armor = 1.5
 
    | light | light armor = 2.5
 
    | heavy | heavy armor = 2.9
 
    | plate | plate armor = 4.1
 
    }}
 
  | belt = {{#switch: {{lc:{{{armor weight class|}}}}}
 
    | cloth | cloth armor = 0.55
 
    | leather | leather armor = 0.8
 
    | light | light armor = 1.2
 
    | heavy | heavy armor = 1.4
 
    | plate | plate armor = 2
 
    }}
 
  | shoes = {{#switch: {{lc:{{{armor weight class|}}}}}
 
    | cloth | cloth armor = 0.6
 
    | leather | leather armor = 0.9
 
    | light | light armor = 1.4
 
    | heavy | heavy armor = 1.6
 
    | plate | plate armor = 2.2
 
    }}
 
  | necklace = 0.4
 
  | ring = 0.3
 
  | bracelet = 0.4
 
  | sub | sub equip | sub equipment = 0.7
 
  | magic stone = 0.3
 
  | #default = 0
 
}}}}}
 
 
| value = {{{value|0}}}
 
| value = {{{value|0}}}
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
Line 122: Line 71:
 
| level = {{{level|0}}}
 
| level = {{{level|0}}}
 
| class = {{{class|}}}
 
| class = {{{class|}}}
 +
| profession = {{{profession|}}}
 +
| profession level = {{{profession level|}}}
 +
| expiration type = {{{expiration type|}}}
 +
| expiration date = {{{expiration date|}}}
 +
}}<!-- end Default item properties -->
 +
{{#if: {{{usage count|}}} |
 +
; Usage count
 +
: {{{usage count}}}
 +
|}}
 +
{{#arraymap:{{Stat enumeration|base=only}}|,|@@@|
 +
{{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
 +
<dt>{{#switch:{{lc:@@@}}
 +
| weapon physical attack = Phys. Atk.
 +
| weapon magical attack = Mag. Atk.
 +
| independent attack = Indep. Atk.
 +
|#default = @@@
 +
}}</dt><dd>[[Has {{lc:@@@}}::{{{{{lc:@@@}}|}}}]]</dd>
 
}}
 
}}
{{#ifeq: {{{physical attack|0}}} | 0 ||
+
|}}
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Physical atk. {{!!}} [[Has weapon physical attack::{{{physical attack}}}]]
+
{{#arraymap:{{Stat enumeration|base=exclude}}|,|@@@|
{{!-}}
+
{{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
}}
+
<dt>{{#switch:{{lc:@@@}}
{{#ifeq: {{{magical attack|0}}} | 0 ||
+
| movement speed = Movement Spd.
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Magical atk. {{!!}} [[Has weapon magical attack::{{{magical attack}}}]]
+
| physical critical chance = Phys. Crit. Chance
{{!-}}
+
| magical critical chance = Mag. Crit. Chance
}}
+
| inventory weight limit = Weight Limit
{{#ifeq: {{{independent attack|0}}} | 0 ||
+
| town movement speed = Town Movement Spd.
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Independent atk. {{!!}} [[Has independent attack::{{{independent attack}}}]]
+
|#default = @@@
{{!-}}
+
}}</dt><dd>[[Has {{lc:@@@}} bonus::{{{{{lc:@@@}}|}}}]]</dd>
}}
 
{{#ifeq: {{{physical defense|0}}} | 0 ||
 
{{!}} 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 ||
 
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Magical def. {{!!}} [[Has equipment magical defense::{{{magical defense}}}]]
 
{{!-}}
 
}}
 
{{#ifeq: {{{strength|0}}} | 0 ||
 
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Strength {{!!}} [[Has strength::{{{strength}}}]]
 
{{!-}}
 
}}
 
{{#ifeq: {{{intelligence|0}}} | 0 ||
 
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Intelligence {{!!}} [[Has intelligence::{{{intelligence}}}]]
 
{{!-}}
 
}}
 
{{#ifeq: {{{vitality|0}}} | 0 ||
 
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Vitality {{!!}} [[Has vitality::{{{vitality}}}]]
 
{{!-}}
 
}}
 
{{#ifeq: {{{spirit|0}}} | 0 ||
 
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Spirit {{!!}} [[Has spirit::{{{spirit}}}]]
 
{{!-}}
 
}}
 
{{#ifeq: {{{exorcism|0}}} | 0 ||
 
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Exorcism {{!!}} [[Has exorcism::{{{exorcism}}}]]
 
{{!-}}
 
 
}}
 
}}
 +
|}}
 
{{#if: {{{set|}}} |
 
{{#if: {{{set|}}} |
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Set {{!!}} [[Is part of set::{{{set}}}]]
+
; Set
{{!-}}
+
: [[Is part of set::{{{set}}}]]
 
|}}
 
|}}
|}
+
{{clear}}</div>
 +
</div>
  
{{#vardefine:effects|{{#if:{{{hp|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hp|{{{hp}}}}}{{#set:Has hp maximum bonus={{{hp}}}}}
+
{{#vardefine:effects|
|}}{{#if:{{{mp|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|mp|{{{mp}}}}}{{#set:Has mp maximum bonus={{{mp}}}}}
+
{{#if:{{{inflict element|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
|}}{{#if:{{{hp recovery|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hp recovery|{{{hp recovery}}}}}{{#set:Has hp recovery bonus={{{hp recovery}}}}}
 
|}}{{#if:{{{mp recovery|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|mp recovery|{{{mp recovery}}}}}{{#set:Has mp recovery bonus={{{mp recovery}}}}}
 
|}}{{#if:{{{attack speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|attack speed|{{{attack speed}}}}}{{#set:Has attack speed bonus={{{attack 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:{{{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:{{{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:{{{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:{{{water damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water damage|{{{water damage}}}}}{{#set:Has water damage bonus={{{water damage}}}}}
 
|}}{{#if:{{{light damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|light damage|{{{light damage}}}}}{{#set:Has light damage bonus={{{light damage}}}}}
 
|}}{{#if:{{{shadow damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|shadow damage|{{{shadow damage}}}}}{{#set:Has shadow damage bonus={{{shadow damage}}}}}
 
|}}{{#if:{{{inflict element|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
 
 
| fire | water | light | shadow = Inflict [[Inflicts elemental damage::{{ucfirst:{{lc:@@@}}}}]] Damage
 
| fire | water | light | shadow = Inflict [[Inflicts elemental damage::{{ucfirst:{{lc:@@@}}}}]] Damage
 
| #default = Inflict Unknown Elemental Damage
 
| #default = Inflict Unknown Elemental Damage
 
}}|<br>}}
 
}}|<br>}}
|}}{{#if:{{{evasion rate|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|evasion rate|{{{evasion rate}}}}}{{#set:Has evasion rate bonus={{{evasion rate}}}}}
 
|}}{{#if:{{{weight limit|{{#ifeq:{{{slot|}}}|belt|3|}}}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|weight limit|{{{weight limit|{{#ifeq:{{{slot|}}}|belt|3|}}}}}}}{{#set:Has inventory weight limit bonus={{{weight limit|{{#ifeq:{{{slot|}}}|belt|3|}}}}}}}
 
|}}{{#if:{{{hit recovery|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hit recovery|{{{hit recovery}}}}}{{#set:Has hit recovery bonus={{{hit recovery}}}}}
 
|}}{{#if:{{{immobility|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|immobility|{{{immobility}}}}}{{#set:Has immobility bonus={{{immobility}}}}}
 
|}}{{#if:{{{jump strength|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|jump strength|{{{jump strength}}}}}{{#set:Has jump strength bonus={{{jump strength}}}}}
 
|}}{{#if:{{{physical crit|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|physical crit|{{{physical crit}}}}}{{#set:Has physical critical chance bonus={{{physical crit}}}}}
 
|}}{{#if:{{{magic crit|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|magic crit|{{{magic crit}}}}}{{#set:Has magic critical chance bonus={{{magic crit}}}}}
 
|}}{{#if:{{{hit rate|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hit rate|{{{hit rate}}}}}{{#set:Has hit rate bonus={{{hit rate}}}}}
 
|}}{{#if:{{{town movement speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|town movement speed|{{{town movement speed}}}}}{{#set:Has town movement speed bonus={{{town movement speed}}}}}
 
|}}{{#if:{{{poison dmg|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|poison dmg|{{{poison dmg}}}}}{{#set:Has poison damage bonus={{{poison dmg}}}}}
 
|}}{{#if:{{{poison level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|poison level|{{{poison level}}}}}{{#set:Has poison level bonus={{{poison level}}}}}
 
|}}{{#if:{{{poison tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|poison tolerance|{{{poison tolerance}}}}}{{#set:Has poison tolerance bonus={{{poison tolerance}}}}}
 
|}}{{#if:{{{poison duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|poison duration|{{{poison duration}}}}}{{#set:Has poison duration bonus={{{poison duration}}}}}
 
|}}{{#if:{{{burn dmg|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|burn dmg|{{{burn dmg}}}}}{{#set:Has burn damage bonus={{{burn dmg}}}}}
 
|}}{{#if:{{{burn level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|burn level|{{{burn level}}}}}{{#set:Has burn level bonus={{{burn level}}}}}
 
|}}{{#if:{{{burn tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|burn tolerance|{{{burn tolerance}}}}}{{#set:Has burn tolerance bonus={{{burn tolerance}}}}}
 
|}}{{#if:{{{burn duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|burn duration|{{{burn duration}}}}}{{#set:Has burn duration bonus={{{burn duration}}}}}
 
|}}{{#if:{{{bleeding dmg|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|bleeding dmg|{{{bleeding dmg}}}}}{{#set:Has bleeding damage bonus={{{bleeding dmg}}}}}
 
|}}{{#if:{{{bleeding level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|bleeding level|{{{bleeding level}}}}}{{#set:Has bleeding level bonus={{{bleeding level}}}}}
 
|}}{{#if:{{{bleeding tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|bleeding tolerance|{{{bleeding tolerance}}}}}{{#set:Has bleeding tolerance bonus={{{bleeding tolerance}}}}}
 
|}}{{#if:{{{bleeding duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|bleeding duration|{{{bleeding duration}}}}}{{#set:Has bleeding duration bonus={{{bleeding duration}}}}}
 
|}}{{#if:{{{electrocution dmg|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|electrocution dmg|{{{electrocution dmg}}}}}{{#set:Has electrocution damage bonus={{{electrocution dmg}}}}}
 
|}}{{#if:{{{electrocution level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|electrocution level|{{{electrocution level}}}}}{{#set:Has electrocution level bonus={{{electrocution level}}}}}
 
|}}{{#if:{{{electrocution tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|electrocution tolerance|{{{electrocution tolerance}}}}}{{#set:Has electrocution tolerance bonus={{{electrocution tolerance}}}}}
 
|}}{{#if:{{{electrocution duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|electrocution duration|{{{electrocution duration}}}}}{{#set:Has electrocution duration bonus={{{electrocution duration}}}}}
 
|}}{{#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 duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|blind duration|{{{blind duration}}}}}{{#set:Has blind duration bonus={{{blind duration}}}}}
 
|}}{{#if:{{{frozen level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|frozen level|{{{frozen level}}}}}{{#set:Has frozen level bonus={{{frozen level}}}}}
 
|}}{{#if:{{{frozen tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|frozen tolerance|{{{frozen tolerance}}}}}{{#set:Has frozen tolerance bonus={{{frozen tolerance}}}}}
 
|}}{{#if:{{{frozen duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|frozen duration|{{{frozen duration}}}}}{{#set:Has frozen duration bonus={{{frozen duration}}}}}
 
|}}{{#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 duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|slow down duration|{{{slow down duration}}}}}{{#set:Has slow down duration bonus={{{slow down duration}}}}}
 
|}}{{#if:{{{slow down duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|slow down duration|{{{slow down duration}}}}}{{#set:Has slow down duration bonus={{{slow down duration}}}}}
 
|}}{{#if:{{{immobility level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|immobility level|{{{immobility level}}}}}{{#set:Has immobility level bonus={{{immobility level}}}}}
 
|}}{{#if:{{{immobility tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|immobility tolerance|{{{immobility tolerance}}}}}{{#set:Has immobility tolerance bonus={{{immobility tolerance}}}}}
 
|}}{{#if:{{{immobility duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|immobility duration|{{{immobility duration}}}}}{{#set:Has immobility duration bonus={{{immobility duration}}}}}
 
|}}{{#if:{{{stone curse dmg|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stone curse dmg|{{{stone curse dmg}}}}}{{#set:Has stone curse damage bonus={{{stone curse dmg}}}}}
 
|}}{{#if:{{{stone curse level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stone curse level|{{{stone curse level}}}}}{{#set:Has stone curse level bonus={{{stone curse level}}}}}
 
|}}{{#if:{{{stone curse tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stone curse tolerance|{{{stone curse tolerance}}}}}{{#set:Has stone curse tolerance bonus={{{stone curse tolerance}}}}}
 
|}}{{#if:{{{stone curse duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stone curse duration|{{{stone curse duration}}}}}{{#set:Has stone curse duration bonus={{{stone curse duration}}}}}
 
|}}{{#if:{{{stun level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stun level|{{{stun level}}}}}{{#set:Has stun level bonus={{{stun level}}}}}
 
|}}{{#if:{{{stun tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stun tolerance|{{{stun tolerance}}}}}{{#set:Has stun tolerance bonus={{{stun tolerance}}}}}
 
|}}{{#if:{{{stun duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|stun duration|{{{stun duration}}}}}{{#set:Has stun duration bonus={{{stun duration}}}}}
 
|}}{{#if:{{{sleep level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|sleep level|{{{sleep level}}}}}{{#set:Has sleep level bonus={{{sleep level}}}}}
 
|}}{{#if:{{{sleep tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|sleep tolerance|{{{sleep tolerance}}}}}{{#set:Has sleep tolerance bonus={{{sleep tolerance}}}}}
 
|}}{{#if:{{{sleep duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|sleep duration|{{{sleep duration}}}}}{{#set:Has sleep duration bonus={{{sleep duration}}}}}
 
|}}{{#if:{{{confuse level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|confuse level|{{{confuse level}}}}}{{#set:Has confuse level bonus={{{confuse level}}}}}
 
|}}{{#if:{{{confuse tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|confuse tolerance|{{{confuse tolerance}}}}}{{#set:Has confuse tolerance bonus={{{confuse tolerance}}}}}
 
|}}{{#if:{{{confuse duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|confuse duration|{{{confuse duration}}}}}{{#set:Has confuse duration bonus={{{confuse duration}}}}}
 
|}}{{#if:{{{curse level|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|curse level|{{{curse level}}}}}{{#set:Has curse level bonus={{{curse level}}}}}
 
|}}{{#if:{{{curse tolerance|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|curse tolerance|{{{curse tolerance}}}}}{{#set:Has curse tolerance bonus={{{curse tolerance}}}}}
 
|}}{{#if:{{{curse duration|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|curse duration|{{{curse duration}}}}}{{#set:Has curse duration bonus={{{curse duration}}}}}
 
|}}{{#if:{{{all abnormal resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|all abnormal resist|{{{all abnormal resist}}}}}{{#set:Has all abnormal status resist bonus={{{all abnormal resist}}}}}
 
 
|}}{{#if:{{{single skill bonus|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}<!--
 
|}}{{#if:{{{single skill bonus|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}<!--
  
Line 260: Line 129:
 
|}}<!--
 
|}}<!--
  
   for every skill, check if CLASSskillbonus var exists; if yes print it and empty the string, otherwise do nothing
+
   for every skill, check if CLASSskillbonus var exists; if yes print it and empty the var, otherwise do nothing
  
 
-->{{#arraymap:{{{single skill bonus|}}}|;|@@@|{{#if:{{#var:{{#explode:@@@|,|0}}skillbonus}}|{{#var:{{#explode:@@@|,|0}}skillbonus}}{{#vardefine:{{#explode:@@@|,|0}}skillbonus|}}|<!-- do nothing -->}}|}}
 
-->{{#arraymap:{{{single skill bonus|}}}|;|@@@|{{#if:{{#var:{{#explode:@@@|,|0}}skillbonus}}|{{#var:{{#explode:@@@|,|0}}skillbonus}}{{#vardefine:{{#explode:@@@|,|0}}skillbonus|}}|<!-- do nothing -->}}|}}
 
|}}{{#if:{{{all skill bonus|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}{{#arraymap:{{{all skill bonus|}}}|;|@@@|{{#explode:@@@|,|0}} Level {{#explode:@@@|,|1}}{{#ifexpr:{{#explode:@@@|,|1}}={{#explode:@@@|,|2}}||-{{#explode:@@@|,|2}}}} All Skill Lv +{{#explode:@@@|,|3}} (Special Skills excluded){{#set:Has skill range level bonus={{#explode:@@@|,|0}};{{#explode:@@@|,|1}};{{#explode:@@@|,|2}};{{#explode:@@@|,|3}}}}|<br>}}<br>The skill level increases based on the initial skill level. There are no increases for skills that are mastered at Level 1.
 
|}}{{#if:{{{all skill bonus|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}{{#arraymap:{{{all skill bonus|}}}|;|@@@|{{#explode:@@@|,|0}} Level {{#explode:@@@|,|1}}{{#ifexpr:{{#explode:@@@|,|1}}={{#explode:@@@|,|2}}||-{{#explode:@@@|,|2}}}} All Skill Lv +{{#explode:@@@|,|3}} (Special Skills excluded){{#set:Has skill range level bonus={{#explode:@@@|,|0}};{{#explode:@@@|,|1}};{{#explode:@@@|,|2}};{{#explode:@@@|,|3}}}}|<br>}}<br>The skill level increases based on the initial skill level. There are no increases for skills that are mastered at Level 1.
|}}{{#if:{{{aura|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}{{#arraymap:{{{aura|}}}|;|@@@|[[Has aura effect::@@@]]|<br>}}
+
|}}{{#if:{{{aura|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}[[Has aura effect::{{{aura}}}]]
 
|}}{{#if:{{{description|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}[[Has effect description::{{#replace:{{{description}}}|*|&#42;}}]]
 
|}}{{#if:{{{description|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}[[Has effect description::{{#replace:{{{description}}}|*|&#42;}}]]
 
|}}{{#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}}|
{{Quotation|long=y|{{#var:effects}}}}
+
{{Quotation|long=y|
 +
{{#var:effects}}}}
 
|}}<!--
 
|}}<!--
  
Line 275: Line 145:
 
-->{{#if: {{#ifeq: {{{categorize|y}}} | n | n }} <!-- categorize is set to don't categorize -->
 
-->{{#if: {{#ifeq: {{{categorize|y}}} | n | n }} <!-- categorize is set to don't categorize -->
 
       {{NAMESPACE}} <!-- don't categorize if outside namespace -->
 
       {{NAMESPACE}} <!-- don't categorize if outside namespace -->
      {{#switch: {{lc:{{{availability|}}}}} | old | event = do not categorize }} <!-- don't categorize old and event items -->
 
 
| <!-- don't categorize -->
 
| <!-- don't categorize -->
 
|
 
|
Line 287: Line 156:
 
         | cross = [[Category:Crosses]]
 
         | cross = [[Category:Crosses]]
 
         | gauntlets
 
         | gauntlets
         | boxing gloves = [[Category:{{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|<nowiki> </nowiki>}}]]
+
         | boxing gloves = [[Category:{{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
         | #default = [[Category:{{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|<nowiki> </nowiki>}}s]]
+
         | #default = [[Category:{{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}s]]
 
         }}
 
         }}
 
       | [[Category:Uncategorized weapons]]
 
       | [[Category:Uncategorized weapons]]
Line 332: Line 201:
 
| level =  
 
| level =  
 
| class =  
 
| class =  
 +
| profession =
 +
| profession level =
 +
| expiration type =
 +
| expiration date =
 
| set =  
 
| set =  
| physical attack =  
+
| usage count =
| magical attack =  
+
| weapon physical attack =  
 +
| weapon magical attack =  
 
| independent attack =  
 
| independent attack =  
| physical defense =  
+
| equipment physical defense =  
| magical defense =  
+
| equipment magical defense =  
 
| strength =  
 
| strength =  
 
| intelligence =  
 
| intelligence =  
Line 414: Line 288:
 
| single skill bonus =  
 
| single skill bonus =  
 
| all skill bonus =  
 
| all skill bonus =  
 +
| skill alteration =
 
| aura =  
 
| aura =  
 
| description =  
 
| description =  
Line 434: Line 309:
 
; 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, ''<code>X</code> tcu'' for a trade count of X and the item becoming untradable afterwards or ''<code>X</code> tca'' for a trade count of X and the item becoming account bound afterwards. Defaults to ''none''.
 
; 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, ''<code>X</code> tcu'' for a trade count of X and the item becoming untradable afterwards or ''<code>X</code> tca'' for a trade count of X and the item becoming account bound afterwards. Defaults to ''none''.
 
; level : Required level to equip the item.
 
; level : Required level to equip the item.
; class : Required class to equip the item. Defaults to the appropriate classes depending on weapon type.
+
; 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 <code>HH:MM</code> (24-hour clock). If '''expiration type''' is ''duration'', the expected format is <code>DD HH MM</code>. If '''expiration type''' is ''date'', the expected format is <code>YYYY-MM-DD-HH-MM</code>.
 
; set : Wiki page of the set the item is part of.
 
; set : Wiki page of the set the item is part of.
; physical attack : Weapon Physical Attack of the piece of equipment.
+
; weapon physical attack : Weapon Physical Attack of the piece of equipment.
; magical attack : Weapon Magical 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.
 
; independent attack : Independent Attack of the piece of equipment.
; physical defense : Equipment Physical Defense of the piece of equipment.
+
; equipment physical defense : Equipment Physical Defense of the piece of equipment.
; magical defense : Equipment Magical Defense of the piece of equipment.
+
; equipmentmagical 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 447: Line 326:
 
; exorcism : Exorcism Parameter of the piece of equipment.
 
; exorcism : Exorcism Parameter of the piece of equipment.
 
; set : Name of the set the item is part of.
 
; set : Name of the set the item is part of.
 +
; usage count : Maximum usage count of the piece of equipment.
 
; inflict element : Element attached to the equipment. Separate multiple with a comma.
 
; 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''.
 
; 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 <code>class(gender), skill name, skill level bonus</code>. Gender has to be included even for classes that do not have gender variants. For common skills, use ''Common'' for <code>class(gender)</code>. Separate multiple with semicolon.
 
; single skill bonus : Bonus levels given to skills when equipped with the item. Expected format is <code>class(gender), skill name, skill level bonus</code>. Gender has to be included even for classes that do not have gender variants. For common skills, use ''Common'' for <code>class(gender)</code>. 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 <code>class, min level, max level, skill level bonus</code>. 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 <code>class, min level, max level, skill level bonus</code>. Separate multiple with semicolon.
; aura : Aura that is created around the user when the item is equipped. Separate multiple aura effects with semicolon.
+
; skill alteration : Changes to a skill that is not a level change. Expected format is <code>class(gender), skill name</code>. Gender has to be included even for classes that do not have gender variants. For common skills, use ''Common'' for <code>class(gender)</code>. Separate multiple with semicolon.
 +
; aura : Aura that is created around the user when the item is equipped.
 
; description : Effect description of the item. All remaining effects the weapon has.
 
; 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.
 
; flavor text : Flavor text on the item. Gray text at the bottom of the weapon description if it exists.
Line 467: Line 348:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
| physical attack = 300
+
| weapon physical attack = 300
| magical attack = 200
+
| weapon magical attack = 200
 
| independent attack = 350
 
| independent attack = 350
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
| physical crit = 2
+
| physical critical chance = 2
| magic crit = 2
+
| magical critical chance = 2
 
| attack speed = -3
 
| attack speed = -3
 
| single skill bonus = Common, Ancient Memory, 1; Knight(F), Disarm, 1
 
| single skill bonus = Common, Ancient Memory, 1; Knight(F), Disarm, 1
 
| all skill bonus = Slayer, 20, 25, 2; Knight, 20, 25, 2
 
| 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.
+
| aura = Create an aura within 300px that increases stuff.<br>
| 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.
+
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
 
| flavor text = What kind of weapon is this? -Editor
 
}}
 
}}
Line 490: Line 374:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
| physical attack = 300
+
| weapon physical attack = 300
| magical attack = 200
+
| weapon magical attack = 200
 
| independent attack = 350
 
| independent attack = 350
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
| physical crit = 2
+
| physical critical chance = 2
| magic crit = 2
+
| magical critical chance = 2
 
| attack speed = -3
 
| attack speed = -3
| single skill bonus = Common, Ancient Memory, 1; Knight(F), Disarm, 1; Knight(F), Intercept, 1
+
| single skill bonus = Common, Ancient Memory, 1; Knight(F), Disarm, 1
 
| all skill bonus = Slayer, 20, 25, 2; Knight, 20, 25, 2
 
| 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.
+
| aura = Create an aura within 300px that increases stuff.<br>
| 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.
+
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
 
| flavor text = What kind of weapon is this? -Editor
 
}}
 
}}
 
  
 
[[Category:Infobox Templates]]
 
[[Category:Infobox Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:42, 12 March 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 = 
| 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 = 
| 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 = 
| magic crit = 
| hit rate = 
| town movement speed = 
| poison dmg = 
| poison level = 
| poison tolerance = 
| poison duration = 
| burn dmg = 
| burn level = 
| burn tolerance = 
| burn duration = 
| bleeding dmg = 
| bleeding level = 
| bleeding tolerance = 
| bleeding duration = 
| electrocution dmg = 
| 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 dmg = 
| 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 resist = 
| single skill bonus = 
| all skill bonus = 
| skill alteration = 
| 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.
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.
equipmentmagical 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.
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 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.
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.
aura 
Aura that is created around the user when the item is 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, 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 = Create an aura within 300px that increases stuff.<br>
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

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

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.