Wikipedia:Maps in infoboxes
This is an essay. It contains the advice or opinions of one or more Wikipedia contributors. This page is not an encyclopedia article, nor is it one of Wikipedia's policies or guidelines, as it has not been thoroughly vetted by the community. Some essays represent widespread norms; others only represent minority viewpoints. |
Problem statement
[edit]There is a lack of consistency over the use of maps in infoboxes. In particular, the names of parameters are not standardised, and some infoboxes use more parameters than others. This is confusing for editors, and needlessly increases the complexity of template maintenance.
Proposed solution
[edit]The intention is to standardise map usage in infoboxes, so that there is one common set of parameter names, with predictable usage and resultant display. A similar solution was recently and successfully applied to the parameters for coordinates in infoboxes
The purpose of this page is to document and track work intended to standardise the use of map-related parameters in infoboxes. Please discuss on the talk page.
Proposed process
[edit]- Survey parameter names used for maps in infoboxes In progress
- Determine which parameters are in use and why In progress
- Develop consensus for which parameters are needed, and the best names for them
- Make a list of existing parameters and which standard parameters should replace each one (may be specific to each infobox)
- Resolve handling of edge cases or exceptions
- Convert each infobox to use the standard parameters (in addition to the existing deprecated parameters)
- Update template documentation
- Track deprecated parameters using maintenance categories
- Convert transclusions of converted infoboxes (primarily a bot job; some transclusions will have to be cleaned manually)
- Remove deprecated parameters from each infobox once the parameters are no longer used
- Add tracking of unsupported parameters to all infoboxes in order to catch edge cases
Issues
[edit]- Is there an existing model which will work for all other infoboxes?
- Some infoboxes display more than one map
- Should all infoboxes use Template:Location map (or "map+" or "map many"; see below for links)? What are the pros and cons to this option?
- Pay special attention to {{Infobox settlement}} and the 50+ templates that transclude it.
- ..?
Background
[edit]Original discussion: Wikipedia:Village pump (technical)#Standardising map parameters in infoboxes
Parameters currently in use
[edit]Parameter names per WT:Maps in infoboxes from searching the wikitext of the templates at User:Jonesey95/sandbox3.
The following shows all parameter names which match:
image* label* loc_* *location* *map* pushpin* *relief* topo*
- Template:Geobox coor is a redirect to Template:coord which has no parameters in its wikitext.
- Various modules are invoked by the template wikitext. Some which are probably unrelated to maps are ignored here.
- The following modules are invoked and probably accept parameters of interest, but which may not be listed below.
- Update: More found and added below when I redid search; must have pruned excessively earlier. Johnuniq (talk) 05:28, 30 August 2017 (UTC)
adjustable map alt_map alt_map2 alt_map3 alt_map_alt alt_map_caption alt_map_size alt_mapsize alternative_location_map AlternativeMap capital_location capital_location_note capital_location_type caption_location caption_map department_map discharge1_location discharge2_location discharge3_location discharge4_location discharge5_location discharge_location discharge_location_note displaymap district_map dot_map_alt dot_map_base_alt dot_map_caption dot_map_marker dot_map_marker_size dot_mapsize force_national_map government_location government_location_note government_location_type highest_location highest_location_note highest_location_type Image image image alt image caption image coat of arms image coat of arms size image flag image flag size image map image name image size image-width image2 image2-width image2_alt image2_caption image2_size image2_upright image2size image3 image3_alt image3_size image_alt image_alt2 image_bathymetry image_blank_emblem image_border image_caption image_coa image_coat image_coat_of_arms image_coat_size image_comm image_comm_caption image_dimensions image_dot_map image_emblem image_file image_flag image_flag2 image_lake image_location image_location_size image_logo image_map image_map1 image_map2 image_map2_alt image_map2_caption image_map2_size image_map3 image_map_alt image_map_caption image_map_size image_mapsize image_name image_oth image_p1 image_p10 image_p11 image_p12 image_p13 image_p14 image_p15 image_p2 image_p3 image_p4 image_p5 image_p6 image_p7 image_p8 image_p9 image_photo image_place image_plan image_s1 image_s10 image_s11 image_s12 image_s13 image_s14 image_s15 image_s2 image_s3 image_s4 image_s5 image_s6 image_s7 image_s8 image_s9 image_seal image_shield Image_size image_size image_size2 image_skyline image_skyline_size image_symbol image_upright image_upright2 image_view image_width imagealt imagealttext ImageCaption imagecaption imagedimensions imagemap imagepath_coa ImageSize imagesize imagesize2 ImageSkyline imageupright imagewidth imagewikilink kml_map label label1 label2 label3 label4 label5 label_background label_name label_position label_size label_text loc_alt loc_caption loc_lang1 loc_lang10 loc_lang11 loc_lang12 loc_lang13 loc_lang2 loc_lang3 loc_lang4 loc_lang5 loc_lang6 loc_lang7 loc_lang8 loc_lang9 loc_name1 loc_name10 loc_name11 loc_name12 loc_name13 loc_name2 loc_name3 loc_name4 loc_name5 loc_name6 loc_name7 loc_name8 loc_name9 Location location location map location-city location-dir location-dist location-dist-mi location1 location2 location3 location4 location5 location_alt location_city location_country location_country1 location_county location_district location_district1 location_map location_map_alt location_map_caption location_map_label location_map_label_position location_map_relief location_map_size location_map_text location_map_width location_municipality location_municipality1 location_note location_of_mill location_region location_region1 location_state location_state1 location_town location_type locatormap_img_path locmap_label locmap_label_position locmap_relief locmapin lowest_location lowest_location_note lowest_location_type management_location management_location_note management_location_type Map map map alt map caption map image map relief map size map-legend map1 map1_alt map1_background map1_caption map1_locator map1_locator_x map1_locator_y map1_size map2 map2_alt map2_background map2_caption map2_locator map2_locator_x map2_locator_y map2_size map2_width map3_width map_alt map_alt1 map_background map_caption map_caption1 map_caption2 map_caption3 map_coord map_cue map_dot_label map_dot_mark map_image map_label map_label1 map_label1_position map_label2 map_label2_position map_label3 map_label3_position map_label4 map_label4_position map_label_position map_location map_locator map_locator_x map_locator_y map_mark map_mark1 map_mark2 map_mark3 map_mark4 map_mark_width map_name map_overlay map_relief map_size map_state map_text map_type map_upright map_url map_width mapalt mapalt2 MapCaption mapcaption mapcaption2 MapImage MapSize mapsize mapsize1 mapwidth mapx mapy mouth_location mouth_location_note mouth_location_type nomap other-locations portlandmaps_x portlandmaps_y pushpin pushpin map pushpin map alt pushpin mapsize pushpin_image pushpin_map pushpin_map1 pushpin_map_alt pushpin_map_alt1 pushpin_map_caption pushpin_map_caption1 pushpin_map_image pushpin_map_label pushpin_map_label_position pushpin_map_mark pushpin_map_mark_width pushpin_map_narrow pushpin_map_relief pushpin_map_size pushpin_map_width pushpin_mapsize pushpin_mapsize1 pushpin_mark pushpin_mark_width pushpin_marksize pushpin_outside pushpin_overlay pushpin_relief pushpin_relief1 relief route_map routemap routemap_name routemap_state schoollocations sizemap source1_location source1_location_note source1_location_type source2_location source2_location_note source2_location_type source3_location source4_location source5_location source_confluence_location source_confluence_location_note source_confluence_location_type source_location source_location_note source_location_type symbol_location symbol_location2 symbol_location3 symbol_location4 symbol_location5 symbol_location6 topo TOPO-KARTE topo10_maker topo10_map topo10_note topo11_maker topo11_map topo11_note topo12_maker topo12_map topo12_note topo13_maker topo13_map topo13_note topo14_maker topo14_map topo14_note topo15_maker topo15_map topo15_note topo1_maker topo1_map topo1_note topo2_maker topo2_map topo2_note topo3_maker topo3_map topo3_note topo4_maker topo4_map topo4_note topo5_maker topo5_map topo5_note topo6_maker topo6_map topo6_note topo7_maker topo7_map topo7_note topo8_maker topo8_map topo8_note topo9_maker topo9_map
Infoboxes to convert
[edit]TBD
See also
[edit]- Wikipedia:Coordinates in infoboxes - a previous standardisation exercise
- Wikipedia:Templates for discussion/Log/2017 July 24#Template:Infobox_map (result was delete; but note discussion)
- Template:Location map
- Template:Location map+
- Template:Location map many