Template:Infobox weapon: Difference between revisions

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