Template:Map/doc
Uses Lua: |
Infobox template for map images. Supports both user created maps, historical maps (user scanned or acquired through galleries, libraries, archives, and/or museums)
Usage
{{Map
|title =
|description =
|legend =
|author =
|image =
|date =
|source =
|permission =
|map date =
|location =
|type =
|projection =
|scale =
|zoom =
|heading =
|latitude =
|longitude =
|warp status =
|warp url =
|set =
|sheet =
|book author =
|book title =
|volume =
|page =
|language =
|publication place =
|publisher =
|printer =
|print date =
|institution =
|accession number =
|dimensions =
|scan resolution =
|medium =
|credit line =
|inscriptions =
|notes =
|other versions =
|references =
}}
Template parameters
Parameter | Description | Default | Status | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title Title | title | Title of the map. Skip and use description field if map has no title. Use Language templates when translating and boldface the original-language title, for example:
| empty | optional | |||||||||||||||||||||||
wikidata title Wikidata title wikidata_title Wikidata_title | wikidata title | Wikidata entity corresponding to the map. Entered like "Q123" | empty | optional | |||||||||||||||||||||||
description Description | description | Description of the map. Required (unless a title was provided) Description format should use: | empty | optional | |||||||||||||||||||||||
legend Legend | legend | Map legend | empty | optional | |||||||||||||||||||||||
author Author | author | Original author of the file; where appropriate, use {{Creator:Name Surname}}. If the work is derived from or depicts works by someone other than the author, the author of the original work should also be mentioned. For example, for a photograph of a sculpture, make a mention of both the sculptor and the photographer. This field should not be used to specify the scanner, finder or uploader of the image; they are not the author. | empty | required | |||||||||||||||||||||||
image Image | image generation | Can be used for simple descriptions about the generation of that map. See Image generation below. Can also be used like other fields to pass the more complicated {{Igen|+|....}} . . | empty | optional | |||||||||||||||||||||||
date Date | date | Date of creation of the original source (digital file, or original artwork) by one of the following ways:
| empty | optional | |||||||||||||||||||||||
source Source | source | Information about source of the map. Possible values:
| empty | required | |||||||||||||||||||||||
permission Permission license License | permission | License and other usage limitations and warnings. Due to the size of many license templates they are often placed in a separate section below {{Information}} template. In such a case please leave this field blank. | empty | optional | |||||||||||||||||||||||
map date Map date map_date Map_date | map date | The time or era that the map depicts. Preferably use an ISO date or {{Other date}} | empty | optional | |||||||||||||||||||||||
location Location | location | The location that the map depicts. | empty | optional | |||||||||||||||||||||||
wikidata location Wikidata location wikidata_location Wikidata_location | wikidata location | The wikidata entity for the depicted place (at that time). Entered like "Q123" | empty | optional | |||||||||||||||||||||||
type Type | type | Map type: city map, street map, topographic map, road atlas, nautical chart, thematic map | empty | optional | |||||||||||||||||||||||
projection Projection | projection | Map projection. Some standard projection names are recognized and displayed in users language. Those include:
| empty | optional | |||||||||||||||||||||||
scale Scale | scale | Map scale of the printed map. Number "N" specifies the desired map scale as 1:N. See here for more info. If "scale" is not a number than it will be displayed as text. | empty | optional | |||||||||||||||||||||||
zoom Zoom | zoom level | Zoom level for 512 x 512 OSM map that could contain the boundaries of this map | empty | optional | |||||||||||||||||||||||
heading Heading | heading | Map heading to be used to select closest north pointer map symbol. In most maps up-pointing vector follows central vertical longitude line and points North. If that is the case use "N", otherwise provide the compass direction of up-pointing vector as degree values 0-360 (clockwise with north as 0) or a compass point abbreviation (up to 3 letters) as defined in Boxing the compass. Example: heading=NW. See {{Compass rose file}}. | empty | optional | |||||||||||||||||||||||
latitude Latitude | latitude | Latitude used to describe geographic limits or range. Parameters "latitude" and "longitude" can take several forms, differentiated by number of values provided. The values are separated by "/":
| empty | optional | |||||||||||||||||||||||
longitude Longitude | longitude | Longitude used to describe geographic limits or range. See "latitude" for details | empty | optional | |||||||||||||||||||||||
warp status Warp status warp_status Warp_status | warp status | Indicates if the map has been georeferenced in the Wikimaps Warper. Allowed values are:
skip : The map is not suited for the warper;help : An invitation to import the map into the warper;unwarped : The map is in the warper but not rectified;warped : The map is in the warper where it has been rectified.external : A rectified map exists in an external georeferencer. | empty | optional | |||||||||||||||||||||||
warp url Warp url warp_url Warp_url | warp url | URL for the map if it has external georeferencing | empty | optional | |||||||||||||||||||||||
set Set | set | Containing publication (set/atlas/series) | empty | optional | |||||||||||||||||||||||
wikidata set Wikidata set wikidata_set Wikidata_set | wikidata set | Wikidata entity corresponding to the set or atlas. Entered as "Q234" | empty | optional | |||||||||||||||||||||||
sheet Sheet | sheet | Sheet reference (in the set e.g. page number/grid square) or Single sheet map. | empty | optional | |||||||||||||||||||||||
book author Book author book_author Book_author | book author | Author of book (if different from creator of map) | empty | optional | |||||||||||||||||||||||
wd book author Wd book author wd_book_author Wd_book_author | wikidata book author | Wikidata entity corresponding to the book author. Entered as "Q234" | empty | optional | |||||||||||||||||||||||
book title Book author book_author Book_author | book title | Title of book (as an alternative to set , or if the map set is bound into a larger book) | empty | optional | |||||||||||||||||||||||
wikidata book Wikidata book wikidata_book Wikidata_book | wikidata book | Wikidata entity corresponding to the book. Entered as "Q234" | empty | optional | |||||||||||||||||||||||
volume Volume | volume | Volume of book | empty | optional | |||||||||||||||||||||||
page Page | page | Page of book | empty | optional | |||||||||||||||||||||||
language Language | language | Language of the map (most of the time, but not always ISO codes). See mw:Extension:CLDR for details. Do not use the {{Language}} template, it is already coded into this template. | empty | optional | |||||||||||||||||||||||
publication place Publication place publication_place Publication_place | publication place | place of publication | empty | optional | |||||||||||||||||||||||
publisher Publisher | publisher | map's publisher | empty | optional | |||||||||||||||||||||||
printer Printer | printer | map's printer | empty | optional | |||||||||||||||||||||||
print date Print date print_date Print_date | print date | Year of map publication if different from date/year of creation. Use {{Other date}} for approximate dates | empty | optional | |||||||||||||||||||||||
ISBN | ISBN | International Standard Book Number | empty | optional | |||||||||||||||||||||||
LCCN | LCCN | Library of Congress Control Number: Authority data from the Library of Congress. | empty | optional | |||||||||||||||||||||||
OCLC | OCLC | Title authority data from Online Computer Library Center. | empty | optional | |||||||||||||||||||||||
institution Institution | institution | Archive, museum or collection owning the map. Use:
Those tags are based on {{Institution}} and occupy Institution: namespace.
| empty | optional | |||||||||||||||||||||||
accession number Accession number accession_number Accession_number id Id ID uri Uri URI | accession number | Museum's accession/id number or URI/URN or some other inventory or identification number. Provide also link to museum database if available. | empty | optional | |||||||||||||||||||||||
dimensions Dimensions size Size | dimensions | Dimensions of the artwork: 1D (length), 2D (width × height) or 3D (width × height × depth). Please use {{Size}} formatting template, such as:
| empty | optional | |||||||||||||||||||||||
scan resolution Scan resolution scan_resolution Scan_resolution | scan resolution | Resolution of the scan, eg: 200 dpi | empty | optional | |||||||||||||||||||||||
medium Medium technique Technique | medium | Medium (technique and materials) used to create map. Use, when possible:
| empty | optional | |||||||||||||||||||||||
credit line Credit line credit_line Credit_line | credit Line | Describes how the artwork came into the museum's collection, or how it came to be on view at the museum, for instance: Gift of the Friends of the Louvre Society, 1961—an important information for museological research. This line may also be part of the museum's obligations to the donor. Not to be confused with credit line attributing the photographer required by CC licenses | empty | optional | |||||||||||||||||||||||
inscriptions Inscriptions | inscriptions | Description of: inscriptions, watermarks, captions, coats of arm, etc. Use {{Inscription}} | empty | optional | |||||||||||||||||||||||
notes Notes | notes | Additional information about the map. | empty | optional | |||||||||||||||||||||||
other versions Other versions other_versions Other_versions | other versions | Links to files with very similar content or derived files; use thumbnails or Gallery tags <gallery> </gallery>. {{F}} enables to show also small icons of these files. | empty | optional | |||||||||||||||||||||||
references References | references | Books and websites with information about the artwork. Please use {{Cite book}} and {{Cite web}} templates. | empty | optional | |||||||||||||||||||||||
demo | demo | "demo=1" will show all the fields used by the template empty or not. Meant to be used only in template: namespace when demonstrating template fields. Usual form is "demo=<noinclude>1</noinclude>". | empty | optional | |||||||||||||||||||||||
adjacent sheets | Adjacent sheets | Map sheets (or tiles) bordering this one. Easiest way is to fill with a specific template, like {{Neighboring sheets Swisstopo Dufourkarte|id}} that populates {{Neighboring maptiles}}. | empty | optional | |||||||||||||||||||||||
sheet index | Sheet index | Index of all map sheets of this set, ideally an index map. | empty | optional | |||||||||||||||||||||||
other fields other_fields Other fields Other_fields | other fields | Additional table fields. Easiest way to use it is through {{Information field|name=Field Name|value=Field Value}}. There are also other_fields_1,2,3,4,5 for placing fields in other locations. | 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 Infobox template for map images. Supports both user created maps, historical maps (user scanned or acquired through galleries, libraries, archives, and/or museums)
|
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
Placement: At the top of the page
Relies on:
{{I18n/map}} (field name translations), {{I18n/map projection}} (translations and Wikipedia links for selected map projections), {{Compass rose file}} (file displayed in header field), {{Map/bbox}} (bounding box)
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)
Translations are handled by {{I18n/map}} and {{I18n/map headers}} templates
Image generation
Every vector or raster graphic image should be provided by a statement about its development.
This can be done with the template Igen as a value of other fields
, or in a very short form with an argument for image
.
This argument can be
- two values separated by a slash: the first and the second parameter for template Image generation, e.g.
A/0
for valid Adobe (I/0
or/12
can be written simply as one value0
or12
)D/3
for CorelDraw, invalid due to 3 errorsGIMP/n
for a raster image created with GIMP
- when more or other parameters are needed, use the standard form
|image={{igen|A|+|<|gd|&|s=m|...
The following specifications are equivalent:
- |image=Q/0
- |image={{Igen/map|Q/0}}
- |image={{Igen/map|Q|0}}
- |image={{Igen|Q|+}}
- |image={{Igen|QGIS|+|s=m}} or even more complicated