Template:Infobox weapon: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 11:
}}
{{#if: {{{element|}}} |
<div class="dmg-type-row ">
<div class="dmg-type-cell {{#invoke:Infobox weapon element parser|getElement|{{{element}}}}}">[[File:{{#invoke:Infobox weapon element parser|getElement|{{{element}}}}} damage icon.png|link=]]</div>
<p>{{#invoke:Infobox weapon element parser|getPercent|{{{element}}}}}</p>
</div>
}}
 
{{#if: {{{range|}}} |
<div class="dmg-type-row">