Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
Palo Frogger (talk | contribs) m (Test) |
Palo Frogger (talk | contribs) m (Undo revision 24604 by Palo Frogger (talk)) |
||
| Line 1: | Line 1: | ||
{{#if: {{{A|?}}} | [[File:{{#switch:{{lc:{{{A|1}}}}} | {{#if: {{{A|?}}} | [[File:{{#switch:{{lc:{{{A|1}}}}} | ||
<!--Curency--> | <!--Curency--> | ||
| − | |gold = Gold Icon | + | |gold = Gold Icon |
| − | |medal = Defender Medal Icon | + | |medal = Defender Medal Icon |
| − | |gem = Gem Icon | + | |gem = Gem Icon |
| − | }}|{{{2|18px}}}]]}} | + | }}.png|{{{2|18px}}}]]}} |
{{#if: {{{B|?}}} | [[File:{{#switch:{{lc:{{{B|1}}}}} | {{#if: {{{B|?}}} | [[File:{{#switch:{{lc:{{{B|1}}}}} | ||
<!--rarity--> | <!--rarity--> | ||
| − | |worn = Worn Icon | + | |worn = Worn Icon |
| − | |sturdy = Sturdy Icon | + | |sturdy = Sturdy Icon |
| − | |powerful = Powerful Icon | + | |powerful = Powerful Icon |
| − | |epic = Epic Icon | + | |epic = Epic Icon |
| − | |mythical = Mythical Icon | + | |mythical = Mythical Icon |
| − | |legendary = Legendary Icon | + | |legendary = Legendary Icon |
| − | |godly = Godly Icon | + | |godly = Godly Icon |
| − | |ancient = Ancient Icon | + | |ancient = Ancient Icon |
| − | }}|{{{2|18px}}}]]}}<!-- | + | }}.png|{{{A|2|18px}}}]]}}<!-- |
--><noinclude> | --><noinclude> | ||
Revision as of 22:10, 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
|