User:André Costa (WMSE)/maptest/doc
Infobox template for map images. Supports both user created maps, historical maps (user scanned or acquired through GLAMs)
Usage
{{Map
|title =
|description =
|legend =
|author =
|imgen =
|date =
|source =
|permission =
|map date =
|location =
|projection =
|scale =
|heading =
|latitude =
|longitude =
|warp status =
|set =
|sheet =
|type =
|language =
|publisher =
|printer =
|print date =
|institution =
|accession number =
|dimensions =
|medium =
|inscriptions =
|notes =
|other versions =
}}
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)
| 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 | |||||||||||||||||||||||
imgen | image generation | Can be used for simple decriptions about the generation of that map. See Image generation below. For more complicated descriptions use template Igen as a value of other fields. | 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 | |||||||||||||||||||||||
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 | |||||||||||||||||||||||
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. | empty | optional | |||||||||||||||||||||||
set Set | set | Containing publication (set/atlas/series/book) | empty | optional | |||||||||||||||||||||||
sheet Sheet | sheet | Sheet reference (in the set e.g. page number/grid square) or Single sheet map. | empty | optional | |||||||||||||||||||||||
type Type | type | Map type: city map, street map, topographic map, road atlas, nautical chart, thematic map | 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 | |||||||||||||||||||||||
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 | |||||||||||||||||||||||
medium Medium technique Technique | medium | Medium (technique and materials) used to create map. Use, when possible:
| 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 | |||||||||||||||||||||||
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 | |||||||||||||||||||||||
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 GLAMs)
|
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 map, whether vector or raster graphic, should contain 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 value0
or12
) - D/3 for CorelDraw, invalid due to 3 errors
- GIMP/n for a raster image created with GIMP
- A/0 for valid Adobe (
This short form is not intended to handle other parameters. For any more parametrizing use the standard form of {{Igen}} in other fields.
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