Template:Infobox weapon: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 10:
</div>
}}
<div class="dmg-type-row ">
{{#if: {{{element|}}} |
<div class="dmg-type-cell {{{element}}}">{{#invokeif:Infobox weapon element parser|getElement|{{{element|}}}}}">[[File: | {{#invokeifeq:Infobox weapon {{{element}}} parser|getElement none | | [[File:{{{element}}}}} damage icon.png|link=]]</div> }} }}
<div class="dmg-type-row ">
</div>
<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>{{#invokeif:Infobox weapon {{{element|}}} parser|getPercent| {{#replace:{{#replace:{{{element%|}}}| |}}|%|}}% | 0% }}</p>
</div>
}}
 
{{#if: {{{range|}}} |
<div class="dmg-type-row">