Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
m (Test) |
Palo Frogger (talk | contribs) (Test) |
||
| Line 1: | Line 1: | ||
| − | + | {{#switch: [[File:{{padleft:|A|{{{1}}}}} | |
<!--Curency--> | <!--Curency--> | ||
|gold = Gold Icon | |gold = Gold Icon | ||
|medal = Defender Medal Icon | |medal = Defender Medal Icon | ||
|gem = Gem Icon | |gem = Gem Icon | ||
| + | .png|{{{2|18px}}}]]}} | ||
| + | |||
| + | {{#switch: [[File:{{padleft:|B|{{{1}}}}} | ||
<!--rarity--> | <!--rarity--> | ||
|worn = Worn Icon | |worn = Worn Icon | ||
| Line 13: | Line 16: | ||
|godly = Godly Icon | |godly = Godly Icon | ||
|ancient = Ancient Icon | |ancient = Ancient Icon | ||
| − | + | .png|{{{2|18px}}}]]}}<!-- | |
--><noinclude> | --><noinclude> | ||
Revision as of 03:50, 29 October 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 |
|---|---|