Template:Infobox equipment: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(30 intermediate revisions by 3 users not shown)
Line 1:
<includeonly>{|<div class="wikitableinfobox-equipment {{lc:{{{rarity}}}}}">
<div class="rarity-wrapper">
! colspan="2" | {{Plink|{{PAGENAME}}}}
<p>{{#switch: {{lc:{{{rarity}}}}} | common = ★ | uncommon = ★ ★ | rare = ★ ★ ★ | epic = ★ ★ ★ ★ }}</p>
|-
</div>
! {{#ifeq: {{{rarity}}} | common | ★
<div class="dmg-types-wrapper">
| {{#ifeq: {{{rarity}}} | Uncommon | ★★
| {{#ifeqif: {{{rarityimpact|}}} | rare | ★★★
<div class="dmg-type-row">
| {{#ifeq: {{{rarity}}} | epic | ★★★★ }} }} }}
<div class="dmg-type-cell impact">{{#if: {{{impact|}}} | [[File:Impact damage icon.png|link=]] }}</div>
|-
<p>{{{impact}}}</p>
!style="background: #fff;" | {{#if: {{{physical|}}} | [[File:Physical damage icon.png|30px]] | {{{physical}}} | }}
</div>
| {{{physical}}}
}}
|-
!style="background: #68ABF1;" | {{#if: {{{cryonae|}}} | [[File:Cryoknight icon.svg|30px]] || {{{cryonae}}} | }}
<div class="dmg-type-row">
| {{{cryonae}}}
<div class="dmg-type-cell cryonae">{{#if: {{{cryonae|}}} | [[File:Cryonae_damage icon.png|link=]] }}</div>
|-
| <p>{{{cryonae}}}</p>
!style="background: #72D757;" | {{#if: {{{arborae|}}} | [[File:Guardian icon.svg|30px]] || {{{arborae}}} | }}
</div>
| {{{arborae}}}
}}
|-
{{#if: {{{arborae|}}} |
!style="background: #FFE233;" | {{#if: {{{tempestae|}}} | [[File:Hammermage icon.svg|30px]] || {{{tempestae}}} | }}
<div class="dmg-type-row">
| {{{tempestae}}}
<div class="dmg-type-cell arborae">{{#if: {{{arborae|}}} | [[File:Arborae_damage icon.png|link=]] }}</div>
|-
| <p>{{{arborae}}}</p>
!style="background: #A6866C;" | {{#if: {{{infernae|}}} | [[File:Infernae damage icon.png|30px]] || {{{infernae}}} | }}
</div>
| {{{infernae}}}
}}
|-
{{#if: {{{tempestae|}}} |
!style="background: #000;" | {{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{necrotic}}} | }}
<div class="dmg-type-row">
| {{{necrotic}}}
<div class="dmg-type-cell tempestae">{{#if: {{{tempestae|}}} | [[File:Tempestae_damage icon.png|link=]] }}</div>
|}[[Category:Equipment]]</includeonly><noinclude>{{/doc}}</noinclude>
| <p>{{{tempestae}}}</p>
</div>
}}
{{#if: {{{infernae|}}} |
<div class="dmg-type-row">
!style<div class="background:dmg-type-cell #A6866C;infernae" | >{{#if: {{{infernae|}}} | [[File:Infernae damage icon.png|30pxlink=]] || {{{infernae}}} | }}</div>
| <p>{{{infernae}}}</p>
</div>
}}
{{#if: {{{necromae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-cell necromae">{{#if: {{{necromae|}}} | [[File:Necromae damage icon.png|link=]] }}</div>
<p>{{{necromae}}}</p>
</div>
}}
</div>
|}[[Category:Equipment]]</div></includeonly><noinclude>{{/doc}}</noinclude>