Wikipedia:Coordinates in infoboxes

In August 2016, an RfC established that the individual named coordinates-related parameters in infoboxes (latd or lat_d, etc.) should be deprecated in favor of coordinates. This requires that infobox templates be modified so as to pass the latitude and longitude from Coord to the Location map template, if both are present in the transclusion. When all uses of the deprecated parameters have been removed from infobox transclusions, the support for them will be removed from the templates. This task tracks those changes and related doc updates, and provides a talk page for related discussion.

was approved to perform these conversions. See Bots/Requests for approval/JJMC89 bot 7. It is not necessary to do the bot's job for it. Humans are more likely to make editing errors, and to take time off for real life.

The tracking category was used to track instances of infoboxes using deprecated parameters that needed conversion to the new standard. After the conversions were complete, additional instances of unsupported parameters will appear in the "unsupported parameter" tracking category for each template.

The names of the deprecated parameters vary between templates but often include many of the following:


 * coord_display
 * coord_region
 * coord_type
 * coordinates_display
 * coordinates_region
 * coordinates_type
 * coords_type
 * display
 * iso_region
 * lat_d
 * lat_deg
 * lat_degrees
 * lat_dir
 * lat_direction
 * lat_m
 * lat_min
 * lat_minutes
 * lat_NS
 * lat_s
 * lat_sec
 * lat_seconds
 * latd
 * latitude
 * latm
 * latNS
 * lats
 * lon_deg
 * lon_dir
 * lon_min
 * lon_sec
 * long_d
 * long_degrees
 * long_direction
 * long_EW
 * long_m
 * long_minutes
 * long_s
 * long_seconds
 * longd
 * longEW
 * longitude
 * longm
 * longs
 * range_lat_d
 * range_lat_m
 * range_lat_NS
 * range_lat_s
 * range_long_d
 * range_long_EW
 * range_long_m
 * range_long_s
 * region

Infobox conversion

 * Most non-converted infoboxes have wikicode structure like . (The parameter names and the amount of spaces and newlines can vary widely.)
 * Add  to the start. (If the template already uses coor or coord or coords, add coordinates as an option so that all infoboxes can use coordinates.)
 * If there are Coord parameters (like ) which should be added automatically, instead add   (don't add more vertical bars   than necessary). Note that if the article's Coord contains a different value for a parameter, then the template will not add the one in the infobox code.
 * Replace the  at the end with  . (example:  )
 * If there is a Location map, Infobox map or similar template in the infobox, then add &#123;&#123;&#123;coordinates&#124;&#125;&#125;&#125; to it.
 * Update the documentation (example) so that it refers to using Coord for coordinates (delete anything saying/implying that it can't be used in Location map or Infobox map), and remove the other coordinates parameters. Replace them in the blank templates in § Usage and in any examples. Add yes to Infobox map/Map display methods, if it is used.
 * In the documentation, replace any instance of coor or coord or coords with coordinates for consistency from infobox to infobox.
 * Update the table below, so someone knows to fix it if you messed up.
 * Create a subpage of User:JJMC89 bot/config/InfoboxCoordinatesParametersMigrator for the template. If the bot isn't editing the infoboxes after a few days, tell JJMC89 at his talk page.
 * After all usage has been replaced, in the template or its sandbox, delete the entire block of text between the  before /Infobox coord and the last   in that section.
 * Remove the newly unsupported parameters from the unknown parameter check (using Module:Check for unknown parameters) that is at the end of the template. If there is no such check, post a message on Wikipedia talk:Coordinates in infoboxes.
 * Update the documentation, if necessary, to remove references to the deprecated parameters.

Tracking
Pages using an updated infobox template but still using the deprecated parameters are listed at Category:Pages using deprecated coordinates format.

White-colored rows indicate that a template has not been modified yet. Tan-colored rows indicate that a template is in progress. Green-colored rows indicate that a template's conversion is complete.

Note that the list below is believed to be a complete list of infoboxes that used one or more of the above coordinates (the list was modified during the project). When the infoboxes listed in the table have been converted, others were found by looking at the remaining uses of / and doing an  regex search for parameter names.
 * 1: The template was modified to pass latitude and longitude from coordinates to Location map. This may have been done via an edit request for template-protected templates.
 * 2: The template's documentation was updated to reflect the changes in 1.
 * 3: No uses of the deprecated parameters remained, and support was removed for those parameters. This may have been done via an edit request for template-protected templates.
 * 4: The template's documentation was updated to reflect the changes in 3.