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" | {{#switch: {{{rarity}}}
! {{#ifeq: {{{rarity}}} | common | ★ | {{#ifeq: {{{rarity}}} | uncommon | ★★ | {{#ifeq: {{{rarity}}} | rare | ★★★ | {{#ifeq: {{{rarity}}} | 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:01, 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

  • physical
  • cryonae
  • arborae
  • tempestae
  • infernae
  • necrotic

Quick copy

{{Infobox equipment
|rarity = {{#titleparts:{{PAGENAME}}|1}}
|physical =
|cryonae =
|arborae =
|tempestae =
|infernae =
|necrotic =
}}

Produces the following example:

File:Infobox equipment.pngInfobox equipment
File:Physical damage icon.png 10
20
50
200
File:Infernae damage icon.png 1000
File:Necrotic damage icon.png 10000