Template:Infobox weapon: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(28 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>
}}
{{#if: {{{element|}}} |▼
<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>
<div class="dmg-type-row">
<div class="dmg-type-cell
<p>{{{
</div>
}}
{{#if: {{{
<div class="dmg-type-row">
<div class="dmg-type-cell {{{
<p>{{#switch: {{{
</div>
}}
|