Template:Infobox equipment: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tag: Reverted |
(woops this is not my page) Tag: Manual revert |
||
Line 1: | Line 1: | ||
{| class="wikitable infobox-equipment |
<includeonly>{| class="wikitable infobox-equipment" |
||
! colspan="2" | {{Plink|{{PAGENAME}}}} |
! colspan="2" | {{Plink|{{PAGENAME}}}} |
||
|- |
|- |
||
! colspan="2" class="equipment-rarity-{{lc:{{{rarity}}}}}" | |
! colspan="2" class="equipment-rarity-{{lc:{{{rarity}}}}}" | |
||
{{#switch: {{lc:{{{rarity}}}}} | common = ★ | uncommon = ★★ | rare = ★★★ | epic = ★★★★ }} |
{{#switch: {{lc:{{{rarity}}}}} | common = Common ★ | uncommon = Uncommon ★★ | rare = Rare ★★★ | epic = Epic ★★★★ }} |
||
|- |
|- |
||
|style="text-align: center; background: #fff;" | {{#if: {{{physical|}}} | [[File:Physical damage icon.png|30px]] | {{{physical}}} | }} |
|style="text-align: center; background: #fff;" | {{#if: {{{physical|}}} | [[File:Physical damage icon.png|30px]] | {{{physical}}} | }} |
||
Line 22: | Line 22: | ||
|style="text-align: center; background: #000;" | {{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{necrotic}}} | }} |
|style="text-align: center; background: #000;" | {{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{necrotic}}} | }} |
||
| {{{necrotic}}} |
| {{{necrotic}}} |
||
|}[[Category:Equipment]]<noinclude>{{/doc}}</noinclude> |
|}[[Category:Equipment]]</includeonly><noinclude>{{/doc}}</noinclude> |
Revision as of 19:09, 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
- 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 | |
---|---|
Common ★ | |
10 | |
20 | |
50 | |
200 | |
1000 | |
10000 |