Template:Infobox weapon: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 11:
}}
<div class="dmg-type-row">
<div class="dmg-type-cell {{{element}}}">{{#if: {{{element|}}} | {{#ifeq: {{{element}}} | none | | [[File:{{{element}}} damage icon.png|link=]] }}</div> }}
</div>
<p>{{#if: {{{element|}}} | {{#replace:{{#replace:{{{element%|}}}| |}}|%|}}% | 0% }}</p>
</div>