Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
m |
m (Test) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#switch: {{{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|{{{A|2}}}|18px]] | }} | }}.png|{{{A|2}}}|18px]] | }} | ||
| − | {{# | + | {{#switch: {{{B}}} | [[File:{{#switch:{{lc:{{{B|1}}}}} |
<!--rarity--> | <!--rarity--> | ||
|worn = Worn Icon | |worn = Worn Icon | ||
Revision as of 16:57, 20 June 2026
|
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 |
|---|---|
Gold Medal Gem |
Worn Sturdy Powerful Epic Mythical Legendary Godly Ancient |