Template:Infobox weapon: Difference between revisions

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