Wikipedia:Mapframe maps in infoboxes

Mapframe maps in infoboxes
Map
Example of a mapframe map in an infobox

This project page tracks the deployment of mapframe maps to infobox templates. The Infobox mapframe module assists in producing maps with limited or no additional inputs needed when an infobox is used in an article.

Wikipedia:Requests for comment/Mapframe maps in infoboxes was held in mid-2020. See the RFC for complete details, but a summary of the closes is:

  1. Mapframe mapping capability, and standard parameters for displaying mapframe maps (i.e. use of Module:Infobox mapframe), should be added to infoboxes
  2. No consensus for mapframe maps to be on by default
  3. Map placement should be determined by local consensus at each infobox
  4. If users do not specify coordinates in a parameter, coordinates from Wikidata should be used
  5. Switcher functionality should not be enabled by default

There are various ways in which individual infobox templates can customise how mapframe maps are used, including:

  • Either on or off by default (with a parameter like |mapframe= no or yes to override the default)
  • Default symbol, colour, zoom
  • Using or not using Wikidata coordinates (when local values for coordinates are not provided)
  • Showing a default geomask like country (P17) or located in the administrative territorial entity (P131), if such values are present on the page's Wikidata item

For instructions on how to add to infoboxes, see Module:Infobox mapframe#Automatic maps in infoboxes. See also Template:Infobox mapframe#Examples.

Process edit

  1. Propose mapframe maps on the infobox talk page. Notify relevant wikiprojects.
  2. Discuss with infobox users/maintainers
  3. Update the template (testing changes in the sandbox first as per normal template editing)
  4. Update the documentation

At each stage of the process, update the tracking table below.

Tracking edit

Column descriptions:

Mapframe maps
" Y" if the infobox can show mapframe maps (without users filling out a complete {{maplink}} template or <mapframe> tag)
" Y Standard" if the infobox uses {{#invoke:Infobox mapframe|auto}} for standard parameters, per Q1 of the RFC
Documentation
" Y" If the documentation has been updated
" Y Standard" if the documentation uses {{Infobox mapframe/doc/parameters}}
"  Partly done" if there is incomplete documentation


Template:Infobox Mapframe
maps
Documentation Notes Expected marker
aerial lift line  Y Standard  Y Standard  Y aerialway
airport  Y Standard  Y Standard  Y airport
Albanian settlement  Y town or city
amusement park  Y Standard  Y Standard  Y amusement park
ancient site  Y Standard  Y Standard  N ancient site/ruin, indigenous settlement
artwork  Y Standard  Y Standard Can not be turned on if pushpin map is specified. Coding could be simplified (the {{yesno}} isn't needed).  N ?
artwork/wikidata  Y Standard  Y Standard  N ?
Australian electorate Probably not too useful unless geoJSON maps of the boundaries are made/uploaded.  Y N/A
Australian place  Y  Y Under discussion re possible conversion to wrapper of Infobox settlement (October 2020).  Y town or city
Australian road  Y Standard  Y Standard Mapframe documentation collapsed, as per the rest of the doc  Y N/A
Belgium municipality Wrapper for Infobox settlement  Y town or city
bell  Y Standard  Y Standard  N bell
Berg Wrapper for Infobox mountain  Y mountain
body of water  Y Standard  Y Standard  N lake
brewery  Y  Y  Y beer
bridge  Y  Y  Y bridge
building  Y  Y  Y building, building-alt1
Burg Wrapper for Infobox military installation  N military base, fort or  Y airfield, castle
business park  Y Standard  Y Standard  Y commercial
Cape Verde settlement Wrapper for Infobox settlement  Y town or city
casino  Y Standard  Y Standard  Y casino
castrum  Y Standard  Y Standard  N military base, fort
cave  Y Standard  Y Standard  N cave
cemetery  Y Standard  Y Standard  Y cemetery
church  Y religious-christian
civil conflict  Y  Y  N ?
civilian attack  N ?
climbing area  N ?
climbing route  N ?
concentration camp  Y prison? or  N military base?
convention center  Y Standard  Y Standard  N ?
country  Y N/A
crater  N crater
cycling championship  N ?
dam  Y dam
desalination plant  Y  Y  N ?
diplomatic mission  Y  Y embassy
distillery  Y Standard  Y Standard  N distillery
ecoregion  Y N/A
Egyptian tomb  N tomb or mausoleum
exchange  N ?
factory  Y Standard  Y Standard  Y industrial
farm  Y Parameters standard, needs caption standardized  Y farm
feature on celestial object  N ?
Fluss  Y N/A
forest  N forest
former subdivision  Y N/A
frazione  Y town or city
French commune  Y  Y  Y town or city
Gebirgsgruppe  Y N/A
German place  Y  Y  Y town or city
glacier  N ?
golf facility  Y golf
government agency  N government building
Greece place  Y town or city
heritage railway  Y rail or N/A
Hindu temple  N religious-hindu,  Y place-of-worship
historic site  Y Standard  Y Standard  Y [multiple options, some missing]
campground  Y campsite
hospital  Y Standard  Y Standard  Y hospital, doctor, dentist
housing project  Y Standard  Y Standard  N ?
hut  N hut
islands  Y N/A
Israel village  Y town or city
Italian comune  Y Always displayed collapsed if available  Y town or city
kommune  Y town or city
landform  Y [multiple]
language  Y N/A
LDS Temple  Y place-of-worship
library  Y  Y  Y library
lighthouse  Y  Y  Y lighthouse
London station  Y rail, bus, or  N transit station
military conflict  N military conflict/battle
military installation {{tick)) castle or  N military base/fort
military memorial  Y monument
military operation  N military conflict/battle
mill building  N ?
mine  N cave?
mining  N cave?
MMA training association  N ?
monastery  Y multiple
monument  Y Standard  Y Standard  Y monument
motorway services  Y fuel
mountain  Y mountain, volcano
mountain pass  N ?
museum  Y  Y  Y museum
New York City Subway station  Y rail or  N transit station
NRHP  Y Standard  Y Standard  Y [multiple options, some missing]
nuclear weapons test  Y  N ?
observatory  N observatory
oil field  Y oil-well
oil refinery  Y oil-well or industrial
oil spill  Y  N ?
park  Y Standard  Y Standard  Y park
Pennsylvania historic site  Y [multiple options, some missing]
pier  Y harbor?
pipeline  Y N/A
port  Y  Y harbor
port-of-entry  Y  Y entrance?
Portuguese subdivision  Y town or city
power station  Y  Y  N power station, solar farm
power transmission line  Y N/A
prison  Y  Y Uses {{#invoke:Infobox mapframe|auto}}  Y prison
protected area  Y [multiple options, some missing]
public transit accident  Y   Partly done Parameters listed in TemplateData but not properly documented  N ?
pyramid  N pyramid
racecourse  Y racetrack, racetrack-boat, racetrack-cycling, racetrack-horse
railway depot  Y   Partly done Parameters listed but not properly documented  Y rail?
reactor  N nuclear power plant
retail market  Y  N marketplace/food hall
religious building  Y [multiple options, some missing]
residential college  N ?
restaurant  Y Standard  Y Standard  Y restaurant
river  Y N/A
road junction  Y  N ?
Russian district  Y N/A
Russian federal subject  Y city or N/A
Russian inhabited locality  Y  Y  Y town or city
school  Y Standard  Y Standard  Y school
school district  Y school or N/A
Scottish island  Y N/A
settlement Discussion started (September 2020)  Y town, city, or  N indigenous settlement
shopping mall  Y Standard  Y Standard  Y shopping mall
Site of Special
Scientific Interest
 Y [multiple options, some missing]
ski area  Y skiing
ski jumping hill  Y skiing
Spanish missions
in the Americas
 Y religious-christian
sport supporter group  N ?
sports rivalry  N ?
spring  N ?
station  Y Standard  Y Standard  Y rail, bus, or  N transit station
street  Y N/A
swimming pool  Y swimming
Switzerland municipality  Y Always displayed collapsed if available  Y [multiple]
television station  Y communications-tower
terrestrial impact site  N ?
Tibetan Buddhist monastery  Y place-of-worship
transmitter  Y communications-tower
tunnel  Y tunnel
U.S. county  Y N/A
UK country  Y N/A
UK place  Y town or city
university  Y college
UNESCO World Heritage Site  Y [multiple]
urban feature  Y [multiple]
valley  N ?
venue  Y [multiple options, some missing]
volcanic hotspot  N ?
waterfall  Y waterfall
waterlock  Y dam?
wildfire  N fire
windmill  Y  Y  Y windmill
winery  N winery
zoo  Y Standard  Y Standard  Y zoo, aquarium, or  N aviary

See also edit