Difference between revisions of "Template:Icon"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Added Documentation)
m
Line 2: Line 2:
 
<!--Curency-->
 
<!--Curency-->
 
|gold = Gold Icon
 
|gold = Gold Icon
 +
|medal = Defender Medal Icon
 
|gem = Gem Icon
 
|gem = Gem Icon
|medal = Defender Medal Icon
 
 
<!--rarity-->
 
<!--rarity-->
 
|worn = Worn Icon
 
|worn = Worn Icon
Line 13: Line 13:
 
|godly = Godly Icon
 
|godly = Godly Icon
 
|ancient = Ancient Icon
 
|ancient = Ancient Icon
}}.png|{{{2|18px}}}]] </includeonly>
+
}}.png|{{{2|18px}}}]]</includeonly>
  
 
<noinclude>
 
<noinclude>
Line 34: Line 34:
 
|style="vertical-align: top;"|
 
|style="vertical-align: top;"|
 
{{Icon|Gold|30px}} Gold
 
{{Icon|Gold|30px}} Gold
 +
 +
{{Icon|Medal|30px}} Medal
  
 
{{Icon|Gem|30px}} Gem
 
{{Icon|Gem|30px}} Gem
 
{{Icon|Medal|30px}} Medal
 
 
|style="vertical-align: top;"|
 
|style="vertical-align: top;"|
 
{{Icon|Worn|30px}} Worn
 
{{Icon|Worn|30px}} Worn
Line 55: Line 55:
 
{{Icon|Ancient|30px}} Ancient
 
{{Icon|Ancient|30px}} Ancient
 
|}
 
|}
 
 
</noinclude>
 
</noinclude>
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Revision as of 04:40, 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

18px 18px Gold

18px 18px Medal

18px 18px Gem

18px 18px Worn

18px 18px Sturdy

18px 18px Powerful

18px 18px Epic

18px 18px Mythical

18px 18px Legendary

18px 18px Godly

18px 18px Ancient