Template:Itembox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
-->{{#vardefine:itembox_classline|{{#explode:{{#explode:{{#var:itembox_stats}}|Class:|1|2}}|<br>|0|2}}}}<!-- | -->{{#vardefine:itembox_classline|{{#explode:{{#explode:{{#var:itembox_stats}}|Class:|1|2}}|<br>|0|2}}}}<!-- | ||
-->{{#vardefine:itembox_rogusable|{{#if:{{#pos:{{#var:itembox_classline}}|ROG}}|1|{{#if:{{#pos:{{#var:itembox_classline}}|ALL}}|1|}}}}}}<!-- | -->{{#vardefine:itembox_rogusable|{{#if:{{#pos:{{#var:itembox_classline}}|ROG}}|1|{{#if:{{#pos:{{#var:itembox_classline}}|ALL}}|1|}}}}}}<!-- | ||
-->{{#if:{{#var:itembox_rogusable}}|{{#if:{{#pos:{{#var:itembox_stats}}|Skill: Piercing}}|{{#if:{{#pos:{{#var:itembox_stats}}|DMG:}}|{{#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}}}}<!-- | -->{{#if:{{#var:itembox_rogusable}}|{{#if:{{#pos:{{#var:itembox_stats}}|Skill: Piercing}}|{{#if:{{#pos:{{#var:itembox_stats}}|DMG:}}|{{#explode:{{#var:itembox_stats}}|DMG:|0|2}}DMG: {{#expr:{{#explode:{{#explode:{{#var:itembox_stats}}|DMG:|1|2}}|<br>|0|2}}}}<br>BACKSTAB: {{#if:{{{backstab_damage|}}}|{{#expr:{{{backstab_damage}}}}}|{{#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}}}}<!-- | ||
-->{{#if:{{{focus_effect|}}}|Focus Effect: [[{{{focus_effect}}}|<span class="itemeff">{{{focus_effect}}}</span>]]<br>}} | -->{{#if:{{{focus_effect|}}}|Focus Effect: [[{{{focus_effect}}}|<span class="itemeff">{{{focus_effect}}}</span>]]<br>}} | ||
</div></div><div class="itembotbg"></div></includeonly><noinclude> | </div></div><div class="itembotbg"></div></includeonly><noinclude> | ||
| Line 11: | Line 11: | ||
This template is used internally by [[Template:Itempage]]. | This template is used internally by [[Template:Itempage]]. | ||
The optional parameter <code>backstab_damage</code> overrides the normal assumption that backstab damage equals the weapon's listed damage. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:23, 14 July 2026
Description
This is the template page for the item stats box.
This template is used internally by Template:Itempage.
The optional parameter backstab_damage overrides the normal assumption that backstab damage equals the weapon's listed damage.