Template:ZoneIcon: Difference between revisions

From Melvor Idle
(Amend for abyss depths, stronghold support - Everything besides dungeons is one consistent image type)
(Add new dungeons)
 
Line 1: Line 1:
<includeonly><onlyinclude>{{Icon|type={{#switch:{{{img|{{{1}}}}}}
<includeonly><onlyinclude>{{Icon|type={{#switch:{{{img|{{{1}}}}}}
<!--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|Golem Territory|Unholy Forest|Trickery Temple|Cult Grounds|Underwater City=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|The Abyssal Approach|Into the Abyss=dungeon
<!--Default-->
<!--Default-->
|combatArea
|combatArea
}}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly><noinclude>{{/doc}}</noinclude>
}}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 17:05, 29 June 2024

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.