Template:Map object: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude>[[File:{{{image|{{{1}}}{{#switch:{{{2|}}}|water=_(water)|hota=_(HotA)}}.gif}}}|link={{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map)}}}}}]] [[{{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map){{!}}{{{1}}}}}}}}]]</onlyinclude></includeonly><noinclude> Used to create imaged links to map objects, such as: {{map object|Witch Hut}} {{map object|Shrine of Magic Incantation}} {{map object|University}} {{map object|Sea Chest}} {{map object|Warr...")
 
mNo edit summary
 
Line 1: Line 1:
<includeonly><onlyinclude>[[File:{{{image|{{{1}}}{{#switch:{{{2|}}}|water=_(water)|hota=_(HotA)}}.gif}}}|link={{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map)}}}}}]] [[{{{name|{{{1}}}{{#switch:{{{2|}}}|am=_(Adventure Map){{!}}{{{1}}}}}}}}]]</onlyinclude></includeonly><noinclude>
<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>
Used to create imaged links to map objects, such as:
Used to create imaged links to map objects, such as:



Latest revision as of 10:34, 14 June 2024

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