Template:ZoneIcon: Difference between revisions

From Melvor Idle
m (clear zonetype to avoid unexpected caching)
(Allow all options provided by Template:Icon)
Line 1: Line 1:
A template for quickly generating icons for various combat zones. It automatically grabs the correct icon without needing the user to specify what type of zone it is.
A template for quickly generating icons for various combat zones. It automatically grabs the correct icon without needing the user to specify what type of zone it is.


For example, <nowiki>{{ZoneIcon|Castle of Kings}}</nowiki> returns {{ZoneIcon|Castle of Kings}}
For example, {{T|ZoneIcon|Castle of Kings}} returns {{ZoneIcon|Castle of Kings}}
 
For a complete list of options, please refer to [[Template:Icon]].


This is a subset of [[Template:Icon]] and should use the same arguments
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
     Regular combat areas
     Regular combat areas
Line 12: Line 13:
<!--Dungeons-->
<!--Dungeons-->
|Chicken Coop|Undead Graveyard|Bandit Base|Hall of Wizards|Spider Forest|Deep Sea Ship|Frozen Cove|Dragons Den|Volcanic Cave|Air God Dungeon|Water God Dungeon|Earth God Dungeon|Fire God Dungeon|Miolite Caves|Infernal Stronghold|Into the Mist|Impending Darkness Event={{#vardefine:zonetype|dungeon}}}}<!--
|Chicken Coop|Undead Graveyard|Bandit Base|Hall of Wizards|Spider Forest|Deep Sea Ship|Frozen Cove|Dragons Den|Volcanic Cave|Air God Dungeon|Water God Dungeon|Earth God Dungeon|Fire God Dungeon|Miolite Caves|Infernal Stronghold|Into the Mist|Impending Darkness Event={{#vardefine:zonetype|dungeon}}}}<!--
-->{{Icon|type={{#var:zonetype}}|{{{1|}}}|{{{2|}}}|menu={{{menu|}}}|notext={{{notext|}}}|size={{{size|}}}}}</onlyinclude></includeonly>
-->{{Icon|type={{#var:zonetype}}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}}}</onlyinclude></includeonly>

Revision as of 00:32, 2 December 2021

A template for quickly generating icons for various combat zones. It automatically grabs the correct icon without needing the user to specify what type of zone it is.

For example, {{ZoneIcon|Castle of Kings}} returns Castle of Kings

For a complete list of options, please refer to Template:Icon.