Template:AMLocation: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Turnam (talk | contribs)
No edit summary
Legate (talk | contribs)
Not sure the right place to add the hota symbol, but added it automatically in 1 location if the class switch is set. Removed need for quotes in the class parameter.
Line 1: Line 1:
<includeonly>{| {{#if:{{{class|}}}|class={{{class}}}}} 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|{{watchable|{{{image|{{PAGENAME}}}}}{{{ext|.webp}}}}}}}}{{{ExtraImages|}}}<p>{{{name|{{PAGENAME}}}}} as seen on the [[adventure map]].<p><i>{{{1|}}}{{#if:{{{2|}}}|<br>* * *<br>{{{2|}}}}}{{#if:{{{3|}}}|<br>* * *<br>{{{3|}}}}}</i></center></p>
| valign=top | <center>{{{noimage|{{watchable|{{{image|{{PAGENAME}}}}}{{{ext|.webp}}}}}}}}{{{ExtraImages|}}}<p>{{#switch: {{{class|}}}| onlyhota = {{wh-}} | }}{{{name|{{PAGENAME}}}}} 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
Adventure Map Location
Line 19: Line 19:
{{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."}}
{{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."}}
{{AMLocation|image = Tavern|name=Tavern|ExtraImages={{swh|noicon=|<br>{{wh}} {{watchable|Tavern (water).webp}} {{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"}}
{{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>

Revision as of 16:22, 15 January 2026

Adventure Map Location

Usage

  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

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

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

This entire box disappears if you toggle HOTA off.