A Wiki in the Desert
Log in

Difference between revisions of "Template:Map Marker/Magnesium/doc"

From A Wiki in the Desert
(Created documentation page for the Map Marker/Magnesium template)
 
m (Updating example to match the template - Removed the dash between region and coordinates)
Line 25: Line 25:
  
 
<pre>
 
<pre>
(MpMg) -676, -5569, Magnesium<br>Napata - (-676, -5569)
+
(MpMg) -676, -5569, Magnesium<br>Napata (-676, -5569)
 
</pre>
 
</pre>
  

Revision as of 23:37, 4 August 2018

{{Map Marker/Magnesium}} generates a map marker indicating an Magnesium Mine for use with the {{CondMap}} template.

markerMpMg.png

Usage

{{Map Marker/Magnesium
| region = 
| coords = 
| gem    = 
| extras = 
}}
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.
gem (optional)
The gem that can be mined at the Magnesium Mine, if known.
extras (optional)
Any helpful buildings near the Magnesium Mine such as furnaces and charcoal hearths. When multiple, different buildings are available, the information will display better when placing a <br> tag between each building in the list.

Example

{{Map Marker/Magnesium|region=Napata|coords=-676, -5569}}

results in:

(MpMg) -676, -5569, Magnesium<br>Napata (-676, -5569)

Example Displayed On Map

{{CondMap|
mlayer Examples 650

{{Map Marker/Magnesium|region=Napata|coords=-676, -5569}}
|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