Template:Location map

I am currently in the process of trying to get permission for this template. This is what I have so far. Since it is incomplete, this template is based on an outdated version. It should be fixed soon.

User Permission link
w:user:Zocky [1]
w:user:Patrick
w:user:Andux [2]
w:user:Hintha
...
Still missing permission for some of the edits. Not sure if needed as they are very small (and thus perhaps are not a creative work, and therefore not copyrighted. but that is probably just wishful thinking)

Create location maps.

Usage edit

{{Location map|''map name''
|label=''label''
|position=left ''or'' right '' - position of the label relative to the mark
|lat=''latitude in degrees''
|long=''longitude in degrees''
|mark=''image file name - a red circle by default
|caption=''caption'' - caption below the map
|float=left ''or'' right ''or'' none
|width=''width of the map''
}}

Available maps edit

Creating new maps edit

  1. Find an appropriate blank map in an orthographic projection.
  2. Create a template named Template:Location map Location.
  3. Copy the content of any other map template into it and enter appropriate values.
  4. Done.

Issues edit

  • Doesn't handle longitude properly for maps crossing the +/- 180 meridian yet. (fixable, copyright is standing in my way)
  • Due to copyright, not as up to date as the Wikipedia version. working on it.

Examples edit

[[File:Template:Location map Slovenia|240px]]
<div style="position:absolute;z-index:200;

top:Expression error: Unrecognized punctuation character "[".%; left:Expression error: Unrecognized punctuation character "[".%;height:0;width:0;margin:0;padding:0;">

Maribor
Maribor on the map of Template:Location map Slovenia
{{Location map|Slovenia|float=none|label=Maribor|lat=46.55|long=15.64|position=left}}
[[File:Template:Location map Slovenia|100px]]
<div style="position:absolute;z-index:200;

top:Expression error: Unrecognized punctuation character "[".%; left:Expression error: Unrecognized punctuation character "[".%;height:0;width:0;margin:0;padding:0;">

Ljubljana
Ljubljana is the capital of Slovenia
{{Location map|Slovenia|float=left|width=100|label=Ljubljana|lat=46.05|long=14.5|caption=Ljubljana is the capital of Slovenia}}
[[File:Template:Location map Slovenia|240px]]
<div style="position:absolute;z-index:200;

top:Expression error: Unrecognized punctuation character "[".%; left:Expression error: Unrecognized punctuation character "[".%;height:0;width:0;margin:0;padding:0;">

Nova Gorica
Nova Gorica on the map of Template:Location map Slovenia
{{Location map|Slovenia|float=right|label=Nova Gorica|lat=45.95|long=13.63}}

random dot at 42.25°N and 23.5°E
random dot at 42.25°N and 23.5°E on the map of Bulgaria

{{location map|Bulgaria|label=random dot at 42.25°N and 23.5°E|background=#FFF0DE...}}


Washington D.C.
Washington D.C. on the map of USA

{{Location map|United States|label=Washington D.C.|position=left...}}