Difference between revisions of "Template:Icon"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(added yes and no icons)
m
 
Line 38: Line 38:
  
 
=== Available Inputs ===
 
=== Available Inputs ===
{| class="wikitable" style="width:50%;"
+
{| class="wikitable" style="width:75%;"
 
|-
 
|-
 
! Currency !! Rarity !! Checkbox
 
! Currency !! Rarity !! Checkbox
Line 64: Line 64:
  
 
{{Icon|rarity|ancient}}
 
{{Icon|rarity|ancient}}
|-
 
 
|style="vertical-align: top; width:25%;"|
 
|style="vertical-align: top; width:25%;"|
 
{{Icon|checkbox|yes}} Yes
 
{{Icon|checkbox|yes}} Yes

Latest revision as of 14:04, 22 June 2026

Usage:
{{Icon|category|type}}

Example:
{{Icon|rarity|powerful}}

  • Current default size 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.
  • Only the rarity category will automatically have the wording beside their respective icons.

Available Inputs

Currency Rarity Checkbox

Gold Icon.png Gold

Defender Medal Icon.png Defender Medal

Gem Icon.png Gem

Worn Icon.png Worn

Sturdy Icon.png Sturdy

Powerful Icon.png Powerful

Epic Icon.png Epic

Mythical Icon.png Mythical

Legendary Icon.png Legendary

Godly Icon.png Godly

Ancient Icon.png Ancient

TickGreen.png Yes

CrossWhite.png No