Template:Infobox equipment: Difference between revisions
(Created page with "<includeonly>{| class="wikitable" style="text-align:left;" ! colspan="2" | {{Plink|{{PAGENAME}}}} |- !style="background: #fff;" | {{#if: {{{Physical|}}} | 30px | {{{Physical}}} | }} | {{{Physical}}} |- !style="background: #68ABF1;" | {{#if: {{{Cryonae|}}} | 30px || {{{Cryonae}}} | }} | {{{Cryonae}}} |- !style="background: #72D757;" | {{#if: {{{Arborae|}}} | 30px || {{{Arborae}}} | }...") |
No edit summary |
||
(37 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly><div class="infobox-equipment {{lc:{{{rarity}}}}}"> |
||
<div class="rarity-wrapper"> |
|||
! colspan="2" | {{Plink|{{PAGENAME}}}} |
|||
<p>{{#switch: {{lc:{{{rarity}}}}} | common = ★ | uncommon = ★ ★ | rare = ★ ★ ★ | epic = ★ ★ ★ ★ }}</p> |
|||
|- |
|||
</div> |
|||
!style="background: #fff;" | {{#if: {{{Physical|}}} | [[File:Physical damage icon.png|30px]] | {{{Physical}}} | }} |
|||
<div class="dmg-types-wrapper"> |
|||
| {{{Physical}}} |
|||
{{#if: {{{impact|}}} | |
|||
|- |
|||
<div class="dmg-type-row"> |
|||
!style="background: #68ABF1;" | {{#if: {{{Cryonae|}}} | [[File:Cryoknight icon.svg|30px]] || {{{Cryonae}}} | }} |
|||
<div class="dmg-type-cell impact">{{#if: {{{impact|}}} | [[File:Impact damage icon.png|link=]] }}</div> |
|||
| {{{Cryonae}}} |
|||
<p>{{{impact}}}</p> |
|||
|- |
|||
</div> |
|||
!style="background: #72D757;" | {{#if: {{{Arborae|}}} | [[File:Guardian icon.svg|30px]] || {{{Arborae}}} | }} |
|||
}} |
|||
| {{{Arborae}}} |
|||
{{#if: {{{cryonae|}}} | |
|||
|- |
|||
<div class="dmg-type-row"> |
|||
!style="background: #FFE233;" | {{#if: {{{Tempestae|}}} | [[File:Hammermage icon.svg|30px]] || {{{Tempestae}}} | }} |
|||
<div class="dmg-type-cell cryonae">{{#if: {{{cryonae|}}} | [[File:Cryonae_damage icon.png|link=]] }}</div> |
|||
| {{{Tempestae}}} |
|||
<p>{{{cryonae}}}</p> |
|||
|- |
|||
</div> |
|||
⚫ | |||
}} |
|||
| {{{Infernae}}} |
|||
{{#if: {{{arborae|}}} | |
|||
|- |
|||
<div class="dmg-type-row"> |
|||
!style="background: #000;" | {{#if: {{{Necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{Necrotic}}} | }} |
|||
<div class="dmg-type-cell arborae">{{#if: {{{arborae|}}} | [[File:Arborae_damage icon.png|link=]] }}</div> |
|||
| {{{Necrotic}}} |
|||
<p>{{{arborae}}}</p> |
|||
⚫ | |||
</div> |
|||
}} |
|||
{{#if: {{{tempestae|}}} | |
|||
<div class="dmg-type-row"> |
|||
<div class="dmg-type-cell tempestae">{{#if: {{{tempestae|}}} | [[File:Tempestae_damage icon.png|link=]] }}</div> |
|||
<p>{{{tempestae}}}</p> |
|||
</div> |
|||
}} |
|||
{{#if: {{{infernae|}}} | |
|||
<div class="dmg-type-row"> |
|||
⚫ | |||
<p>{{{infernae}}}</p> |
|||
</div> |
|||
}} |
|||
{{#if: {{{necromae|}}} | |
|||
<div class="dmg-type-row"> |
|||
<div class="dmg-type-cell necromae">{{#if: {{{necromae|}}} | [[File:Necromae damage icon.png|link=]] }}</div> |
|||
<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