Template:OpenStreetMap
Description |
This map 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. |
|||
Date | (see file history) | |||
Source | openstreetmap.org | |||
Creator |
OpenStreetMap contributors |
|||
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).
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
|
|||
Georeferencing | If inappropriate please set warp_status = skip to hide. |
No description yet available.
Usage
{{OpenStreetMap
|name =
|location =
|description =
|top =
|bottom =
|left =
|right =
|date =
|authors =
|other_versions =
|warp_status =
|warp_url =
|odbl =
|other_fields =
|image =
}}
- 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.
- If you just want a license template and not a full replacement for {{Information}}, you can use {{ODbL OpenStreetMap}} along with an appropriate license for the image (most commonly {{Cc-by-sa-2.0}}).
- 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.
- To upload a file using this template to commons two methods are available (2017).
- To enter an unmodified map: use the raw upload form inserting the template as the only item in the summary section
- When you have made significant additions to the map: use the UploadWizard inserting the template in Describe the file
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 | the latitude of the top of the map image. If present along with bottom, left and right, "bounding box" information is displayed in the "georeferenced data" section. | empty | optional | |
bottom | the latitude of the bottom of the map image | empty | optional | |
left | the longitude of the left hand edge of the map image | empty | optional | |
right | the longitude of the right hand edge of the map image | empty | optional | |
date | empty | optional | ||
authors | additional information about authorship of the image (beyond the OpenStreetMap community which will already be credited) | empty | optional | |
other_versions other versions | empty | optional | ||
warp_status | empty | optional | ||
warp_url | empty | optional | ||
odbl | Before 12 September 2012, OpenStreetMap was only available under the Creative Commons Attribution-ShareAlike 2.0 Generic license. Please set the parameter to no for files based on OpenStreetMap data downloaded before that date.
After 1 August 2020, Standard style map tiles on openstreetmap.org are considered ODbL Produced Works and are published without the additional CC-BY-SA-2.0 license. Please set the parameter to "only" for OpenStreetMap standard style tiles produced after that date. If not specified, this parameter will be derived from the date. | empty | optional | |
other_fields other fields | empty | optional | ||
image | image generation | Can be used for simple descriptions about the generation of that map. See Image generation. Can also be used like other fields to pass the more complicated {{Igen|+|....}} . . | empty | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information
|
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. |
|||||||||
Date | ||||||||||
Source | You may find a page on the OpenStreetMap wiki page for Bhopal | |||||||||
Creator |
OpenStreetMap contributors |
|||||||||
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).
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
|
|||||||||
Geotemporal data | ||||||||||
Bounding box |
|
|||||||||
Georeferencing | If inappropriate please set warp_status = skip to hide. |
Localization
العربية ∙ беларуская (тарашкевіца) ∙ বাংলা ∙ čeština ∙ dansk ∙ Deutsch ∙ English ∙ español ∙ français ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ italiano ∙ 日本語 ∙ 한국어 ∙ македонски ∙ Nederlands ∙ polski ∙ português ∙ русский ∙ sicilianu ∙ slovenščina ∙ svenska ∙ Türkçe ∙ українська ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:OpenStreetMap/layout.