Template:Infobox weapon

From Brighter Shores Wiki
Revision as of 23:56, 7 November 2024 by Merds (talk | contribs) (Created page with "<includeonly><div class="infobox-equipment {{lc:{{{rarity}}}}}"> <div class="rarity-wrapper"> <p>{{#switch: {{lc:{{{rarity}}}}} | common = ★ | uncommon = ★ ★ | rare = ★ ★ ★ | epic = ★ ★ ★ ★ }}</p> </div> <div class="dmg-types-wrapper"> {{#if: {{{damage|}}} | <div class="dmg-type-row"> <div class="dmg-type-cell damage">{{#if: {{{damage|}}} | File:Damage icon.png }}</div> <p>{{{damage}}}</p> </div> }} {{#if: {{{elemental|}}} | <div class="dmg-type-r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Infobox weapon/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

Damage number

Element

Elemental damage type. Leave the field empty or type "none" in case the Elemental damage % below is "0".

  • none (or leave empty)
  • impact
  • cryonae
  • arborae
  • tempestae
  • infernae
  • necromae

Element %

Elemental damage %.

Range

Weapon range (Melee / 'number')

Slot

Weapon slot (one-hand / two-hand)

Quick copy

{{Infobox weapon
|rarity =
|damage = 
|element = 
|element% = 
|range = 
|slot = 
}}

Example

{{Infobox weapon
|rarity = uncommon
|damage = 89
|element = infernae
|element% = 49
|range = Melee
|slot = one-hand
}}

Produces the following example:

★ ★

89