Difference between revisions of "Template:Icon"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m
m (Undo revision 24590 by Palo Frogger (talk))
Line 1: Line 1:
<includeonly>
+
<includeonly>[[File:{{#switch:{{lc:{{{1}}}}}
[[File:{{#switch:{{lc:{{{1}}}}}
 
 
<!--Curency-->
 
<!--Curency-->
 
|gold = Gold Icon
 
|gold = Gold Icon
Line 14: Line 13:
 
|godly = Godly Icon
 
|godly = Godly Icon
 
|ancient = Ancient Icon
 
|ancient = Ancient Icon
}}.png|{{{2|18px}}}]]
+
}}.png|{{{2|18px}}}]]</includeonly>
</includeonly>
 
 
 
 
<noinclude>
 
<noinclude>
 
{| style="text-align: center; width:50%;"
 
{| style="text-align: center; width:50%;"
Line 58: Line 55:
 
|}
 
|}
 
</noinclude>
 
</noinclude>
 +
__NOEDITSECTION__

Revision as of 03:52, 28 October 2025


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

2 2 Gold

2 2 Medal

2 2 Gem

2 2 Worn

2 2 Sturdy

2 2 Powerful

2 2 Epic

2 2 Mythical

2 2 Legendary

2 2 Godly

2 2 Ancient