Template:AMLocation: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| style="float:right; font-size:90%; width:{{{width|180px}}}; margin-left:8px; margin-bottom:8px"
<includeonly>{| {{#if:{{{class|}}}|class="{{{class}}}"}} style="float:right; font-size:90%; width:{{{width|180px}}}; margin-left:8px; margin-bottom:8px"
| valign=top | <center>{{{noimage|[[File:{{{image|{{PAGENAME}}}}}{{{ext|.gif}}}]]}}}{{{ExtraImages|}}}<p>{{{name|{{PAGENAME}}}}} as seen on the [[adventure map]].</center><p>{{#if:{{{1|}}}|''{{{1|}}}''|}}</p>
| valign=top | <center>{{{noimage|{{watchable|{{{image|{{PAGENAME}}}}}{{{ext|.webp}}}}}}}}{{{ExtraImages|}}}<p>{{{name|{{PAGENAME}}}}}{{#switch: {{{class|}}}| onlyhota = {{-wh}} | }} as seen on the [[adventure map]].<p><i>{{{1|}}}{{#if:{{{2|}}}|<br>* * *<br>{{{2|}}}}}{{#if:{{{3|}}}|<br>* * *<br>{{{3|}}}}}</i></center></p>
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Adventure Map Location


== Usage ==
== Usage ==
# Text that appears when a hero visits the location.
# Text that appears when a hero visits the adventure map location for the first time.
# Text that appears when a hero returns to the adventure map location a subsequent time.
:* image= (optional) Used if the image differs from the page name.
:* image= (optional) Used if the image differs from the page name.
:* noimage= (optional) Hide the base image (do all images in ExtraImages=)
:* noimage= (optional) Hide the base image (do all images in ExtraImages=)
Line 10: Line 12:
:* ext= (optional) file extension (default=.gif)
:* ext= (optional) file extension (default=.gif)
:* name= (optional) name to use in the adventure map text (if it differs from the page name).
:* name= (optional) name to use in the adventure map text (if it differs from the page name).
:* class= (optional) HTML class name for the containing table


== Examples ==
== Examples ==
{{Location|image = Market of Time|name=Market of Time}}
{{AMLocation|image = Market of Time|name=Market of Time}}
{{Location|ExtraImages = [[File:Prospector.gif]]|name=Prospector|noimage=}}
{{AMLocation|ExtraImages = [[File:Prospector.gif]]|name=Prospector|noimage=}}
{{location|image = Arena|name=Arena| width  = 300px| You enter the arena and face a pack of vicious lions. You handily defeat them, to the wild cheers of the crowd. Impressed by your skill, the aged trainer of gladiators agrees to train you in a skill of your choice.}}
{{AMLocation|image = Arena|name=Arena| width  = 300px| You enter the arena and face a pack of vicious lions. You handily defeat them, to the wild cheers of the crowd. Impressed by your skill, the aged trainer of gladiators agrees to train you in a skill of your choice.|The Arena guards prevent you from entering. "You've already beaten our best. Begone from here."}}
{{Location|image = Tavern|name=Tavern|ExtraImages={{swh|noicon=|<br>{{wh}} [[File:Tavern (water).gif]] {{wh}}}}}}
{{AMLocation|image = Tavern|name=Tavern|ExtraImages={{swh|noicon=|<br>{{wh}} {{watchable|Tavern (water).webp}} {{wh}}}}}}
{{AMLocation|image=Airship Yard|ext=.png|name=[[Airship Yard]]|This entire box disappears if you toggle HOTA off.|class=onlyhota}}


[[Category: Help templates|{{PAGENAME}}]]</noinclude>
[[Category: Help templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:41, 15 January 2026

Adventure Map Location

Usage[edit | hide | hide all]

  1. Text that appears when a hero visits the adventure map location for the first time.
  2. Text that appears when a hero returns to the adventure map location a subsequent time.
  • image= (optional) Used if the image differs from the page name.
  • noimage= (optional) Hide the base image (do all images in ExtraImages=)
  • ExtraImages= (optional) add/format extra items in the image cell.
  • ext= (optional) file extension (default=.gif)
  • name= (optional) name to use in the adventure map text (if it differs from the page name).
  • class= (optional) HTML class name for the containing table

Examples[edit | hide]

Media:Market of Time.webp

Market of Time as seen on the adventure map.

Prospector as seen on the adventure map.

Media:Arena.webp

Arena as seen on the adventure map.

You enter the arena and face a pack of vicious lions. You handily defeat them, to the wild cheers of the crowd. Impressed by your skill, the aged trainer of gladiators agrees to train you in a skill of your choice.
* * *
The Arena guards prevent you from entering. "You've already beaten our best. Begone from here."

Media:Tavern.webp
Horn of the Abyss Media:Tavern (water).webp Horn of the Abyss

Tavern as seen on the adventure map.

Media:Airship Yard.png

Airship Yard Horn of the Abyss as seen on the adventure map.

This entire box disappears if you toggle HOTA off.