Template:Itembox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
<div class="itemicon">[[File:item_{{{lucy_img_ID}}}.png|right|link=]]</div> | <div class="itemicon">[[File:item_{{{lucy_img_ID}}}.png|right|link=]]</div> | ||
{{#if:{{#pos:{{{ | {{#vardefine:itembox_stats|{{{statsblock|}}}}} | ||
{{#vardefine:itembox_classline|{{#trim: | |||
{{#explode: | |||
BACKSTAB: {{#explode:{{#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|}} | |||
}} | |||
}} | |||
{{#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: {{#explode:{{#explode:{{#var:itembox_stats}}|DMG:|1|2}}|<br>|0|2}}<br> | |||
BACKSTAB: {{#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|}}} | | {{#if:{{{focus_effect|}}}| | ||
Focus Effect: [[{{{focus_effect}}}|<span class='itemeff'>{{{focus_effect}}}</span>]]<br> | Focus Effect: [[{{{focus_effect}}}|<span class='itemeff'>{{{focus_effect}}}</span>]]<br> | ||
}} | }} | ||
Revision as of 01:51, 14 July 2026
Description
This is the template page for the item stats box.
This template is used internally by Template:Itempage.