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
editCreating new maps
edit- Find an appropriate blank map in an orthographic projection.
- Create a template named Template:Location map Location.
- Copy the content of any other map template into it and enter appropriate values.
- 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<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;">
{{Location map|Slovenia|float=none|label=Maribor|lat=46.55|long=15.64|position=left}}
<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;">
{{Location map|Slovenia|float=left|width=100|label=Ljubljana|lat=46.05|long=14.5|caption=Ljubljana is the capital of Slovenia}}
<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;">
{{Location map|Slovenia|float=right|label=Nova Gorica|lat=45.95|long=13.63}}
{{location map|Bulgaria|label=random dot at 42.25°N and 23.5°E|background=#FFF0DE...}}
{{Location map|United States|label=Washington D.C.|position=left...}}