Template:Map object: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Turnam (talk | contribs)
mNo edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><onlyinclude>[[File:{{{image|{{{1}}}{{#switch:{{{2|}}}|water=_(water)|hota=_(HotA)}}.gif}}}|x50px|link={{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map)}}}}}]] [[{{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map){{!}}{{{1}}}}}}}}]]</onlyinclude></includeonly><noinclude>
<includeonly>[[File:{{{image|{{{1}}}{{#switch:{{{2|}}}|water=_(water)|hota=_(HotA)}}.gif}}}|x50px|link={{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map)}}}}}]] [[{{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map){{!}}{{{1}}}}}}}}]]</includeonly><noinclude>
Used to create imaged links to map objects, such as:
Used to create imaged links to map objects, such as:



Latest revision as of 02:28, 21 August 2025

Used to create imaged links to map objects, such as:

Witch Hut Shrine of Magic Incantation University Sea Chest Warrior's Tomb Seafaring Academy Grave Treasure Chest

A second argument can be used for disambiguation if needed:

  1. water to obtain the water version of an object: Shrine of Magic Gesture
  2. hota to obtain the HotA version of an object: Sea Chest
  3. am to link to the Adventure Map version of an object: Scholar

If needed, explicit image= and name= parameters can be used, for example:

Corpse