Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
Palo Frogger (talk | contribs) m (Got to figure out why adding text still breaks the template despite having a <noinclude> wrapper.) |
m (Test) |
||
| Line 1: | Line 1: | ||
| − | + | [[File:{{#switch:{{lc:{{{1}}}}} | |
<!--Curency--> | <!--Curency--> | ||
|gold = Gold Icon | |gold = Gold Icon | ||
| Line 13: | Line 13: | ||
|godly = Godly Icon | |godly = Godly Icon | ||
|ancient = Ancient Icon | |ancient = Ancient Icon | ||
| − | }}.png|{{{2|18px}}}]]< | + | }}.png|{{{2|18px}}}]]<!-- |
| − | |||
| − | |||
| + | --><noinclude> | ||
{| style="text-align: center; width:50%;" | {| style="text-align: center; width:50%;" | ||
|- | |- | ||
| Line 56: | Line 55: | ||
{{Icon|Ancient|30px}} Ancient | {{Icon|Ancient|30px}} Ancient | ||
|} | |} | ||
| − | + | __NOEDITSECTION__ | |
</noinclude> | </noinclude> | ||
| − | |||
Revision as of 09:35, 28 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 |
|---|---|