Template:Map Marker/doc
From A Wiki in the Desert
{{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:
() 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:
This map uses the CondMap template, if this map imports data from other maps please edit those. Please see Maps for further details and links to all raw data pages