Editing Template:Infobox weapon
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly><div class="infobox- |
<includeonly><div class="infobox-equipment {{lc:{{{rarity}}}}}"> |
||
<div class="rarity-wrapper"> |
<div class="rarity-wrapper"> |
||
<p>{{#switch: {{lc:{{{rarity}}}}} | common = ★ | uncommon = ★ ★ | rare = ★ ★ ★ | epic = ★ ★ ★ ★ }}</p> |
<p>{{#switch: {{lc:{{{rarity}}}}} | common = ★ | uncommon = ★ ★ | rare = ★ ★ ★ | epic = ★ ★ ★ ★ }}</p> |
||
Line 6: | Line 6: | ||
{{#if: {{{damage|}}} | |
{{#if: {{{damage|}}} | |
||
<div class="dmg-type-row"> |
<div class="dmg-type-row"> |
||
<div class="dmg-type-cell damage">{{#if: {{{damage|}}} | [[File:Damage icon.png |
<div class="dmg-type-cell damage">{{#if: {{{damage|}}} | [[File:Damage icon.png]] }}</div> |
||
<p>{{{damage}}}</p> |
<p>{{{damage}}}</p> |
||
</div> |
</div> |
||
}} |
}} |
||
⚫ | |||
<div class="dmg-type-row"> |
<div class="dmg-type-row"> |
||
<div class="dmg-type-cell |
<div class="dmg-type-cell elemental">{{#if: {{{elemental|}}} | [[File:Necrotic damage icon.png]] }}</div> |
||
<p>{{{elemental}}}</p> |
|||
</div> |
</div> |
||
}} |
|||
<p>{{#if: {{{element|}}} | {{#replace:{{#replace:{{{element%|}}}| |}}|%|}}% | 0% }}</p> |
|||
{{#if: {{{type|}}} | |
|||
⚫ | |||
⚫ | |||
<div class="dmg-type-row"> |
<div class="dmg-type-row"> |
||
<div class="dmg-type-cell |
<div class="dmg-type-cell type">{{#if: {{{type|}}} | [[File:Weapon type icon.png]] }}</div> |
||
<p>{{{ |
<p>{{{type}}}</p> |
||
</div> |
</div> |
||
}} |
}} |
||
{{#if: {{{ |
{{#if: {{{hand|}}} | |
||
<div class="dmg-type-row"> |
<div class="dmg-type-row"> |
||
<div class="dmg-type-cell hand"> |
|||
<div class="dmg-type-cell {{{slot}}}">{{#switch: {{{slot}}} | one-hand = [[File:1-Hand icon.png|link=]] | two-hand = [[File:2-Hand icon.png|link=]] }}</div> |
|||
{{#switch: {{{hand}}} | 1 = [[File:1-Hand icon.png]] | 2 = [[File:2-Hand icon.png]] }} |
|||
⚫ | |||
<p>{{#switch: {{{hand}}} | 1 = 1-Hand | 2 = 2-Hand }}</p> |
|||
</div> |
</div> |
||
}} |
}} |