Difference between revisions of "Template:Icon"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m
m (test)
Line 4: Line 4:
 
|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:{{{B|1}}}}}
 
{{#if: {{{B|?}}} | [[File:{{#switch:{{lc:{{{B|1}}}}}
 
<!--rarity-->
 
<!--rarity-->
Line 15: Line 15:
 
|godly = Godly Icon
 
|godly = Godly Icon
 
|ancient = Ancient Icon
 
|ancient = Ancient Icon
}}.png|{{{2|18px}}}]]}}<!--
+
}}.png|{{{2|18px}}}]] | }}<!--
  
 
--><noinclude>
 
--><noinclude>

Revision as of 23:18, 2 November 2025

18px 18px

Usage:
{{Icon|input|size}}

Example:
{{Icon|Powerful|30px}}

  • 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