Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
Palo Frogger (talk | contribs) (Test) |
Palo Frogger (talk | contribs) m (Test) |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{A|[[File:{{#switch:{{lc:{{{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 | ||
| − | }}.png|{{{2|18px}}}]] | + | }}.png|{{{2|18px}}}]] |
| + | }} | ||
{{#if: {{{B|[[File:{{#switch:{{lc:{{{1}}}}} | {{#if: {{{B|[[File:{{#switch:{{lc:{{{1}}}}} | ||
<!--rarity--> | <!--rarity--> | ||
| Line 15: | Line 16: | ||
|godly = Godly Icon | |godly = Godly Icon | ||
|ancient = Ancient Icon | |ancient = Ancient Icon | ||
| − | }}.png|{{{2|18px}}}]]}}}}}<!-- | + | }}.png|{{{2|18px}}}]] |
| + | }}} | ||
| + | }}<!-- | ||
--><noinclude> | --><noinclude> | ||
| Line 35: | Line 38: | ||
|- | |- | ||
|style="vertical-align: top;"| | |style="vertical-align: top;"| | ||
| − | {{Icon|Gold|30px}} Gold | + | {{Icon|A = Gold|30px}} Gold |
| − | {{Icon|Medal|30px}} Medal | + | {{Icon|A = Medal|30px}} Medal |
| − | {{Icon|Gem|30px}} Gem | + | {{Icon|A = Gem|30px}} Gem |
|style="vertical-align: top;"| | |style="vertical-align: top;"| | ||
{{Icon|Worn|30px}} Worn | {{Icon|Worn|30px}} Worn | ||
Revision as of 04:06, 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 |
|---|---|
|
|