Template:Infobox weapon: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(24 intermediate revisions by the same user not shown) | |||
Line 6:
{{#if: {{{damage|}}} |
<div class="dmg-type-row">
<div class="dmg-type-cell damage">{{#if: {{{damage|}}} | [[File:Damage icon.png|link=]] }}</div>
<p>{{{damage}}}</p>
</div>
}}
<div class="dmg-type-row">
<div class="dmg-type-cell {{{element}}}">{{#if: {{{element|}}} | {{#ifeq: {{{element}}} | none | | [[File:
</div>
<p>{{#if: {{{element|}}} | {{#replace:{{#replace:{{{element%|}}}| |}}|%|}}% | 0% }}</p>
</div>
{{#if: {{{range|}}} |
<div class="dmg-type-row">
<div class="dmg-type-cell
<p>{{{range}}}</p>
</div>
Line 24 ⟶ 23:
{{#if: {{{slot|}}} |
<div class="dmg-type-row">
<div class="dmg-type-cell {{{slot}}}">{{#switch: {{{slot}}} | one-hand = [[File:1-Hand icon.png|link=]] | two-hand = [[File:2-Hand icon.png|link=]] }}</div>
<p>{{#switch: {{{slot}}} | one-hand = 1-Hand | two-hand = 2-Hand }}</p>
</div>
|