Template:ZoneIcon: Difference between revisions

From Melvor Idle
(Support 'section' parameter)
(Added AoD zones)
Line 7: Line 7:
<includeonly><onlyinclude>{{Icon|type={{#switch:{{{img|{{{1}}}}}}
<includeonly><onlyinclude>{{Icon|type={{#switch:{{{img|{{{1}}}}}}
<!--Combat Areas-->
<!--Combat Areas-->
|Golbin Village|Farmlands|Graveyard|Sandy Shores|Wet Forest|Bandit Hideout|Giant Dungeon|Icy Hills|Castle of Kings|Wizard Tower|Dragon Valley|Elerine Battlegrounds=combatArea
|Golbin Village|Farmlands|Graveyard|Sandy Shores|Wet Forest|Bandit Hideout|Giant Dungeon|Icy Hills|Castle of Kings|Wizard Tower|Dragon Valley|Elerine Battlegrounds|Eye-conic Cave|Mucky Cave|Tree Overgrowth|Collapsed City|Lost Temple|Ritual Site|Shipwreck Cove|Underwater Ruins=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|Toxic Swamps|Runic Ruins|Arid Plains|Shrouded Badlands|Perilous Peaks|Dark Waters|Unhallowed Wasteland|Jungle Labyrinth|Lava Lake|Forsaken Tundra|Foggy Lake|Afflicted City|Midnight Valley|Golden Cloud Mountains|Millennium Gate=combatArea
|Penumbra|Forest of Goo|Strange Cave|Holy Isles|High Lands|Desolate Plains|Toxic Swamps|Runic Ruins|Arid Plains|Shrouded Badlands|Perilous Peaks|Dark Waters|Unhallowed Wasteland|Jungle Labyrinth|Lava Lake|Forsaken Tundra|Foggy Lake|Afflicted City|Midnight Valley|Golden Cloud Mountains|Millennium Gate|Crystal Caves|Dark Quarry|Crystal Depths=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|Miolite Caves|Infernal Stronghold|Into the Mist|Impending Darkness Event|Ancient Sanctuary|Underground Lava Lake|Lightning Region|Lair of the Spider Queen|Cursed Forest|Necromancers Palace|Throne of the Herald=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|Ancient Sanctuary|Underground Lava Lake|Lightning Region|Lair of the Spider Queen|Cursed Forest|Necromancers Palace|Throne of the Herald|Golem Territory|Unholy Forest|Trickery Temple|Cult Grounds|Underwater City=dungeon
}}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly>
}}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly>

Revision as of 15:23, 15 September 2023

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

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