Template:Icon
From Melvor Idle
A generic version of the template used in things like Template:ItemIcon or Template:UpgradeIcon.
You probably want to use one of the following instead for most things:
- Template:ItemIcon for items
- Template:MonsterIcon for monsters
- Template:Skill for skill
- Template:UpgradeIcon for upgrades (like the File:Dragon Pickaxe (upgrade). Dragon Pickaxe)
- Template:PetIcon for pets
- Template:PrayerIcon for prayers
Format is like so: {{Icon|type=combatArea|Castle of Kings|Knight Time}} becomes Knight Time.
You can also just do {{Icon|Combat}} Combat if you need an icon for an image that doesn't belong to a given category.
This template also has a 'notext' option for when you just want the icon, so {{Icon|Mastery|notext=true}} becomes
Some special overrides exist:
Input | Output |
---|---|
{{Icon|Melee}} | Melee |