Template:Infobox weapon: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 10:
</div>
}}
{{#if: {{{element|}}} |
<div class="dmg-type-row">
<div class="dmg-type-cell {{{element}}}">{{#if: {{{element|}}} | {{#ifeq: {{{element}}} | none | | [[File:Necrotic{{{element}}} damage icon.png|link=]] }}</div> }}
</div>
<p>{{{element}}}</p>
<p>{{#if: {{{element|}}} | {{#replace:{{#replace:{{{element%|}}}| |}}|%|}}% | 0% }}</p>
</div>
}}
{{#if: {{{range|}}} |
<div class="dmg-type-row">
<div class="dmg-type-cell typerange">{{#if: {{{range|}}} | [[File:Weapon range icon.png|link=]] }}</div>
<p>{{{range}}}</p>
</div>