Template:Icon/doc: Difference between revisions

From Melvor Idle
(Document Template:POIIcon)
No edit summary
Line 17: Line 17:
* [[Template:POIIcon]] for Cartography Points of Interest ('POIs')
* [[Template:POIIcon]] for Cartography Points of Interest ('POIs')
* [[Template:GP]], [[Template:SC]], or [[Template:RC]] for formatting of currencies (gold pieces, slayer coins, and raid coins respectively)
* [[Template:GP]], [[Template:SC]], or [[Template:RC]] for formatting of currencies (gold pieces, slayer coins, and raid coins respectively)
* [[Template:PP]] for formatting of prayer points


For example: {{T|ItemIcon|Raw Trout}} becomes {{ItemIcon|Raw Trout}}.
For example: {{T|ItemIcon|Raw Trout}} becomes {{ItemIcon|Raw Trout}}.

Revision as of 12:13, 3 April 2024

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:

For example: {{ItemIcon|Raw Trout}} becomes Raw Trout.

Some icon categories/types do not have these shorthand templates, so instead the type parameter should be used: {{Icon|<IconName>|type=<IconType>}}. The types this applies to are as follows:

  • mark for Summoning marks
  • thieving for Thieving NPCs

Format is like so: {{Icon|Castle of Kings|Knight Time|type=combatArea}} becomes

Error creating thumbnail: File missing
Knight Time

. You can also just do {{Icon|Combat}}

Error creating thumbnail: File missing
Combat

if you need an icon for an image that doesn't belong to a given category.

For Herblore potions, the generic potion page can be linked to by specifying the potion name without a tier, for example: {{Icon|Diamond Luck Potion}} becomes Diamond Luck Potion.

Some special overrides exist:

Input Output
{{Icon|Melee}}
Error creating thumbnail: File missing
Melee
{{Icon|Item Alchemy}}
Error creating thumbnail: File missing
Item Alchemy
{{Icon|Superheat}}
Error creating thumbnail: File missing
Superheat
{{Icon|Basic Resupply}} Basic Resupply
{{Icon|Standard Resupply}} Standard Resupply
{{Icon|Generous Resupply}} Generous Resupply
{{Icon|Golbin|type=monster}} Golbin
{{Icon|Alt. Magic|type=skill}}
Error creating thumbnail: File missing
Alt. Magic
{{Icon|Earth Golem (AoD)|type=monster}}
Error creating thumbnail: File missing
Earth Golem

Other options: