Template:Map

From Horizon Wiki Mirror
Revision as of 20:29, 17 March 2026 by imported>Aramachus (allowed specifying a map label instead of a filename)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Map
| image = 
| map = 
| area = 
| overlay = 
}}
  • image or map: the former takes a filename for a map image while the latter takes the label of a map, typically the number of the map in the area.
  • area: The area to link to.
  • overlay: Overlays to add on top of the map. See Template:Map Overlay.

Examples

Code Result
{{Map
| image = SouthernSandOria.png
| area = Southern San d'Oria
}}
{{Map
| map = Map 1
| area = Southern San d'Oria
}}
{{Map
| image = Quicksand-caves_1.png
| area = Quicksand Caves
| overlay = 
{{Map Overlay
| pos = F-10
| offset x = -12
| offset y = 5
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
{{Map Overlay
| pos = J-11
| offset x = 10
| offset y = 4
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
{{Map Overlay
| pos = J-13
| offset x = 10
| offset y = 4
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
<span style="position:absolute; left:5px; top:Expression error: Unrecognized punctuation character "{".px; z-index:15; ">Error creating thumbnail: File missing

<span style="position:absolute; left:27px; top:Expression error: Unrecognized punctuation character "{".px; z-index:15; ">Error creating thumbnail: File missing

<span style="position:absolute; left:27px; top:Expression error: Unrecognized punctuation character "{".px; z-index:15; ">Error creating thumbnail: File missing