Template:ZoneIcon: Difference between revisions

From Melvor Idle
(New template for Zone icons that doesn't require you to specify their type.)
 
(don't even worry about it)
Line 9: Line 9:
|Golbin Village|Farmlands|Graveyard|Sandy Shores|Wet Forest|Bandit Hideout|Giant Dungeon|Icy Hills|Castle of Kings|Wizard Tower|Dragon Valley={{#vardefine:zonetype|combatArea}}
|Golbin Village|Farmlands|Graveyard|Sandy Shores|Wet Forest|Bandit Hideout|Giant Dungeon|Icy Hills|Castle of Kings|Wizard Tower|Dragon Valley={{#vardefine:zonetype|combatArea}}
<!--Separating out Slayer Areas even though they have the same type in case that's helpful later-->
<!--Separating out Slayer Areas even though they have the same type in case that's helpful later-->
|Penumbra|Forest of Goo|Strange Cave|Holy Isles|High Lands|Desolate Plains={{#vardefine:zonetype|combatArea}}
|Penumbra|Forest of Goo|Strange Cave|Holy Isles|High Lands|Desolate Plains|Runic Ruins|Arid Plains|Shrouded Badlands|Perilous Peaks|Dark Waters={{#vardefine:zonetype|combatArea}}
<!--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={{#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={{#vardefine:zonetype|dungeon}}}}<!--
-->{{Icon|type={{#var:zonetype}}|{{{1|}}}|{{{2|}}}|menu={{{menu|}}}|notext={{{notext|}}}}}</onlyinclude></includeonly>
-->{{Icon|type={{#var:zonetype}}|{{{1|}}}|{{{2|}}}|menu={{{menu|}}}|notext={{{notext|}}}}}</onlyinclude></includeonly>

Revision as of 19:02, 8 December 2020

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

Error creating thumbnail: File missing
Castle of Kings

This is a subset of Template:Icon and should use the same arguments