Template:Infobox equipment: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 2: Line 2:
! colspan="2" | {{Plink|{{PAGENAME}}}}
! colspan="2" | {{Plink|{{PAGENAME}}}}
|-
|-
! colspan="2" class="rarity-{{{rarity}}}" |
! colspan="2" class="equipment-rarity-{{{rarity}}}" |
{{#switch: {{lc:{{{rarity}}}}}
{{#switch: {{lc:{{{rarity}}}}} | common = Common ★ | uncommon = Uncommo ★★ | rare = Rare ★★★ | epic = Epic ★★★★ }}
| common = ★
| uncommon = ★★
| rare = ★★★
| epic = ★★★★
}}
|-
|-
!style="background: #fff;" | {{#if: {{{physical|}}} | [[File:Physical damage icon.png|30px]] | {{{physical}}} | }}
!style="background: #fff;" | {{#if: {{{physical|}}} | [[File:Physical damage icon.png|30px]] | {{{physical}}} | }}

Revision as of 23:05, 6 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:

File:Infobox equipment.pngInfobox equipment

Common ★

{{{physical}}} {{{physical}}}
20
50
200
1000
{{{necrotic}}}