Template:Infobox equipment: Difference between revisions

No edit summary
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div class="infobox-equipment {{{rarity}}}">
<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>
</div>
</div>
<div class="dmg-types-wrapper">
<div class="dmg-types-wrapper">
{{#if: {{{physical|}}} |
{{#if: {{{impact|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell physical">{{#if: {{{physical|}}} | [[File:Physical damage icon.png]] }}</div>
<div class="dmg-type-cell impact">{{#if: {{{impact|}}} | [[File:Impact damage icon.png|link=]] }}</div>
<p>{{{physical}}}</p>
<p>{{{impact}}}</p>
</div>
</div>
}}
}}
{{#if: {{{cryonae|}}} |
{{#if: {{{cryonae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell cryonae">{{#if: {{{cryonae|}}} | [[File:Cryoknight icon.svg]] }}</div>
<div class="dmg-type-cell cryonae">{{#if: {{{cryonae|}}} | [[File:Cryonae_damage icon.png|link=]] }}</div>
<p>{{{cryonae}}}</p>
<p>{{{cryonae}}}</p>
</div>
</div>
Line 18: Line 18:
{{#if: {{{arborae|}}} |
{{#if: {{{arborae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell arborae">{{#if: {{{arborae|}}} | [[File:Guardian icon.svg]] }}</div>
<div class="dmg-type-cell arborae">{{#if: {{{arborae|}}} | [[File:Arborae_damage icon.png|link=]] }}</div>
<p>{{{arborae}}}</p>
<p>{{{arborae}}}</p>
</div>
</div>
Line 24: Line 24:
{{#if: {{{tempestae|}}} |
{{#if: {{{tempestae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell tempestae">{{#if: {{{tempestae|}}} | [[File:Hammermage icon.svg]] }}</div>
<div class="dmg-type-cell tempestae">{{#if: {{{tempestae|}}} | [[File:Tempestae_damage icon.png|link=]] }}</div>
<p>{{{tempestae}}}</p>
<p>{{{tempestae}}}</p>
</div>
</div>
Line 30: Line 30:
{{#if: {{{infernae|}}} |
{{#if: {{{infernae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell infernae">{{#if: {{{infernae|}}} | [[File:Infernae damage icon.png]] }}</div>
<div class="dmg-type-cell infernae">{{#if: {{{infernae|}}} | [[File:Infernae damage icon.png|link=]] }}</div>
<p>{{{infernae}}}</p>
<p>{{{infernae}}}</p>
</div>
</div>
}}
}}
{{#if: {{{necrotic|}}} |
{{#if: {{{necromae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell necrotic">{{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png]] }}</div>
<div class="dmg-type-cell necromae">{{#if: {{{necromae|}}} | [[File:Necromae damage icon.png|link=]] }}</div>
<p>{{{necrotic}}}</p>
<p>{{{necromae}}}</p>
</div>
</div>
}}
}}
</div>
</div>
</div></includeonly><noinclude>{{/doc}}</noinclude>
</div>
</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 14:40, 8 November 2024

Template documentation
This documentation is transcluded from Template:Infobox equipment/doc. [edit] [history] [purge]

Parameters

Rarity

Rarity of the item (Common, Uncommon, Rare, Epic). This changes the number of ★ as well as the color of the infobox.

Damage values

  • impact
  • cryonae
  • arborae
  • tempestae
  • infernae
  • necromae

Quick copy

{{Infobox equipment
|rarity =
|impact =
|cryonae =
|arborae =
|tempestae =
|infernae =
|necromae =
}}

Example

{{Infobox equipment
|rarity = Common
|impact = 10
|cryonae = 20
|arborae = 50
|tempestae = 200
|infernae = 1000
|necromae = 10000
}}

Produces the following example:

10

20

50

200

1000

10000