Template:AMLocation: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
mNo edit summary
Legate (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{| style="float:right; font-size:90%; width:{{{width|180px}}}; margin-top:0px; margin-left:8px; margin-bottom:8px"
<includeonly>{| style="float:right; font-size:90%; width:{{{width|180px}}}; margin-top:0px; margin-left:8px; margin-bottom:8px"
| valign=top | <center>[[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|[[File:{{{image|{{PAGENAME}}}}}{{{ext|.gif}}}]]}}}{{{ExtraImages|}}}<p>{{{name|{{PAGENAME}}}}} as seen on the [[adventure map]].</center><p>{{#if:{{{1|}}}|''{{{1|}}}''|}}</p>
|}</includeonly><noinclude>
|}</includeonly><noinclude>


Line 6: Line 6:
# Text that appears when a hero visits the location.
# Text that appears when a hero visits the location.
:* 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=)
:* ExtraImages= (optional) add/format extra items in the image cell.
:* ExtraImages= (optional) add/format extra items in the image cell.
:* ext= (optional) file extension (default=.gif)
:* ext= (optional) file extension (default=.gif)
Line 12: Line 13:
== Examples ==
== Examples ==
{{Location|image = Market of Time|name=Market of Time}}
{{Location|image = Market of Time|name=Market of Time}}
{{Location|image = Prospector|name=Prospector}}
{{Location|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.}}
{{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.}}
{{Location|image = Tavern|name=Tavern|ExtraImages={{swh|noicon=|<br>{{wh}} [[File:Tavern (water).gif]] {{wh}}}}}}
{{Location|image = Tavern|name=Tavern|ExtraImages={{swh|noicon=|<br>{{wh}} [[File:Tavern (water).gif]] {{wh}}}}}}


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

Revision as of 19:51, 4 April 2025


Usage

  1. Text that appears when a hero visits the location.
  • 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).

Examples

Template:Location Template:Location Template:Location Template:Location