Jump to content
EQL Wiki is currently in BETA - content may change rapidly!

Template:Itembox: Difference between revisions

From EverQuest Legends Wiki
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="itemtopbg"><div class="itemtitle">{{{itemname}}}</div></div>
<includeonly><div class="itemtopbg"><div class="itemtitle">{{{itemname}}}</div></div>
<div class="itembg"><div class="itemdata">
<div class="itembg"><div class="itemdata"><div class="itemicon">[[File:item_{{{lucy_img_ID}}}.png|right|link=]]</div><!--
<div class="itemicon">[[File:item_{{{lucy_img_ID}}}.png|right|link=]]</div>
-->{{#vardefine:itembox_stats|{{{statsblock|}}}}}<!--
 
-->{{#vardefine:itembox_classline|{{#explode:{{#explode:{{#var:itembox_stats}}|Class:|1|2}}|<br>|0|2}}}}<!--
{{#if:{{#pos:{{{statsblock|}}}|Piercing}}|
-->{{#vardefine:itembox_rogusable|{{#if:{{#pos:{{#var:itembox_classline}}|ROG}}|1|{{#if:{{#pos:{{#var:itembox_classline}}|ALL}}|1|}}}}}}<!--
  {{#if:{{#pos:{{{statsblock|}}}|DMG:}}|
-->{{#if:{{#var:itembox_rogusable}}|{{#if:{{#pos:{{#var:itembox_stats}}|Skill: Piercing}}|{{#if:{{#pos:{{#var:itembox_stats}}|DMG:}}|{{#if:{{#pos:{{#var:itembox_stats}}|BACKSTAB:}}|{{#var:itembox_stats}}|{{#explode:{{#var:itembox_stats}}|DMG:|0|2}}DMG: {{#expr:{{#explode:{{#explode:{{#var:itembox_stats}}|DMG:|1|2}}|<br>|0|2}}}}<br>BACKSTAB: {{#expr:{{#explode:{{#explode:{{#var:itembox_stats}}|DMG:|1|2}}|<br>|0|2}}}}<br>{{#explode:{{#explode:{{#var:itembox_stats}}|DMG:|1|2}}|<br>|1|2}}}}|{{#var:itembox_stats}}}}|{{#var:itembox_stats}}}}|{{#var:itembox_stats}}}}<!--
    {{#explode:{{{statsblock|}}}|DMG:|0|2}}DMG: {{#explode:{{#explode:{{{statsblock|}}}|DMG:|1|2}}|<br>|0|2}}<br>
-->{{#if:{{{focus_effect|}}}|Focus Effect: [[{{{focus_effect}}}|<span class="itemeff">{{{focus_effect}}}</span>]]<br>}}
Backstab: {{#explode:{{#explode:{{{statsblock|}}}|DMG:|1|2}}|<br>|0|2}}<br>
</div></div><div class="itembotbg"></div></includeonly><noinclude>
{{#explode:{{#explode:{{{statsblock|}}}|DMG:|1|2}}|<br>|1|2}}
===Description===
  |{{{statsblock|}}}
  }}
|{{{statsblock|}}}
}}
 
{{#if: {{{focus_effect|}}} |
Focus Effect: [[{{{focus_effect}}}|<span class='itemeff'>{{{focus_effect}}}</span>]]<br>
}}
 
</div></div><div class="itembotbg"></div></includeonly>
<noinclude>===Description===
This is the template page for the item stats box.
This is the template page for the item stats box.


This template is used internally by [[Template:Itempage]].
This template is used internally by [[Template:Itempage]].


[[Category:Templates]]</noinclude>
For Rogue-usable piercing weapons, Backstab damage defaults to the weapon's listed damage. An explicit <code>BACKSTAB:</code> line in the stats block overrides that assumption.
 
[[Category:Templates]]
</noinclude>

Latest revision as of 14:32, 14 July 2026

Description

This is the template page for the item stats box.

This template is used internally by Template:Itempage.

For Rogue-usable piercing weapons, Backstab damage defaults to the weapon's listed damage. An explicit BACKSTAB: line in the stats block overrides that assumption.