Template:Location map

From Wikinews, the free news source you can write!
Jump to: navigation, search

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 an outdated version. It should be fixed soon.

User Permission link
w:user:Zocky [1]
w:user:Waggers [2]
w:user:Ganeshk [3]
w:user:Andux [4]
w:user:Kalan [5]
w:user:Obersachse [6]
Still missing permission for some of the minor edit. not sure if needed as they are very small (and thus perhaps are not a creative work, and therefor not copyrighted. but that is probably just wishful thinking)

Create location maps.

Contents

[edit] Usage

{{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''
}}

[edit] Available maps

Location map Location map/permission
Location map Bulgaria Location map China Location map Ecuador
Location map Germany Berlin Location map India Location map Israel
Location map Lithuania Location map Romania Location map Tamil Nadu
Location map USA Location map Uganda

[edit] Creating new maps

  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.

[edit] Issues

  • 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.

[edit] Examples

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

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

Red pog.svg
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: Unrecognised punctuation character "[".%; left:Expression error: Unrecognised punctuation character "[".%;height:0;width:0;margin:0;padding:0;">

Red pog.svg
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: Unrecognised punctuation character "[".%; left:Expression error: Unrecognised punctuation character "[".%;height:0;width:0;margin:0;padding:0;">

Red pog.svg
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}}
Bu-map-blank-orthogonal.png
Red pog.svg
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...}}

Usa-equidistant.png
Red pog.svg
Washington D.C.
Washington D.C. on the map of USA

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

Personal tools
Namespaces
Variants
Actions
Navigation
Wikinews
Regions
Toolbox