Template:Infobox equipment: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(woops this is not my page)
Tag: Manual revert
No edit summary
Line 1:
<includeonly>{|<div class="wikitable infobox-equipment {{{rarity}}}">
<div class="rarity-wrapper">
! colspan="2" | {{Plink|{{PAGENAME}}}}
<p>{{#switch: {{lc:{{{rarity}}}}} | common = Common ★ | uncommon = Uncommon ★★ | rare = Rare ★★★★ ★ | epic = Epic ★★★★★ ★ ★ }}</p>
|-
</div>
! colspan="2" class="equipment-rarity-{{lc:{{{rarity}}}}}" |
<div class="dmg-types-wrapper">
{{#switch: {{lc:{{{rarity}}}}} | common = Common ★ | uncommon = Uncommon ★★ | rare = Rare ★★★ | epic = Epic ★★★★ }}
|{{#if: {{{physical|}}} |
|-
<div class="dmg-type-row">
|style<div class="textdmg-type-align:cell center; background: #fff;physical" | >{{#if: {{{physical|}}} | [[File:Physical damage icon.png|30px]] | {{{physical}}} | }}</div>
| {{{physical}}}
<p>{{{physical}}}</p>
|-
</div>
|style="text-align: center; background: #68ABF1;" | {{#if: {{{cryonae|}}} | [[File:Cryoknight icon.svg|30px]] || {{{cryonae}}} | }}
}}
| {{{cryonae}}}
{{#if: {{{cryonae|}}} |
|-
<div class="dmg-type-row">
|style="text-align: center; background: #72D757;" | {{#if: {{{arborae|}}} | [[File:Guardian icon.svg|30px]] || {{{arborae}}} | }}
|style<div class="textdmg-type-align:cell center; background: #68ABF1;cryonae" | >{{#if: {{{cryonae|}}} | [[File:Cryoknight icon.svg|30px]] || {{{cryonae}}} | }}</div>
| {{{arborae}}}
| <p>{{{cryonae}}}</p>
|-
</div>
|style="text-align: center; background: #FFE233;" | {{#if: {{{tempestae|}}} | [[File:Hammermage icon.svg|30px]] || {{{tempestae}}} | }}
}}
| {{{tempestae}}}
{{#if: {{{arborae|}}} |
|-
<div class="dmg-type-row">
|style="text-align: center; background: #D39D71;" | {{#if: {{{infernae|}}} | [[File:Infernae damage icon.png|30px]] || {{{infernae}}} | }}
|style<div class="textdmg-type-align:cell center; background: #72D757;arborae" | >{{#if: {{{arborae|}}} | [[File:Guardian icon.svg|30px]] || {{{arborae}}} | }}</div>
| {{{infernae}}}
| <p>{{{arborae}}}</p>
|-
</div>
|style="text-align: center; background: #000;" | {{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{necrotic}}} | }}
}}
| {{{necrotic}}}
{{#if: {{{tempestae|}}} |
|}[[Category:Equipment]]</includeonly><noinclude>{{/doc}}</noinclude>
<div class="dmg-type-row">
|style<div class="textdmg-type-align:cell center; background: #FFE233;tempestae" | >{{#if: {{{tempestae|}}} | [[File:Hammermage icon.svg|30px]] || {{{tempestae}}} | }}</div>
| <p>{{{tempestae}}}</p>
</div>
}}
{{#if: {{{infernae|}}} |
<div class="dmg-type-row">
|style<div class="textdmg-type-align:cell center; background: #D39D71;infernae" | >{{#if: {{{infernae|}}} | [[File:Infernae damage icon.png|30px]] || {{{infernae}}} | }}</div>
| <p>{{{infernae}}}</p>
</div>
}}
{{#if: {{{necrotic|}}} |
<div class="dmg-type-row">
|style<div class="textdmg-type-align:cell center; background: #000;necrotic" | >{{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{necrotic}}} | }}</div>
| <p>{{{necrotic}}}</p>
</div>
}}
</div>
</div>
|}[[Category:Equipment]]</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 20:00, 7 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:

20

50

200

1000