Template:OpenStreetMap/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

No description yet available.

Usage

{{OpenStreetMap
 |name =
 |location =
 |description =
 |top =
 |bottom =
 |left =
 |right =
 |date =
 |authors =
 |other_versions =
}}

  • This template can be used without any parameter, but it also supports setting the description=, source=, date=, authors=, location= and the other_versions=. If source is not used the parameter name has to be used.
  • The parameters top=, bottom=, left=, and right= can be used to store the border coordinates of the map. This information can be useful for various mapping templates that are used in various Wikimedia projects.

Template parameters

Parameter Description Default Status
name used as part of the file source (Source parameter of {{Information}} template) empty optional
location used as part of the file description (Description parameter of Information template) if no description present empty optional
description if present, used as is for the file description in favor of a description derived from the location empty optional
top empty optional
bottom empty optional
left empty optional
right empty optional
date empty optional
authors empty optional
other_versions empty optional
odbl empty optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Relies on:

Example

{{OpenStreetMap|
| name           = Bhopal
| location       = Bhopal
| description    = Map of Bhopal, India
| top            = 23.3404
| bottom         = 23.1432
| left           = 77.2796
| right          = 77.5176
| date           = 2012-09-12
| authors        = 
| other_versions = 
}}

renders as:

Description

Map of Bhopal, India
This map of Bhopal was created from OpenStreetMap project data, collected by the community. This map may be incomplete, and may contain errors. Don't rely solely on it for navigation.

Border coordinates
23.3404
77.2796 ←↕→ 77.5176
23.1432
Date
Source See the image in its original context on the OpenStreetMap wiki page for Bhopal
Author
Permission
(Reusing this file)

OpenStreetMap data is available under the Open Database License (details). Map tiles are licensed under the Creative Commons Attribution-ShareAlike 2.0 license (CC-BY-SA 2.0).

Openstreetmap logo.svg Contains map data © OpenStreetMap contributors, made available under the terms of the Open Database License (ODbL).

The ODbL does not require any particular license for maps produced from ODbL data; map tiles produced by the OpenStreetMap foundation are licensed under the CC-BY-SA-2.0 licence, but maps produced by other people may be subject to other licences.

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • share alike – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)