Template:Map: Difference between revisions

From HorizonXI Wiki
(Created page with "<onlyinclude><includeonly>{{#if:{{{image|}}}|<div style="position: relative; display:inline-block;">[[File:{{{image}}}|link={{{area|}}}]]{{#if:{{{overlay|}}}|<nowiki/>{{{overlay|}}}}}</div>}}</includeonly></onlyinclude> {{PAGENAMEE}} ==Usage== <pre> {{Map | image = | area = | overlay = }} </pre> *'''image''': The map image to display. *'''area''': The area to link to. *'''overlay''': Overlays to add on top of the map. See [[Template:Map Overlay]...")
Tag: visualeditor-wikitext
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 39: Line 39:
{{Map Overlay
{{Map Overlay
| pos = F-10
| pos = F-10
| offset x = -5
| offset x = -12
| offset y = 5
| offset y = 5
| contents = [[File:Icon Chest.png|10px|link=Treasure Coffer]]
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
{{Map Overlay
{{Map Overlay
Line 47: Line 47:
| offset x = 10
| offset x = 10
| offset y = 4
| offset y = 4
| contents = [[File:Icon Chest.png|10px|link=Treasure Coffer]]
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
{{Map Overlay
{{Map Overlay
Line 53: Line 53:
| offset x = 10
| offset x = 10
| offset y = 4
| offset y = 4
| contents = [[File:Icon Chest.png|10px|link=Treasure Coffer]]
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
}}
}}
Line 64: Line 64:
{{Map Overlay
{{Map Overlay
| pos = F-10
| pos = F-10
| offset x = -5
| offset x = -12
| offset y = 5
| offset y = 5
| contents = [[File:Icon Chest.png|10px|link=Treasure Coffer]]
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
{{Map Overlay
{{Map Overlay
Line 72: Line 72:
| offset x = 10
| offset x = 10
| offset y = 4
| offset y = 4
| contents = [[File:Icon Chest.png|10px|link=Treasure Coffer]]
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
{{Map Overlay
{{Map Overlay
Line 78: Line 78:
| offset x = 10
| offset x = 10
| offset y = 4
| offset y = 4
| contents = [[File:Icon Chest.png|10px|link=Treasure Coffer]]
| contents = [[File:Icon Chest.png|25px|link=Treasure Coffer]]
}}
}}
}}
}}
|}
|}

Latest revision as of 21:28, 20 August 2023

Usage

{{Map
| image = 
| area = 
| overlay = 
}}
  • image: The map image to display.
  • 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
}}
SouthernSandOria.png
{{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]]
}}
}}
Quicksand-caves 1.pngIcon Chest.png

Icon Chest.png

Icon Chest.png