Template:Infobox equipment: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
{{#switch: {{lc:{{{rarity}}}}} | common = Common ★ | uncommon = Uncommon ★★ | rare = Rare ★★★ | epic = 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}}} | }} |
|||
| {{{physical}}} |
| {{{physical}}} |
||
|- |
|- |
||
|style="text-align: center; background: #68ABF1;" | {{#if: {{{cryonae|}}} | [[File:Cryoknight icon.svg|30px]] || {{{cryonae}}} | }} |
|||
| {{{cryonae}}} |
| {{{cryonae}}} |
||
|- |
|- |
||
|style="text-align: center; background: #72D757;" | {{#if: {{{arborae|}}} | [[File:Guardian icon.svg|30px]] || {{{arborae}}} | }} |
|||
| {{{arborae}}} |
| {{{arborae}}} |
||
|- |
|- |
||
|style="text-align: center; background: #FFE233;" | {{#if: {{{tempestae|}}} | [[File:Hammermage icon.svg|30px]] || {{{tempestae}}} | }} |
|||
| {{{tempestae}}} |
| {{{tempestae}}} |
||
|- |
|- |
||
|style="text-align: center; background: #D39D71;" | {{#if: {{{infernae|}}} | [[File:Infernae damage icon.png|30px]] || {{{infernae}}} | }} |
|||
| {{{infernae}}} |
| {{{infernae}}} |
||
|- |
|- |
||
|style="text-align: center; background: #000;" | {{#if: {{{necrotic|}}} | [[File:Necrotic damage icon.png|30px]] || {{{necrotic}}} | }} |
|||
| {{{necrotic}}} |
| {{{necrotic}}} |
||
|}[[Category:Equipment]]</includeonly><noinclude>{{/doc}}</noinclude> |
|}[[Category:Equipment]]</includeonly><noinclude>{{/doc}}</noinclude> |
Revision as of 17:20, 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 ★ | |
File:Physical damage icon.png | 10 |
20 | |
50 | |
200 | |
File:Infernae damage icon.png | 1000 |
File:Necrotic damage icon.png | 10000 |