Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
Palo Frogger (talk | contribs) m (test) |
Palo Frogger (talk | contribs) m |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{A | + | {{#if: {{{A}}} | [[File:{{#switch:{{lc:{{{A|1}}}}} |
<!--Curency--> | <!--Curency--> | ||
|gold = Gold Icon | |gold = Gold Icon | ||
| Line 5: | Line 5: | ||
|gem = Gem Icon | |gem = Gem Icon | ||
}}.png|{{{2|18px}}}]] | }} | }}.png|{{{2|18px}}}]] | }} | ||
| − | {{#if: {{{B | + | {{#if: {{{B}}} | [[File:{{#switch:{{lc:{{{B|1}}}}} |
<!--rarity--> | <!--rarity--> | ||
|worn = Worn Icon | |worn = Worn Icon | ||
Revision as of 22:20, 2 November 2025
|
Usage: |
Example: |
- Size is optional. The default will always be 18px.
- Accepted inputs are not case-sensitive. But for consistency, probably best to stick to having the first letter of each input in upper-case.
Available Inputs
| Currency | Rarity |
|---|---|
|
|
2
|