Template:Mapmark: Difference between revisions

From Morloch Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{Ti|marking a map using input coords}}
<noinclude>{{Ti|marking a map using input coords}}
</noinclude>
</noinclude>
{|class="wikitable"
{| cellpadding=0 cellspacing=0 border=1
|-
|-
|<div class="mapmark">
|<div class="mapmark"><div style="top: {{{1|139}}}px; left: {{{2|236}}}px; z-index: 2; position: relative; margin-top: 10px;">[[File:Mapmarker.png|30px|Map Marker]]</div>
<div style="top: {{{1|139}}}px; left: {{{2|236}}}px; z-index: 2; position: relative; margin-top: 10px;">[[File:Mapmarker.png|30px]]</div>
<div style="top: 0px; left: 0px; z-index: 1; position: absolute; margin-top: -6px;">[[File:Markedmap.png|link=vorringia]]</div></div>
<div style="top: 0px; left: 0px; z-index: 1; position: absolute; margin-top: -6px;">[[File:Markedmap.png]]</div>
 
</div>
<!-- Marker Positions
Top Left -------------- -36 x -14;
Top Right ------------- -36 x 485;
Bottom Left ----------- 314; x -14;
Bottom Right ---------- 314; x 485;
Dead Center ----------- 139 x 236
-->
|-
|-
|}
|}
<noinclude>
== Parameters ==
The first parameter is the '''latitude''', and the second parameter is the '''longitude'''.
=== Marker Positions ===
* '''Dead Center (default)''': <nowiki>{{mapmark|139|236}}</nowiki>
* '''Top Left''': <nowiki>{{mapmark|-36|-14}}</nowiki>
* '''Top Righ'''t: <nowiki>{{mapmark|-36|485}}</nowiki>
* '''Bottom Left''': <nowiki>{{mapmark|314|-14}}</nowiki>
* '''Bottom Right''': <nowiki>{{mapmark|314|485}}</nowiki>
</noinclude>

Revision as of 21:38, 23 September 2017

Template:Mapmark is used for marking a map using input coords.

How to Use Template:Mapmark

  • This template can be added to a page by typing the following in the page's code with any applicable parameters inserted after the name:
{{Mapmark}}

Raw Example of Template:Mapmark

Map Marker

Parameters

The first parameter is the latitude, and the second parameter is the longitude.

Marker Positions

  • Dead Center (default): {{mapmark|139|236}}
  • Top Left: {{mapmark|-36|-14}}
  • Top Right: {{mapmark|-36|485}}
  • Bottom Left: {{mapmark|314|-14}}
  • Bottom Right: {{mapmark|314|485}}