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
 
(69 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#set:Has game context=Item}}{{#set:Has item type=Equipment}}{{#switch: {{lc:{{{availability|}}}}}
+
<includeonly>{{#css:User:Gardios/Infobox.css}}{{#css:User:Gardios/Compact.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}}
+
| item shop = {{#set:Has availability status=Item shop}}
 +
|#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>
  |[[Has game icon::File:{{{icon}}}.png|28px]]
+
<tr>
  | {{#ifexist:Media:{{PAGENAME}}.png
+
  <td class="icon">{{#if:{{{icon|}}}
     |[[Has game icon::File:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png|28px]]
+
  |[[Has icon::File:{{{icon}}}.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}}
+
  | {{#ifexist:Media:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png
 +
     |[[Has icon::File:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png|28px]]
 +
     |[[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{#replace:{{#replace:{{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]]
 
   }}
 
   }}
  | [[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={{#replace:{{#replace:{{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
{{#switch: {{{slot|}}}
+
        | light | light armor = Light Armor
| weapon = {{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Weapon type {{!!}} {{#switch: {{lc:{{{weapon type|}}}}}
+
        | heavy | heavy armor = Heavy Armor
| zanbato | bludgeon | short sword | katana | lightsabre
+
        | plate | plate armor = Plate Armor
| gauntlets | boxing gloves | claw | knuckle | tonfa
+
        }}
| hand cannon | musket | revolver | bowgun | auto gun
+
      |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
| spear | pole | staff | rod | broom
+
      }} Icons]]}}|No icon available]]
| battle axe | totem | cross | scythe | rosary
+
}}</td>
| dagger | dual blade | wand | chakra weapon = [[Has weapon type::{{#arraymap:{{{weapon type|}}}|&#32;|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
+
  <td class="caption"><div class="name">{{#if:{{{name|}}}|{{{name}}}{{#set:Has name={{{name}}}}}{{#set:Has lowercase name={{lc:{{{name}}}}}}}|{{BASEPAGENAME}}{{#set:Has name={{BASEPAGENAME}}}}{{#set:Has lowercase name={{lc:{{BASEPAGENAME}}}}}} }}</div></td>
| ''Unknown''
+
</tr>
|}}
+
</table>
{{!-}}
+
</div>
| 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|}}}}}
+
<div class="body">
 +
{{#if: {{{image|}}} |
 +
<div class="image">[[File:{{{image}}}]]{{#set:Has game appearance={{{image}}}}}</div>
 +
}}{{#if:{{{video|}}} |
 +
<center><b>Video</b><br>{{#ev:youtube|{{{video}}}|225  }}</center>
 +
}}
 +
; Slot
 +
: [[Has equipment slot::{{#urldecode:{{#arraymap:{{urlencode:{{lc:{{{slot|}}}}}}}|+|@@@|{{ucfirst:{{#arraymap:@@@|%2F|###|{{ucfirst:###}}|%2F}}}}|+}}}}]]
 +
{{#switch: {{lc:{{{slot|}}}}}
 +
| weapon = ; Weapon type
 +
: [[Has weapon type::{{#arraymap:{{{weapon type|}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
 +
| head | head/shoulder | shoulder | top | bottom | belt | shoes = ; 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 62:
 
  | ''Unknown''
 
  | ''Unknown''
 
|}}
 
|}}
{{!-}}
+
}}{{Default item properties
}}
 
{{Default item properties
 
 
| rarity = {{{rarity|}}}
 
| rarity = {{{rarity|}}}
| weight = {{{weight|{{#switch:{{{slot|}}}
+
| weight = {{#if:{{{weight|}}}|{{{weight}}}|{{Default equipment weight|{{{slot|}}}|{{#switch: {{lc:{{{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
+
| value = {{#if:{{{value|}}}|{{{value}}}|0}}
    | 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}}}
 
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
| binding = {{#if: {{{binding|}}}|{{{binding|}}}|{{#switch: {{lc:{{{rarity|}}}}}
 
   | boss unique | chronicle | epic = untradable
 
   | boss unique | chronicle | epic = untradable
Line 120: Line 74:
 
   }}
 
   }}
 
  }}
 
  }}
| level = {{{level|0}}}
+
| level = {{#if:{{{level|}}}|{{{level}}}|1}}
 
| class = {{{class|}}}
 
| class = {{{class|}}}
}}
+
| profession = {{{profession|}}}
{{#ifeq: {{{physical attack|0}}} | 0 ||
+
| profession level = {{{profession level|}}}
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Physical atk. {{!!}} [[Has weapon physical attack::{{{physical attack}}}]]
+
| expiration type = {{{expiration type|}}}
{{!-}}
+
| expiration date = {{{expiration date|}}}
}}
+
}}<!-- end Default item properties -->{{#if: {{{usage count|}}} |
{{#ifeq: {{{magical attack|0}}} | 0 ||
+
; Usage count
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Magical atk. {{!!}} [[Has weapon magical attack::{{{magical attack}}}]]
+
: {{{usage count}}}
{{!-}}
+
|}}{{#arraymap:{{Stat enumeration|base=only}}|,|@@@|
}}
+
{{#if:{{{{{lc:@@@}}|}}}|
{{#ifeq: {{{independent attack|0}}} | 0 ||
+
  {{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Independent atk. {{!!}} [[Has independent attack::{{{independent attack}}}]]
+
  <dt>{{#switch:{{lc:@@@}}
{{!-}}
+
  | weapon physical attack = Physical Atk.
}}
+
  | weapon magical attack = Magical Atk.
{{#ifeq: {{{physical defense|0}}} | 0 ||
+
  | independent attack = Indep. Atk.
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Physical def. {{!!}} [[Has equipment physical defense::{{{physical defense}}}]]
+
  | equipment physical defense = Physical Def.
{{!-}}
+
  | equipment magical defense = Magical Def.
}}
+
  | adventurer fame = Adv. Fame
{{#ifeq: {{{magical defense|0}}} | 0 ||
+
  |#default = @@@
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Magical def. {{!!}} [[Has equipment magical defense::{{{magical defense}}}]]
+
  }}</dt><dd>[[Has {{lc:@@@}}::{{{{{lc:@@@}}|}}}]]</dd>
{{!-}}
+
  }}
}}
+
}}
{{#ifeq: {{{strength|0}}} | 0 ||
+
|}}{{#arraymap:{{Stat enumeration|base=exclude}}|,|@@@|
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Strength {{!!}} [[Has strength::{{{strength}}}]]
+
{{#if:{{{{{lc:@@@}}|}}}|
{{!-}}
+
  {{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
}}
+
  <dt>{{#switch:{{lc:@@@}}
{{#ifeq: {{{intelligence|0}}} | 0 ||
+
  | movement speed = Movement Spd.
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Intelligence {{!!}} [[Has intelligence::{{{intelligence}}}]]
+
  | physical critical chance = Physical Crit.
{{!-}}
+
  | magical critical chance = Magical Crit.
}}
+
  | inventory weight limit = Weight Limit
{{#ifeq: {{{vitality|0}}} | 0 ||
+
  | town movement speed = Town Mv. Spd.
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Vitality {{!!}} [[Has vitality::{{{vitality}}}]]
+
  | shadow damage = Shadow Dmg.
{{!-}}
+
  |#default = @@@
}}
+
  }}</dt><dd>{{Stat|@@@|{{{{{lc:@@@}}|}}}|format=value}}{{#set:Has {{lc:@@@}} bonus={{{{{lc:@@@}}|}}}}}</dd>
{{#ifeq: {{{spirit|0}}} | 0 ||
+
  }}
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Spirit {{!!}} [[Has spirit::{{{spirit}}}]]
+
}}
{{!-}}
+
|}}{{#if: {{{set|}}} |
}}
+
; Set(s)
{{#ifeq: {{{exorcism|0}}} | 0 ||
+
: {{#arraymap:{{{set}}}|,|@@@|[[Is part of set::@@@]]|, <nowiki />}}
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Exorcism {{!!}} [[Has exorcism::{{{exorcism}}}]]
+
|}}
{{!-}}
+
{{#if: {{{altname|}}} |
}}
+
; Alt. Name
{{#if: {{{set|}}} |
+
: {{{altname}}}
{{!}} style="background:#ccffcc; text-align: right; font-weight: bold; padding-right: 0.5em;" {{!}} Set {{!!}} [[Is part of set::{{{set}}}]]
 
{{!-}}
 
 
|}}
 
|}}
|}
+
{{clear}}</div>
 +
</div><!--
 +
 
 +
    write stat bonuses (including base stats) and skill bonuses into vars first
  
{{#vardefine:effects|{{#if:{{{hp|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hp|{{{hp}}}}}{{#set:Has hp maximum bonus={{{hp}}}}}
+
-->{{#vardefine:br|}}{{#vardefine:base stats|
|}}{{#if:{{{mp|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|mp|{{{mp}}}}}{{#set:Has mp maximum bonus={{{mp}}}}}
+
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
|}}{{#if:{{{hp recovery|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hp recovery|{{{hp recovery}}}}}{{#set:Has hp recovery bonus={{{hp recovery}}}}}
+
{{#if:{{{@@@|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{{@@@}}} }} |}}
|}}{{#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}}}}}
+
}}{{#vardefine:br|}}{{#vardefine:shortened base stats|
|}}{{#if:{{{movement speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|movement speed|{{{movement speed}}}}}{{#set:Has movement speed bonus={{{movement speed}}}}}
+
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
|}}{{#if:{{{casting speed|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|casting speed|{{{casting speed}}}}}{{#set:Has casting speed bonus={{{casting speed}}}}}
+
{{#if:{{{@@@|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#switch:@@@
|}}{{#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}}}}}
+
| weapon physical attack = P.&nbsp;Atk.
|}}{{#if:{{{fire resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|fire resist|{{{fire resist}}}}}{{#set:Has fire resist bonus={{{fire resist}}}}}
+
| weapon magical attack = M.&nbsp;Atk.
|}}{{#if:{{{water resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water resist|{{{water resist}}}}}{{#set:Has water resist bonus={{{water resist}}}}}
+
| independent attack = I.&nbsp;Atk.
|}}{{#if:{{{light resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|light resist|{{{light resist}}}}}{{#set:Has light resist bonus={{{light resist}}}}}
+
| equipment physical defense = P.&nbsp;Def.
|}}{{#if:{{{shadow resist|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|shadow resist|{{{shadow resist}}}}}{{#set:Has shadow resist bonus={{{shadow resist}}}}}
+
| equipment magical defense = M.&nbsp;Def.
|}}{{#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}}}}}
+
| strength = STR
|}}{{#if:{{{fire damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|fire damage|{{{fire damage}}}}}{{#set:Has fire damage bonus={{{fire damage}}}}}
+
| intelligence = INT
|}}{{#if:{{{water damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|water damage|{{{water damage}}}}}{{#set:Has water damage bonus={{{water damage}}}}}
+
| vitality = VIT
|}}{{#if:{{{light damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|light damage|{{{light damage}}}}}{{#set:Has light damage bonus={{{light damage}}}}}
+
| spirit = SPR
|}}{{#if:{{{shadow damage|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|shadow damage|{{{shadow damage}}}}}{{#set:Has shadow damage bonus={{{shadow damage}}}}}
+
| exorcism = EXO
|}}{{#if:{{{inflict element|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
+
| damage value = Damage&nbsp;Value
| fire | water | light | shadow = Inflict [[Inflicts elemental damage::{{ucfirst:{{lc:@@@}}}}]] Damage
+
| buff power = Buff&nbsp;Power
 +
| adventurer fame = Fame
 +
}}&nbsp;{{Stat|@@@|{{{@@@}}}|format=value}} |}}
 +
|}}
 +
}}{{#vardefine:br|}}{{#vardefine:stat bonuses|
 +
{{#if:{{{inflict element|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
 +
| fire | water | light | shadow = Inflict {{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}}}}}
+
|}}{{#arraymap:{{lc:{{Stat enumeration|base=exclude}}}}|,|@@@|
|}}{{#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:{{{@@@|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{{@@@}}} }} |}}
|}}{{#if:{{{hit recovery|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|hit recovery|{{{hit recovery}}}}}{{#set:Has hit recovery bonus={{{hit recovery}}}}}
+
|}}{{#if:{{{stat modifier|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}} {{#arraymap:{{{stat modifier}}}|,|@@@|@@@|<br>}}}}{{#if:{{{runetali modifier|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}} {{#arraymap:{{{runetali modifier}}}|,,|@@@|@@@|<br>}}}}
|}}{{#if:{{{immobility|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|immobility|{{{immobility}}}}}{{#set:Has immobility bonus={{{immobility}}}}}
+
}}{{#vardefine:br|}}{{#vardefine:skill bonuses|
|}}{{#if:{{{jump strength|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{attribute|jump strength|{{{jump strength}}}}}{{#set:Has jump strength bonus={{{jump strength}}}}}
+
{{#if:{{{single skill bonus|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|<!-- br will be set in the arraymap; don't set it here or there's one br too many -->}}}}<!--
|}}{{#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}}}}<!--
 
  
  for every skill, create a var called CLASSskillbonus and add the skills to that var
+
        for every skill, create a var called CLASSskillbonus and add the skills to that var
  
-->{{#arraymap:{{{single skill bonus}}}|;|@@@|{{#if:{{#varexists:{{#explode:@@@|,|0}}skillbonus}}||{{#vardefine:{{#explode:@@@|,|0}}skillbonus|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#explode:@@@|,|0}}:}}}}{{#vardefine:{{#explode:@@@|,|0}}skillbonus|{{#var:{{#explode:@@@|,|0}}skillbonus}}<br><!-- add skill name to string -->{{#ifexist: {{#switch:{{#sub:{{#explode:@@@|,|0}}|-3}}
+
-->{{#arraymap:{{{single skill bonus}}}|;|@@@|{{#if:{{#varexists:{{#explode:@@@|,|0}}skillbonus}}||{{#vardefine:{{#explode:@@@|,|0}}skillbonus|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#explode:@@@|,|0}}:}}}}{{#vardefine:{{#explode:@@@|,|0}}skillbonus|{{#var:{{#explode:@@@|,|0}}skillbonus}}<br><!-- add skill name to string -->{{#ifexist: <!-- check if there is a page with gender suffix -->{{#switch:{{#sub:{{#explode:@@@|,|0}}|-3}}
 
   | (M) = {{#explode:@@@|,|1}} (Male)
 
   | (M) = {{#explode:@@@|,|1}} (Male)
 
   | (F) = {{#explode:@@@|,|1}} (Female)
 
   | (F) = {{#explode:@@@|,|1}} (Female)
Line 257: Line 167:
 
   | (F) = [[{{#explode:@@@|,|1}} (Female)|{{#explode:@@@|,|1}}]]
 
   | (F) = [[{{#explode:@@@|,|1}} (Female)|{{#explode:@@@|,|1}}]]
 
   }}
 
   }}
| [[{{#explode:@@@|,|1}}]]}} Skill Lvl +{{#explode:@@@|,|2}} <!-- end skill name -->}}<!-- set property -->{{#set:Has skill level bonus={{#explode:@@@|,|0}};{{#explode:@@@|,|1}};{{#explode:@@@|,|2}}}}
+
| [[{{#explode:@@@|,|1}}]]}} Skill Lvl +{{#explode:@@@|,|2}} <!-- end skill name -->}}
 
|}}<!--
 
|}}<!--
  
  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)|<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:{{{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:{{#var:effects}}|
+
    stat bonuses and skill bonuses vars created, set properties
{{Quotation|long=y|{{#var:effects}}}}
+
 
 +
-->{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
 +
| fire | water | light | shadow = {{#set:Inflicts elemental damage={{ucfirst:{{lc:@@@}}}}}}
 +
}}
 +
|}}{{#arraymap:{{{single skill bonus|}}}|;|@@@|{{#set:Has skill level bonus={{#explode:@@@|,|0}};{{#explode:@@@|,|1}};{{#explode:@@@|,|2}}}}
 +
|}}{{#arraymap:{{{all skill bonus|}}}|;|@@@|{{#set:Has skill range level bonus={{#explode:@@@|,|0}};{{#explode:@@@|,|1}};{{#explode:@@@|,|2}};{{#explode:@@@|,|3}}}}
 +
|}}{{#set:Has preformatted base stats text={{#var:base stats}}
 +
}}{{#set:Has preformatted shortened base stats text={{#var:shortened base stats}}
 +
}}{{#set:Has preformatted stat bonuses text={{#var:stat bonuses}}
 +
}}{{#set:Has preformatted skill bonuses text={{#var:skill bonuses}}
 +
}}<!--
 +
 
 +
    properties set, print the stuff on the page
 +
    first, write skill bonuses, legacy bonuses, description and flavor text into the var "effects"
 +
 
 +
-->{{#vardefine:br|}}{{#vardefine:effects|
 +
{{#if:{{{inflict element|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
 +
| fire | water | light | shadow = Inflict {{ucfirst:{{lc:@@@}}}} Damage
 +
| #default = Inflict Unknown Elemental Damage
 +
}}|<br>}}
 +
|}}{{#if:{{#var:skill bonuses|}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}{{#var:skill bonuses|}}
 +
|}}{{#if:{{{legacy strength|}}}{{{legacy intelligence|}}}{{{legacy vitality|}}}{{{legacy spirit|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}Total Legacy Bonus:<br>
 +
Strength: {{{legacy strength|}}}<br>
 +
Intelligence: {{{legacy intelligence|}}}<br>
 +
Vitality: {{{legacy vitality|}}}<br>
 +
Spirit: {{{legacy spirit|}}}<br>
 +
{{#set:Has legacy bonus={{{legacy strength|0}}};{{{legacy intelligence|0}}};{{{legacy vitality|0}}};{{{legacy spirit|0}}}}}
 +
|}}{{#if:{{{aura|}}}|{{#switch:{{{aura}}}|y|yes={{#set:Has aura effect=true}}}}
 +
 
 +
 
 +
|}}{{#if:{{{flavor text|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}<span style="font-style: italic;">{{{flavor text}}}</span>{{#set:Has flavor text={{{flavor text}}}}}
 +
|}}}}<!--
 +
 
 +
    print effects if there are any (i.e. var "effects" is not empty)
 +
    dfoplayer. print description after effects if any
 +
 
 +
-->{{#if:{{#var:effects}} or {{{description|}}}|<nowiki></nowiki>
 +
 
 +
{{Quotation|long=y|
 +
{{#var:effects}}{{#if:{{{runetali modifier|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}} {{#arraymap:{{{runetali modifier}}}|,,|@@@|@@@|<br>}}}}{{#if:{{{stat modifier|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}} {{#arraymap:{{{stat modifier}}}|,|@@@|@@@|<br>}}}}{{#if:{{{description|}}}|{{#if: {{#var:br}}|<br><br>|{{#vardefine:br|1}}}}<div class="compact">{{{description}}}
 +
<!--{{#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;}}}}-->
 +
|}} }}
 
|}}<!--
 
|}}<!--
  
auto categorization
+
    end effects
 +
 
 +
--><!--
 +
 
 +
    auto categorization
  
 
-->{{#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 241:
 
         | 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]]
 
       }}
 
       }}
 
     | head/shoulder | head | shoulder = [[Category:Head/Shoulders]]
 
     | head/shoulder | head | shoulder = [[Category:Head/Shoulders]]
     | shoes = [[Category:{{ucfirst:{{{slot}}}}}]]
+
     | shoes | sub equipment | earrings = [[Category:{{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
 +
    | magic stone = [[Category:{{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}s]]
 +
| rune =
 +
  {{#if: {{{class|}}}|{{#switch: {{lc:{{#sub:{{{class|}}}|-3}}}}
 +
    | (m) = [[Category:Male {{#arraymap:{{#replace:{{{class|}}}|(M)|}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}} Runes]]
 +
| (f) = [[Category:Female {{#arraymap:{{#replace:{{{class|}}}|(F)|}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}} Runes]]
 +
| #default = [[Category: {{#arraymap:{{{class|}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}} Runes]]
 +
}}
 +
  | [[Category:Uncategorized runes]]
 +
  }}
 +
| talisman =
 +
  {{#if: {{{class|}}}|{{#switch: {{lc:{{#sub:{{{class|}}}|-3}}}}
 +
| (m) = [[Category:Male {{#arraymap:{{#replace:{{{class|}}}|(M)|}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}} Talismans]]
 +
| (f) = [[Category:Female {{#arraymap:{{#replace:{{{class|}}}|(F)|}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}} Talismans]]
 +
| #default = [[Category: {{#arraymap:{{{class|}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}} Talismans]]
 +
}}
 +
      | [[Category:Uncategorized talismans]]
 +
      }}
 +
    | fusion stone = [[Category:{{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}s]]
 
     | #default = [[Category:{{ucfirst:{{{slot|}}}}}s]]
 
     | #default = [[Category:{{ucfirst:{{{slot|}}}}}s]]
 
     }}
 
     }}
Line 323: Line 295:
 
| name =  
 
| name =  
 
| icon =  
 
| icon =  
 +
| image =
 +
| video =
 
| slot =  
 
| slot =  
 
| weapon type =  
 
| weapon type =  
Line 332: Line 306:
 
| level =  
 
| level =  
 
| class =  
 
| class =  
 +
| profession =
 +
| profession level =
 +
| expiration type =
 +
| expiration date =
 
| set =  
 
| set =  
| physical attack =  
+
| altname =
| magical attack =  
+
| usage count =
 +
| 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 343: Line 323:
 
| spirit =  
 
| spirit =  
 
| exorcism =  
 
| exorcism =  
 +
| adventurer fame =
 +
| damage value =
 +
| buff power =
 
| inflict element =  
 
| inflict element =  
| hp =  
+
| hp maximum =  
| mp =  
+
| mp maximum =  
 
| hp recovery =  
 
| hp recovery =  
 
| mp recovery =  
 
| mp recovery =  
Line 351: Line 334:
 
| movement speed =  
 
| movement speed =  
 
| casting speed =  
 
| casting speed =  
| all elemental resist =  
+
| all elemental resistances =  
 
| fire resist =  
 
| fire resist =  
 
| water resist =  
 
| water resist =  
Line 362: Line 345:
 
| shadow damage =  
 
| shadow damage =  
 
| evasion rate =  
 
| evasion rate =  
| weight limit =  
+
| inventory weight limit =  
 
| hit recovery =  
 
| hit recovery =  
 
| immobility =  
 
| immobility =  
 
| jump strength =  
 
| jump strength =  
| physical crit =  
+
| physical critical chance =  
| magic crit =  
+
| magical critical chance =  
 
| hit rate =  
 
| hit rate =  
 
| town movement speed =  
 
| town movement speed =  
| poison dmg =  
+
| poison damage =  
 
| poison level =  
 
| poison level =  
 
| poison tolerance =  
 
| poison tolerance =  
 
| poison duration =  
 
| poison duration =  
| burn dmg =  
+
| burn damage =  
 
| burn level =  
 
| burn level =  
 
| burn tolerance =  
 
| burn tolerance =  
 
| burn duration =  
 
| burn duration =  
| bleeding dmg =  
+
| bleeding damage =  
 
| bleeding level =  
 
| bleeding level =  
 
| bleeding tolerance =  
 
| bleeding tolerance =  
 
| bleeding duration =  
 
| bleeding duration =  
| electrocution dmg =  
+
| electrocution damage =  
 
| electrocution level =  
 
| electrocution level =  
 
| electrocution tolerance =  
 
| electrocution tolerance =  
Line 398: Line 381:
 
| immobility tolerance =  
 
| immobility tolerance =  
 
| immobility duration =  
 
| immobility duration =  
| stone curse dmg =  
+
| stone curse damage =  
 
| stone curse level =  
 
| stone curse level =  
 
| stone curse tolerance =  
 
| stone curse tolerance =  
Line 411: Line 394:
 
| curse tolerance =  
 
| curse tolerance =  
 
| curse duration =  
 
| curse duration =  
| all abnormal resist =  
+
| all abnormal status resist =  
 
| single skill bonus =  
 
| single skill bonus =  
 
| all skill bonus =  
 
| all skill bonus =  
 +
| skill alteration =
 +
| legacy strength =
 +
| legacy intelligence =
 +
| legacy vitality =
 +
| legacy spirit =
 
| aura =  
 
| aura =  
 +
| stat modifier =
 +
| runetali modifier =
 
| description =  
 
| description =  
 
| flavor text =  
 
| flavor text =  
Line 426: Line 416:
 
; name : Required. Name of the item. Defaults to the name of the base article (<code><nowiki>{{PAGENAME}}</nowiki></code>).
 
; name : Required. Name of the item. Defaults to the name of the base article (<code><nowiki>{{PAGENAME}}</nowiki></code>).
 
; icon : Icon. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>.
 
; icon : Icon. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>.
 +
; image : Image for titles and creatures.
 +
; video : Not required. Shows video of item.
 
; slot : Required. Defines the item slot.
 
; slot : Required. Defines the item slot.
 
; weapon type : Required if '''slot''' is ''weapon''. Defines the weapon type.
 
; weapon type : Required if '''slot''' is ''weapon''. Defines the weapon type.
Line 434: Line 426:
 
; 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 (or subclass, in the case of runes/talismans) to equip the item.
; set : Wiki page of the set the item is part of.
+
; profession : Required profession to use the item.
; physical attack : Weapon Physical Attack of the piece of equipment.
+
; profession level : Required level of the profession to use the item.
; magical attack : Weapon Magical Attack of the piece of equipment.
+
; 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. 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.
 
; 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.
+
; 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 446: Line 443:
 
; spirit : Spirit of the piece of equipment.
 
; spirit : Spirit of the piece of equipment.
 
; 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.
+
; adventurer fame : Adventurer Fame of the piece of equipment
 +
; damage value : Damage Value of the piece of equipment
 +
; buff power : Buff Power 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.
 
; 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 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 <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.
; description : Effect description of the item. All remaining effects the weapon has.
+
; 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.
 +
; stat modifier : Item effects that affect stats, such as "Critical Damage +5%". Use commas if there are multiple modifiers
 +
; runetali modifier : Skill effects from a rune or talisman. Use '''double commas''' if there are multiple modifiers.
 +
; 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.
; 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''.
+
; 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''.
 
; categorize : Set to ''n'' to disable auto-categorization. Defaults to ''y''.
  
Line 461: Line 465:
 
<pre>{{Equipment infobox
 
<pre>{{Equipment infobox
 
| name = Long Example Weapon Name For Line Break
 
| name = Long Example Weapon Name For Line Break
 +
| video = EIIHnrgZAVQ
 
| slot = weapon
 
| slot = weapon
 
| weapon type = zanbato
 
| weapon type = zanbato
Line 467: Line 472:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
| physical attack = 300
+
| set = Foo Set, Bar Set, Baz Set
| magical attack = 200
+
| weapon physical attack = 300
 +
| weapon magical attack = 200
 
| independent attack = 350
 
| independent attack = 350
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
| physical crit = 2
+
| exorcism = 9001
| magic crit = 2
+
| adventurer fame = 42
 +
| physical critical chance = 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 = y
| 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.
+
| stat modifier = Additional Attack Damage +15%,Bonus Damage +10%
 +
| 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
 
| flavor text = What kind of weapon is this? -Editor
 +
| altname = Potato rex
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Equipment infobox
 
{{Equipment infobox
 
| name = Long Example Weapon Name For Line Break
 
| name = Long Example Weapon Name For Line Break
 +
| video = EIIHnrgZAVQ
 
| slot = weapon
 
| slot = weapon
 
| weapon type = zanbato
 
| weapon type = zanbato
Line 490: Line 508:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
| physical attack = 300
+
| set = Foo Set, Bar Set, Baz Set
| magical attack = 200
+
| weapon physical attack = 300
 +
| weapon magical attack = 200
 
| independent attack = 350
 
| independent attack = 350
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
| physical crit = 2
+
| exorcism = 9001
| magic crit = 2
+
| adventurer fame = 42
 +
| physical critical chance = 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 = y
| 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.
+
| stat modifier = Additional Attack Damage +15%,Bonus Damage +10%
 +
| 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
 
| flavor text = What kind of weapon is this? -Editor
 +
| altname = Potato rex
 
}}
 
}}
 
  
 
[[Category:Infobox Templates]]
 
[[Category:Infobox Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:00, 8 January 2025

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 = 
| video =
| slot = 
| weapon type = 
| armor weight class = 
| rarity = 
| weight = 
| value = 
| binding = 
| level = 
| class = 
| profession = 
| profession level = 
| expiration type = 
| expiration date = 
| set = 
| altname =
| usage count = 
| weapon physical attack = 
| weapon magical attack = 
| independent attack = 
| equipment physical defense = 
| equipment magical defense = 
| strength = 
| intelligence = 
| vitality = 
| spirit = 
| exorcism = 
| adventurer fame =
| damage value =
| buff power =
| 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 = 
| stat modifier = 
| runetali modifier = 
| 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.
video 
Not required. Shows video of item.
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 (or subclass, in the case of runes/talismans) 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. 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.
exorcism 
Exorcism Parameter of the piece of equipment.
adventurer fame 
Adventurer Fame of the piece of equipment
damage value 
Damage Value of the piece of equipment
buff power 
Buff Power 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.
stat modifier 
Item effects that affect stats, such as "Critical Damage +5%". Use commas if there are multiple modifiers
runetali modifier 
Skill effects from a rune or talisman. Use double commas if there are multiple modifiers.
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
| video = EIIHnrgZAVQ
| slot = weapon
| weapon type = zanbato
| rarity = legacy
| value = 12345
| level = 30
| class = slayer, knight
| set = Foo Set, Bar Set, Baz Set
| weapon physical attack = 300
| weapon magical attack = 200
| independent attack = 350
| strength = 20
| intelligence = 20
| exorcism = 9001
| adventurer fame = 42
| 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
| stat modifier = Additional Attack Damage +15%,Bonus Damage +10%
| 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
| altname = Potato rex
}}
No icon available
Long Example Weapon Name For Line Break
Video
Slot
Weapon
Weapon type
Zanbato
Rarity
Legacy
Weight
4 kg
Value
12345 Gold
Binding
Sealed
Req. level
30
Req. class
Slayer, Knight

Adv. Fame
42
Physical Atk.
300
Magical Atk.
200
Indep. Atk.
350
Strength
20
Intelligence
20
Exorcism
9001
Attack Speed
-3%
Physical Crit.
+2%
Magical Crit.
+2%

Set(s)
Foo Set, Bar Set, Baz Set
Alt. Name
Potato rex

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
Additional Attack Damage +15%
Bonus Damage +10%

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.