Template:Infobox equipment: Difference between revisions

m (Renamed parameters to be accurate)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
{{#if: {{{impact|}}} |
{{#if: {{{impact|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell physical">{{#if: {{{impact|}}} | [[File:Impact damage icon.png|link=]] }}</div>
<div class="dmg-type-cell impact">{{#if: {{{impact|}}} | [[File:Impact damage icon.png|link=]] }}</div>
<p>{{{impact}}}</p>
<p>{{{impact}}}</p>
</div>
</div>
Line 36: Line 36:
{{#if: {{{necromae|}}} |
{{#if: {{{necromae|}}} |
<div class="dmg-type-row">
<div class="dmg-type-row">
<div class="dmg-type-cell necrotic">{{#if: {{{necromae|}}} | [[File:Necromae damage icon.png|link=]] }}</div>
<div class="dmg-type-cell necromae">{{#if: {{{necromae|}}} | [[File:Necromae damage icon.png|link=]] }}</div>
<p>{{{necromae}}}</p>
<p>{{{necromae}}}</p>
</div>
</div>

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