Template:WikiMapia/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
{{WikiMapia|latitude|longitude|zoom|text}}
The template has four unnamed parameters, which generate a link as follows:
* [http://wikimapia.org/#y={{{1}}}&x={{{2}}}&z={{{3}}}&l=0&m=h&v=2 {{{4}}}] at [[WikiMapia]]
[edit] Parameters
- Latitude in decimal format, with or without decimal point, i.e. 40.873610 or 40873610
- Longitude in decimal format, with or without decimal point, i.e. -74.280539 or -74280539
- Zoom level for map, values may range from 1 to 19
- (optional) Place name or other text, defaults to article name if omitted
[edit] Example
{{WikiMapia|-17536596|177691927|16|Ba Town}}
displays this text:
and generates this external link:
http://wikimapia.org/#y=-17536596&x=177691927&z=16&l=0&m=h&v=2
[edit] Example with three parameters
If the 4th parameter is omitted it defaults to the current article title or {{PAGENAME}}:
{{WikiMapia|40.873610|-74.280539|14}}
when placed on the Essex County Airport page will display:
Don't use a trailing vertical brace when omitting the 4th parameter:
{{WikiMapia|40.873610|-74.280539|14|}}
since it will display: