Template:Map

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Title  wikidata:
Description
Map legend
Author
Date
Source
Permission
(Reusing this file)
 Geotemporal data
Date depicted
Map location  wikidata:
Map projection
Map scale 1:100,000
OSM level
Heading BSicon numN000.svg
Bounding box
0°N 0°E / 0°N 0°E / 0; 0 0°N 0°E / 0°N 0°E / 0; 0
Square with corners.svg
0°N 0°E / 0°N 0°E / 0; 0 0°N 0°E / 0°N 0°E / 0; 0
Georeferencing Georeference the map in Wikimaps Warper If inappropriate please set warp_status=skip to hide.
 Bibliographic data
Map set / atlas  wikidata:
Map sheet
Book author  wikidata:
Book title  wikidata:
Volume
Page
Map type
Language
Place of publication
Publisher
Printer
Year of publication
Authority control
 Archival data
Accession number
Dimensions
Scan resolution
Medium
Inscriptions
Notes
Other versions
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Map/doc.

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            =
 |date              =
 |source            =
 |permission        =
 |map date          =
 |location          =
 |projection        =
 |scale             =
 |zoom              =
 |heading           =
 |latitude          =
 |longitude         =
 |warp status       =
 |warp url          =
 |set               =
 |sheet             =
 |book author       =
 |book title        =
 |volume            =
 |page              =
 |type              =
 |language          =
 |publication place =
 |publisher         =
 |printer           =
 |print date        =
 |institution       =
 |accession number  =
 |dimensions        =
 |scan resolution   =
 |medium            =
 |inscriptions      =
 |notes             =
 |other versions    =
}}

Template parameters

ParameterDescriptionDefaultStatus
title
Title
titleTitle 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:
  • {{en|'''The Title of the Map'''.}}
emptyoptional
wikidata title
Wikidata title
wikidata_title
Wikidata_title
wikidata titleWikidata entity corresponding to the map. Entered like "Q123"emptyoptional
description
Description
descriptionDescription of the map. Required (unless a title was provided)


Description format should use:

  • Multilingual templates like {{en}} or {{de}} to specify the language of the description.
  • Wikilinks to Wikipedia articles. This helps with disambiguation and allows shorter format.
emptyoptional
legend
Legend
legendMap legendemptyoptional
author
Author
authorOriginal 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.emptyrequired
imgen
Imgen
image generationCan 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|+|....}}. .
emptyoptional
date
Date
dateDate of creation of the original source (digital file, or original artwork) by one of the following ways:
  • for simple dates use ISO 8601 format, e.g. "1234" or "2006-01-15" for "15 January 2006". The following formats are recognized:
    • YYYY
    • YYYY-MM
    • YYYY-MM-DD
    • YYYY-MM-DD hh:mm
    • YYYY-MM-DD hh:mm:ss
  • for all other dates use {{date}} or {{other date}}
  • emptyoptional
    source
    Source
    sourceInformation about source of the map. Possible values:
  • {{own}} for works uploaded by the author.
  • {{Derived from}} when it is derived from other files.
  • If image was found on the internet include original URLs (preferably two, embedding web page and image).
  • If image was provided by an institution then provide desired credit line (and if possible URL to the file)
  • If it is a scan from a book than include the book references where you scanned it from (preferably with ISBN and page)
  • emptyrequired
    permission
    Permission
    license
    License
    permissionLicense 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.emptyoptional
    map date
    Map date
    map_date
    Map_date
    map dateThe time or era that the map depicts. Preferably use an ISO date or {{other date}}emptyoptional
    location
    Location
    locationThe location that the map depicts.emptyoptional
    wikidata location
    Wikidata location
    wikidata_location
    Wikidata_location
    wikidata locationThe wikidata entity for the depicted place (at that time). Entered like "Q123"emptyoptional
    projection
    Projection
    projectionMap projection. Some standard projection names are recognized and displayed in users language. Those include:
  • Miller cylindrical or Miller
  • Albers
  • Mercator
  • Transverse Mercator
  • equirectangular
  • See {{I18n/map projection}}.
    emptyoptional
    scale
    Scale
    scaleMap 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.emptyoptional
    zoom
    Zoom
    zoom levelZoom level for 512 x 512 OSM map that could contain the boundaries of this mapemptyoptional
    heading
    Heading
    heading
    Use abbreviations shown in this image
    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}}.
    emptyoptional
    latitude
    Latitude
    latitudeLatitude 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 "/":
    • 4 values: Latitude and longitude of four corners of the map. Corners have to be in the counter-clockwise order starting with lower left corner, so they are in lower left, lower right, upper right and upper left corner order.
    • 2 values: Latitude and longitude of each edge of the map. Parameter "latitude" will store South/North latitudes of lower/upper edge and parameter "longitude" will store West/East longitudes of left/right edge
    • 1 value: Latitude and longitude of map center.
    emptyoptional
    longitude
    Longitude
    longitudeLongitude used to describe geographic limits or range. See "latitude" for detailsemptyoptional
    warp status
    Warp status
    warp_status
    Warp_status
    warp statusIndicates 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.
  • emptyoptional
    warp url
    Warp url
    warp_url
    Warp_url
    warp urlURL for the map if it has external georeferencingemptyoptional
    set
    Set
    setContaining publication (set/atlas/series)emptyoptional
    wikidata set
    Wikidata set
    wikidata_set
    Wikidata_set
    wikidata setWikidata entity corresponding to the set or atlas. Entered as "Q234"emptyoptional
    sheet
    Sheet
    sheetSheet reference (in the set e.g. page number/grid square) or Single sheet map.emptyoptional
    book author
    Book author
    book_author
    Book_author
    book authorAuthor of book (if different from creator of map)emptyoptional
    wd book author
    Wd book author
    wd_book_author
    Wd_book_author
    wikidata book authorWikidata entity corresponding to the book author. Entered as "Q234"emptyoptional
    book title
    Book author
    book_author
    Book_author
    book titleTitle of book (as an alternative to set, or if the map set is bound into a larger book)emptyoptional
    wikidata book
    Wikidata book
    wikidata_book
    Wikidata_book
    wikidata bookWikidata entity corresponding to the book. Entered as "Q234"emptyoptional
    volume
    Volume
    volumeVolume of bookemptyoptional
    page
    Page
    pagePage of bookemptyoptional
    type
    Type
    typeMap type: city map, street map, topographic map, road atlas, nautical chart, thematic mapemptyoptional
    language
    Language
    languageLanguage 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.emptyoptional
    publication place
    Publication place
    publication_place
    Publication_place
    publication placeplace of publicationemptyoptional
    publisher
    Publisher
    publishermap's publisheremptyoptional
    printer
    Printer
    printermap's printeremptyoptional
    print date
    Print date
    print_date
    Print_date
    print dateYear of map publication if different from date/year of creation. Use {{other date}} for approximate datesemptyoptional
    ISBN
    ISBNInternational Standard Book Numberemptyoptional
    LCCN
    LCCNLibrary of Congress Control Number: Authority data from the Library of Congress.emptyoptional
    OCLC
    OCLCTitle authority data from Online Computer Library Center.emptyoptional
    institution
    Institution
    institutionArchive, museum or collection owning the map. Use:
  • collapsible institution templates such as {{Institution:Louvre}} which displays as
  • Louvre Museum  Blue pencil.svg wikidata:Q19675  (Inventory)
    Louvre Museum
    Native name Musée du Louvre
    Parent institution Établissement public du musée du Louvre
    Location Paris
    Coordinates 48° 51′ 37″ N, 2° 20′ 15″ E Link to OpenStreetMap Link to Google Maps
    Established 1793
    Web page www.louvre.fr
    Authority control

    Those tags are based on {{Institution}} and occupy Institution: namespace.

    emptyoptional
    accession number
    Accession number
    accession_number
    Accession_number
    id
    Id
    ID
    uri
    Uri
    URI
    accession numberMuseum's accession/id number or URI/URN or some other inventory or identification number. Provide also link to museum database if available.emptyoptional
    dimensions
    Dimensions
    size
    Size
    dimensionsDimensions of the artwork: 1D (length), 2D (width × height) or 3D (width × height × depth). Please use {{Size}} formatting template, such as:
  • {{Size|unit=cm|width=76.7|height=83.5}} <— gives Height: 83.5 cm (32.8 in); Width: 76.7 cm (30.1 in)
    QS:P2048,83.5U174728;P2049,76.7U174728
  • or {{Size|in|32.2|34.87}} <— gives 32.2 × 34.8 in (81.7 × 88.5 cm), if sizes are given in inches
  • Avoid using Language templates
  • emptyoptional
    scan resolution
    Scan resolution
    scan_resolution
    Scan_resolution
    scan resolutionResolution of the scan, eg: 200 dpiemptyoptional
    medium
    Medium
    technique
    Technique
    mediumMedium (technique and materials) used to create map. Use, when possible:
  • {{Technique}} template
  • multilingual Technique tags, like {{Oil on canvas}}
  • {{Reproduction}} template to distinguish between the technique of a reproduction and of the original map
  • emptyoptional
    inscriptions
    Inscriptions
    inscriptionsDescription of: inscriptions, watermarks, captions, coats of arm, etc. Use {{inscription}}emptyoptional
    notes
    Notes
    notesAdditional information about the map.emptyoptional
    other versions
    Other versions
    other_versions
    Other_versions
    other versionsLinks 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.

    If appropriate, {{Derivative versions}} is useful.
    emptyoptional
    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>".emptyoptional
    other fields
    other_fields
    Other fields
    Other_fields
    other fieldsAdditional 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.
    emptyoptional
    Template data
    <templatedata>JSON</templatedata> ./. {{TemplateBox}}
    TemplateData

    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
    At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

    Newly created template documentation and imports
    Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

    Discussion
    There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


    Wikipedia's help about TemplateDataCommons-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)

    Template parameters

    ParameterDescriptionTypeStatus
    ISBNISBN

    International Standard Book Number

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    LCCNLCCN

    Library of Congress Control Number

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    OCLCOCLC

    Online Computer Library Center Number

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    accession numberaccession numberAccession numberaccession_numberAccession_numberidIdIDuriUriURI

    Museum's accession/id number or URI/URN or some other inventory or identification number. Provide also link to museum database if available.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    authorauthorAuthor

    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.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringrequired
    book authorbook authorBook authorbook_authorBook_author

    Author of book (if different from creator of map)

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    book titlebook titleBook authorbook_authorBook_author

    Title of book (as an alternative to <code>set</code>, or if the map set is bound into a larger book)

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    datedateDate

    Date of creation, when the original source (digital file, or original artwork) was created. Use ISO dates or {{other date}}

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    demodemo

    "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.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    descriptiondescriptionDescription

    Description of the map. Please use multilingual templates like {{en|1=}}. This field is required (unless a title was provided).

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    dimensionsdimensionsDimensionssizeSize

    Dimensions or size of the artwork. Use {{Size}} when possible

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    headingheadingHeading

    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).

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    image generationimgenImgen

    Can be used for '''simple''' descriptions about the generation of that map. See [[#Image generation|Image generation]] below.<br>Can also be used like <tt>other fields</tt> to pass the more complicated <code>{{Igen|+|....}}</code>. .

    Default
    empty
    Example
    empty
    Auto value
    empty
    Unknownoptional
    inscriptionsinscriptionsInscriptions

    Description of: inscriptions, watermarks, captions, coats of arm, etc. Use {{inscription}}

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    institutioninstitutionInstitution

    Archive, museum or collection owning the map. Use: institution templates such as {{Institution:Louvre}}. For private collection use {{Private collection}}

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    languagelanguageLanguage

    Language of the map (most of the time, but not always ISO 639-3 codes).

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    latitudelatitudeLatitude

    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 "/":

    • 4 values: Latitude and longitude of four corners of the map. Corners have to be in the counter-clockwise order starting with lower left corner, so they are in lower left, lower right, upper right and upper left corner order.
    • 2 values: Latitude and longitude of each edge of the map. Parameter "latitude" will store South/North latitudes of lower/upper edge and parameter "longitude" will store West/East longitudes of left/right edge
    • 1 value: Latitude and longitude of map center.

      Default
      empty
      Example
      empty
      Auto value
      empty
    Stringoptional
    legendlegendLegend

    Map legend

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    locationlocationLocation

    The location that the map depicts.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    longitudelongitudeLongitude

    Longitude used to describe geographic limits or range. See "latitude" for details

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    map datemap dateMap datemap_dateMap_date

    The time or era that the map depicts. Preferably use an ISO date or {{other date}}

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    mediummediumMediumtechniqueTechnique

    Medium (technique and materials) used to create the map.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    notesnotesNotes

    Additional information about the map.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    other fieldsother fieldsother_fieldsOther fieldsOther_fields

    Additional table fields. Easiest way to use it is through {{Information field|name=Field Name|value=Field Value}}.<br>There are also other_fields_1, 2, 3, 4, 5 for placing fields in other locations.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    other versionsother versionsOther versionsother_versionsOther_versions

    Links to files with very similar content or derived files; use thumbnails or Gallery tags.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    pagepagePage

    Page of book

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    permissionpermissionPermissionlicenseLicense

    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.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    print dateprint datePrint dateprint_datePrint_date

    Year of map publication if different from date/year of creation. Use {{other date}} for approximate dates

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    printerprinterPrinter

    map's printer

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    projectionprojectionProjection

    Map projection. Some standard projection names are recognized and displayed in users language. See Template:I18n/map projection for more information.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    publication placepublication placePublication placepublication_placePublication_place

    place of publication

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    publisherpublisherPublisher

    map's publisher

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    scalescaleScale

    Map scale of the printed map. Number "N" specifies the desired map scale as 1:N. If "scale" is not a number than it will be displayed as text.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    scan resolutionscan resolutionScan resolutionscan_resolutionScan_resolution

    Resolution of the scan, eg: 200 dpi

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    setsetSet

    Containing publication (set/atlas/series)

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    sheetsheetSheet

    Sheet reference (in the set e.g. page number/grid square) or Single sheet map.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    sourcesourceSource

    Information about where the file is from (own files should be tagged with {{own}}); if the file is based on other files then the original files should be also uploaded (if possible) and referenced using {{Derived from}}. For images provided by institutions give then desired credit line (and if possible URL to the file)

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringrequired
    titletitleTitle

    Title of the map. Skip and use description field if map has no title.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    typetypeType

    Map type: city map, street map, topographic map, road atlas, nautical chart, thematic map

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    volumevolumeVolume

    Volume of book

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    warp statuswarp statusWarp statuswarp_statusWarp_status

    Indicates if the map has been georeferenced in the Wikimaps Warper. Allowed values are skip/help/unwarped/warped.

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    warp urlwarp urlWarp urlwarp_urlWarp_url

    URL for the map if it has external georeferencing

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    wikidata book authorwd book authorWd book authorwd_book_authorWd_book_author

    Wikidata entity corresponding to the book author. Entered as "Q234"

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    wikidata bookwikidata bookWikidata bookwikidata_bookWikidata_book

    Wikidata entity corresponding to the book. Entered as "Q234"

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    wikidata locationwikidata locationWikidata locationwikidata_locationWikidata_location

    The wikidata entity for the depicted place (at that time). Entered like "Q123"

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    wikidata setwikidata setWikidata setwikidata_setWikidata_set

    Wikidata entity corresponding to the set or atlas. Entered as "Q234"

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    wikidata titlewikidata titleWikidata titlewikidata_titleWikidata_title

    Wikidata entity corresponding to the map. Entered like "Q123"

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional
    zoom levelzoomZoom

    Zoom level for 512 x 512 OSM map that could contain the boundaries of this map

    Default
    empty
    Example
    empty
    Auto value
    empty
    Stringoptional

    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)

    Image generation

    Every vector or raster graphic 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 imgen. This argument can be

    • one value: the W3C error count, 0 for valid Inkscape SVG or any other number for invalid Inkscape SVG
    • 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 value 0 or 12)
    • D/3 for CorelDraw, invalid due to 3 errors
    • GIMP/n for a raster image created with GIMP
    • when more or other parameters are needed, use the standard form |imgen={{igen|+|s=m|...

    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