Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
m (Test) |
(Test) |
||
| Line 1: | Line 1: | ||
| − | {{#switch: {{{ | + | {{#switch:{{{1|}}} |
| − | + | <!--Currency--> | |
| − | |gold = Gold Icon | + | | currency = {{#switch:{{{2|}}} |
| − | |medal = Defender Medal Icon | + | |gold = [[File:Gold Icon.png|18px]] Gold |
| − | |gem = Gem Icon | + | |medal = [[File:Defender Medal Icon.png|18px]] Medals |
| − | + | |gem = [[File:Gem Icon.png|18px]] Gems | |
| − | + | }} | |
<!--rarity--> | <!--rarity--> | ||
| − | |worn = Worn Icon | + | | rarity = {{#switch:{{{2|}}} |
| − | |sturdy = Sturdy Icon | + | |worn = <span style="color:#808080"> [[File:Worn Icon.png|18px]] Worn </span> |
| − | |powerful = Powerful Icon | + | |sturdy = <span style="color:#808000"> [[File:Sturdy Icon.png|18px]] Sturdy </span> |
| − | |epic = Epic Icon | + | |powerful = <span style="color:#008000"> [[File:Powerful Icon.png|18px]] Powerful </span> |
| − | |mythical = Mythical Icon | + | |epic = <span style="color:#3366FF"> [[File:Epic Icon.png|18px]] Epic </span> |
| − | |legendary = Legendary Icon | + | |mythical = <span style="color:#ff00ff"> [[File:Mythical Icon.png|18px]] Mythical </span> |
| − | |godly = Godly Icon | + | |legendary = <span style="color:#FFF380"> [[File:Legendary Icon.png|18px]] Legendary </span> |
| − | |ancient = | + | |godly = <span style="color:#40E0D0"> [[File:Godly Icon.png|18px]] Godly </span> |
| − | + | |ancient = <span style="color:#FF0038"> [[File:Godly Icon.png|18px]] Ancient </span> | |
| + | }} | ||
| + | }}<!-- | ||
--><noinclude> | --><noinclude> | ||
Revision as of 13:19, 22 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 |