A Wiki in the Desert
Log in

Template:Map Marker

From A Wiki in the Desert
Revision as of 23:31, 4 August 2018 by Brad (talk | contribs) (Removing dash between region and coordinates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template documentation (for the above template, sometimes hidden or invisible)

{{Map Marker}} generates a map marker for use with the {{CondMap}} template.

Usage

{{Map Marker
| icon   = 
| name   = 
| region = 
| coords = 
| info   = 
}}
icon
The icon that should be used for the map marker. See the documentation for the {{CondMap}} template for help selecting a marker. Technically optional but you'll pretty much always want to choose an appropriate icon for your marker.
name
The name/label for the marker.
region
The region in which the marker belongs. Technically optional but should be always be included if possible.
coords
The coordinates at which the marker should be placed.
info (optional)
Any additional info that should be included with the marker (e.g. nearby buildings to assist with mining).

Examples

With All Parameters

{{Map Marker|icon=MpFe|name=Iron|region=Meroe Desert|coords=-682, -6833|info=2 Blast Furnaces}}

results in:

(MpFe) -682, -6833, Iron<br>Meroe Desert (-682, -6833)<br>2 Blast Furnaces

Without Info Parameter

{{Map Marker|icon=GrL|name=Limestone|region=Blue Nile|coords=437, -6010}}

results in:

(GrL) 437, -6010, Limestone<br>Blue Nile - (437, -6010)

Without Icon Parameter

{{Map Marker|name=READ - The Wiki Guild|region=Upper Egypt|coords=829, -1833}}

results in:

(Cir) 829, -1833, READ - The Wiki Guild<br>Upper Egypt (829, -1833)


Above Examples Displayed On Map

{{CondMap|
mlayer Examples 650

{{Map Marker|icon=MpFe|name=Iron|region=Meroe Desert|coords=-682, -6833|info=2 Blast Furnaces}}
{{Map Marker|icon=GrL|name=Limestone|region=Blue Nile|coords=437, -6010}}
{{Map Marker|name=READ - The Wiki Guild|region=Upper Egypt|coords=829, -1833}}
|contentonly={{{contentonly|no}}}|{{{2}}}}}

results in:


Visit Template:Map Marker/doc to edit this text! (How does this work?)