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
 
(68 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#css:User:Gardios/Infobox.css}}{{#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}}}}|}}
 
}}{{#if:{{{skill alteration|}}}|{{#arraymap:{{{skill alteration}}}|;|@@@|{{#set:Has skill alteration={{#explode:@@@|,|0}};{{#explode:@@@|,|1}}}}|}}
 
}}
 
}}
Line 10: Line 11:
 
  <tr>
 
  <tr>
 
   <td class="icon">{{#if:{{{icon|}}}
 
   <td class="icon">{{#if:{{{icon|}}}
  |[[Has game icon::File:{{{icon}}}.png|28px]]
+
  |[[Has icon::File:{{{icon}}}.png|28px]]
  | {{#ifexist:Media:{{PAGENAME}}.png
+
  | {{#ifexist:Media:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png
     |[[Has game icon::File:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png|28px]]
+
     |[[Has icon::File:{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png|28px]]
     |[[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{PAGENAME}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{{slot|}}}
+
     |[[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;}}
 
       | weapon = {{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{armor weight class|}}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{armor weight class|}}}
Line 23: Line 24:
 
         }}
 
         }}
 
       |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
       }} Icons]]}}}}|No icon available]]{{#set:Has game icon={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png}}
+
       }} Icons]]}}}}|No icon available]]
 
   }}
 
   }}
  | [[Image:No_Icon.png|link=Special:Upload&wpDestFile={{PAGENAME}}.png&wpUploadDescription={{urlencode:[[Category:{{#switch: {{{slot|}}}
+
  | [[Image:No_Icon.png|link=Special:Upload&wpDestFile={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png&wpUploadDescription={{urlencode:[[Category:{{#switch: {{{slot|}}}
 
       | weapon = {{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | weapon = {{#arraymap:{{{weapon type}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{armor weight class|}}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{armor weight class|}}}
Line 35: Line 36:
 
         }}
 
         }}
 
       |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       |#default = {{#arraymap:{{{slot}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
       }} Icons]]}}|No icon available]]{{#set:Has game icon={{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}.png}}
+
       }} Icons]]}}|No icon available]]
 
}}</td>
 
}}</td>
   <td class="caption"> {{{name|{{BASEPAGENAME}}}}}{{#set:Has name={{{name|{{BASEPAGENAME}}}}}}}{{#set:Has lowercase name={{lc:{{{name|{{BASEPAGENAME}}}}}}}}}</td>
+
   <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>
 
  </tr>
 
  </tr>
 
</table>
 
</table>
 
</div>
 
</div>
 
<div class="body">
 
<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
 
; Slot
: [[Has equipment slot::{{#arraymap:{{{slot|}}}|/|@@@|{{ucfirst:{{lc:@@@}}}}|/}}]]
+
: [[Has equipment slot::{{#urldecode:{{#arraymap:{{urlencode:{{lc:{{{slot|}}}}}}}|+|@@@|{{ucfirst:{{#arraymap:@@@|%2F|###|{{ucfirst:###}}|%2F}}}}|+}}}}]]
{{#switch: {{{slot|}}}
+
{{#switch: {{lc:{{{slot|}}}}}
 
| weapon = ; Weapon type
 
| weapon = ; Weapon type
 
: [[Has weapon type::{{#arraymap:{{{weapon type|}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
 
: [[Has weapon type::{{#arraymap:{{{weapon type|}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}]]
Line 56: Line 62:
 
  | ''Unknown''
 
  | ''Unknown''
 
|}}
 
|}}
}}
+
}}{{Default item properties
{{Default item properties
 
 
| rarity = {{{rarity|}}}
 
| rarity = {{{rarity|}}}
| weight = {{{weight|{{Default equipment weight|{{{slot|}}}|{{#switch: {{{slot|}}}
+
| weight = {{#if:{{{weight|}}}|{{{weight}}}|{{Default equipment weight|{{{slot|}}}|{{#switch: {{lc:{{{slot|}}}}}
 
   | weapon = {{{weapon type|}}}
 
   | weapon = {{{weapon type|}}}
 
   | head | shoulder | head/shoulder | top | bottom | belt | shoes = {{{armor weight class|}}}
 
   | head | shoulder | head/shoulder | top | bottom | belt | shoes = {{{armor weight class|}}}
}}}}}}}
+
}}}}}}
| value = {{{value|0}}}
+
| value = {{#if:{{{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 69: Line 74:
 
   }}
 
   }}
 
  }}
 
  }}
| level = {{{level|0}}}
+
| level = {{#if:{{{level|}}}|{{{level}}}|1}}
 
| class = {{{class|}}}
 
| class = {{{class|}}}
 
| profession = {{{profession|}}}
 
| profession = {{{profession|}}}
Line 75: Line 80:
 
| expiration type = {{{expiration type|}}}
 
| expiration type = {{{expiration type|}}}
 
| expiration date = {{{expiration date|}}}
 
| expiration date = {{{expiration date|}}}
}}<!-- end Default item properties -->
+
}}<!-- end Default item properties -->{{#if: {{{usage count|}}} |
{{#if: {{{usage count|}}} |
 
 
; Usage count
 
; Usage count
 
: {{{usage count}}}
 
: {{{usage count}}}
 +
|}}{{#arraymap:{{Stat enumeration|base=only}}|,|@@@|
 +
{{#if:{{{{{lc:@@@}}|}}}|
 +
  {{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
 +
  <dt>{{#switch:{{lc:@@@}}
 +
  | weapon physical attack = Physical Atk.
 +
  | weapon magical attack = Magical Atk.
 +
  | independent attack = Indep. Atk.
 +
  | equipment physical defense = Physical Def.
 +
  | equipment magical defense = Magical Def.
 +
  | adventurer fame = Adv. Fame
 +
  |#default = @@@
 +
  }}</dt><dd>[[Has {{lc:@@@}}::{{{{{lc:@@@}}|}}}]]</dd>
 +
  }}
 +
}}
 +
|}}{{#arraymap:{{Stat enumeration|base=exclude}}|,|@@@|
 +
{{#if:{{{{{lc:@@@}}|}}}|
 +
  {{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
 +
  <dt>{{#switch:{{lc:@@@}}
 +
  | movement speed = Movement Spd.
 +
  | physical critical chance = Physical Crit.
 +
  | magical critical chance = Magical Crit.
 +
  | inventory weight limit = Weight Limit
 +
  | town movement speed = Town Mv. Spd.
 +
  | shadow damage = Shadow Dmg.
 +
  |#default = @@@
 +
  }}</dt><dd>{{Stat|@@@|{{{{{lc:@@@}}|}}}|format=value}}{{#set:Has {{lc:@@@}} bonus={{{{{lc:@@@}}|}}}}}</dd>
 +
  }}
 +
}}
 +
|}}{{#if: {{{set|}}} |
 +
; Set(s)
 +
: {{#arraymap:{{{set}}}|,|@@@|[[Is part of set::@@@]]|, <nowiki />}}
 
|}}
 
|}}
{{#arraymap:{{Stat enumeration|base=only}}|,|@@@|
+
{{#if: {{{altname|}}} |
{{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
+
; Alt. Name
<dt>{{#switch:{{lc:@@@}}
+
: {{{altname}}}
| weapon physical attack = Phys. Atk.
 
| weapon magical attack = Mag. Atk.
 
| independent attack = Indep. Atk.
 
|#default = @@@
 
}}</dt><dd>[[Has {{lc:@@@}}::{{{{{lc:@@@}}|}}}]]</dd>
 
}}
 
 
|}}
 
|}}
{{#arraymap:{{Stat enumeration|base=exclude}}|,|@@@|
+
{{clear}}</div>
{{#ifeq: {{{{{lc:@@@}}|0}}} | 0 ||
+
</div><!--
<dt>{{#switch:{{lc:@@@}}
+
 
| movement speed = Movement Spd.
+
    write stat bonuses (including base stats) and skill bonuses into vars first
| physical critical chance = Phys. Crit. Chance
+
 
| magical critical chance = Mag. Crit. Chance
+
-->{{#vardefine:br|}}{{#vardefine:base stats|
| inventory weight limit = Weight Limit
+
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
| town movement speed = Town Movement Spd.
+
{{#if:{{{@@@|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{{@@@}}} }} |}}
|#default = @@@
 
}}</dt><dd>[[Has {{lc:@@@}} bonus::{{{{{lc:@@@}}|}}}]]</dd>
 
}}
 
 
|}}
 
|}}
{{#if: {{{set|}}} |
+
}}{{#vardefine:br|}}{{#vardefine:shortened base stats|
; Set
+
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
: [[Is part of set::{{{set}}}]]
+
{{#if:{{{@@@|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#switch:@@@
 +
| weapon physical attack = P.&nbsp;Atk.
 +
| weapon magical attack = M.&nbsp;Atk.
 +
| independent attack = I.&nbsp;Atk.
 +
| equipment physical defense = P.&nbsp;Def.
 +
| equipment magical defense = M.&nbsp;Def.
 +
| strength = STR
 +
| intelligence = INT
 +
| vitality = VIT
 +
| spirit = SPR
 +
| exorcism = EXO
 +
| damage value = Damage&nbsp;Value
 +
| buff power = Buff&nbsp;Power
 +
| adventurer fame = Fame
 +
}}&nbsp;{{Stat|@@@|{{{@@@}}}|format=value}} |}}
 
|}}
 
|}}
{{clear}}</div>
+
}}{{#vardefine:br|}}{{#vardefine:stat bonuses|
</div>
 
 
 
{{#vardefine:effects|
 
 
{{#if:{{{inflict element|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#arraymap:{{{inflict element|}}}|,|@@@|{{#switch: {{lc:@@@}}
 
{{#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 {{ucfirst:{{lc:@@@}}}} Damage
 
| #default = Inflict Unknown Elemental Damage
 
| #default = Inflict Unknown Elemental Damage
 
}}|<br>}}
 
}}|<br>}}
|}}{{#if:{{{single skill bonus|}}}|{{#if: {{#var:br}}|<br>|{{#vardefine:br|1}}}}<!--
+
|}}{{#arraymap:{{lc:{{Stat enumeration|base=exclude}}}}|,|@@@|
 +
{{#if:{{{@@@|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{{@@@}}} }} |}}
 +
|}}{{#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>}}}}
 +
}}{{#vardefine:br|}}{{#vardefine:skill bonuses|
 +
{{#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 -->}}}}<!--
  
  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 126: 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 var, 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}}}}[[Has aura effect::{{{aura}}}]]
+
|}}
|}}{{#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
 +
 
 +
-->{{#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|
 
{{Quotation|long=y|
{{#var:effects}}}}
+
{{#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 -->
Line 162: Line 247:
 
       }}
 
       }}
 
     | 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 192: Line 295:
 
| name =  
 
| name =  
 
| icon =  
 
| icon =  
 +
| image =
 +
| video =
 
| slot =  
 
| slot =  
 
| weapon type =  
 
| weapon type =  
Line 206: Line 311:
 
| expiration date =  
 
| expiration date =  
 
| set =  
 
| set =  
 +
| altname =
 
| usage count =  
 
| usage count =  
 
| weapon physical attack =  
 
| weapon physical attack =  
Line 217: 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 225: 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 236: 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 272: 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 285: 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 =  
 
| skill alteration =  
 +
| legacy strength =
 +
| legacy intelligence =
 +
| legacy vitality =
 +
| legacy spirit =
 
| aura =  
 
| aura =  
 +
| stat modifier =
 +
| runetali modifier =
 
| description =  
 
| description =  
 
| flavor text =  
 
| flavor text =  
Line 301: 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 309: 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.
+
; class : Required class (or subclass, in the case of runes/talismans) to equip the item.
 
; profession : Required profession to use the item.
 
; profession : Required profession to use the item.
 
; profession level : Required level of the 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 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>.
 
; 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. 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 physical attack : Weapon Physical Attack of the piece of equipment.
 
; weapon 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.
 
; equipment physical defense : Equipment Physical Defense 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.
+
; 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 325: 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.
 
; 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.
 
; 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.
 
; 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.
+
; legacy strength .. legacy spirit : The legacy/halidom stat bonus the item grants.
; description : Effect description of the item. All remaining effects the weapon has.
+
; 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 342: 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 348: Line 472:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
 +
| set = Foo Set, Bar Set, Baz Set
 
| weapon physical attack = 300
 
| weapon physical attack = 300
 
| weapon magical attack = 200
 
| weapon magical attack = 200
Line 353: Line 478:
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
 +
| exorcism = 9001
 +
| adventurer fame = 42
 
| physical critical chance = 2
 
| physical critical chance = 2
 
| magical critical chance = 2
 
| magical critical chance = 2
Line 358: Line 485:
 
| 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.<br>
+
| aura = y
When equipped, grants an aura that does other stuff.
+
| stat modifier = Additional Attack Damage +15%,Bonus Damage +10%
| description = Lorem ipsum dolor sit amet<br>
+
| description = Create an aura within 300px that increases stuff.
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br>
+
 
 +
 
 +
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.
 
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 374: Line 508:
 
| level = 30
 
| level = 30
 
| class = slayer, knight
 
| class = slayer, knight
 +
| set = Foo Set, Bar Set, Baz Set
 
| weapon physical attack = 300
 
| weapon physical attack = 300
 
| weapon magical attack = 200
 
| weapon magical attack = 200
Line 379: Line 514:
 
| strength = 20
 
| strength = 20
 
| intelligence = 20
 
| intelligence = 20
 +
| exorcism = 9001
 +
| adventurer fame = 42
 
| physical critical chance = 2
 
| physical critical chance = 2
 
| magical critical chance = 2
 
| magical critical chance = 2
Line 384: Line 521:
 
| 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.<br>
+
| aura = y
When equipped, grants an aura that does other stuff.
+
| stat modifier = Additional Attack Damage +15%,Bonus Damage +10%
| description = Lorem ipsum dolor sit amet<br>
+
| description = Create an aura within 300px that increases stuff.
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<br>
+
 
 +
 
 +
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.
 
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.