Template:Geobox Settlement
From Wikipedia, the free encyclopedia
It uses highly complex syntax which relies on many subtemplates which are common to the series. For general instructions see Geobox, please do read them. Below are all the fields for this particular template with one or more blank tables which should be copied into the article and then filled in (rather than copying the template code from an existing page). Please respect these rules:
- do not put multiple items into one field, use numbered fields instead (e.g. city, city1, city2…).
- enter unformatted numbers only, both metric and imperial values are displayed, provide either metric or imperial ones, the opposite is calculated automatically
- do not put note and references into the fields themselves, use appropriate _note field
- do not delete fields you did not use, someone else might need them in future
[edit] Legend
This template is based on the Infobox City, the output is very similar. It was, however, designed from scratch with mostly different yet much more consistently named fields consistent with other Geoboxes. See /Infobox for detailed explanation of the differences and new functions.
The following names redirect here, please use the most appropriate name when placing this template on an article:
- Geobox Borough
- Geobox City
- Geobox Town
- Geobox Township
- Geobox Village
field | explanation | additional fields |
---|---|---|
Name | ||
name | name of the settlement (if left blank, article title will be used) | |
native_name | native name if different from the English one, it is printed in brackets on the same line as name | |
other_name, other_name1 … | other names, can be used for names in other languages (then preferable in the {{lang-xx|}} style) | |
category | category of the settlement: City, Town, Village, Hamlet, Sietch ;-) etc. | category_note |
Image | ||
image | a representative photograph of the settlement | |
image_size | photograph size in pixels (set to 256 if left blank), input just the number (i.e. without px) | |
image_caption | photograph caption | |
Symbols | ||
flag | official settlement flag or banner | flag_type (default: Flag) flag_note |
flag_size | flag size in pixels (set to 120 if left blank), input just the number (i.e. without px) | |
symbol | official settlement seal, shield, coat-of arms etc., | symbol_type (default: Coat of arms) symbol_note |
symbol_size | flag size in pixels (set to 120 if left blank), input just the number (i.e. without 'px') | |
Nickname & motto | ||
nickname | settlement nickname(s) | |
motto | settlement motto(es) | |
Country etc. | ||
country | country in which the settlement lies | country_type (default: Country) |
state | state in which the settlement lies | state_type (default: State) |
region | region in which the settlement lies | region_type (default: Region) |
district | district in which the settlement lies | district_type (default: District) |
Subdivisions | ||
part_type | type of administrative subdivisons (default: Municipalities) | part_label |
part_count | number of administrative subdivisions | |
part, part1 … | names of administrative subdivions parts, they are displayed within a folding section which is hidden on page load | part_note, part1_note … |
Geography | ||
area, area_land, area_water, area_urban, area_metro | appropriate area in km² (for mi² use area_imperial, area_land_imperial, area_water_imperial, area_urban_imperial, area_metro_imperial) | area_unit (default: sqkm/sqmi, can be also: ha/acre) area_round (default: 0) area_note, area_land_note, area_water_note, area_urban_note, area_metro_note |
location | place for which coordinates and elevation are provided, can be a square, park, street etc. | location_type (default: Center) location_note |
lat_d, lat_m, lat_s, lat_NS, long_d, long_m, long_s, long_EW | center location latitude and longitude in degrees, minutes, seconds and hemispheres (use N/S and E/W), coordinates_type field can be assign Google map parameters (default: type:city), if population is assigned, it gets printed in the brackets after this parameter | coordinates_note |
elevation | center location elevation in metres (for feet use elevation_imperial) | elevation_note |
highest | highest point name | highest_note |
highest_location | descriptive location of the highest point | highest_location_note |
highest_lat_d … * | highest point latitude and longitude in degrees, minutes, seconds and hemispheres (use N/S and W/E) | highest_coordinates_note |
highest_elevation | highest point elevation in meters (for feet use highest_elevation_imperial) | highest_elevation_note |
lowest | lowest point name | lowest_note |
lowest_location | descriptive location of the lowest point | lowest_location_note |
lowest_lat_d … * | lowest point latitude and longitude in degrees, minutes, seconds and hemispheres (use N/S and W/E) | lowest_coordinates_note |
lowest_elevation | lowest point elevation in meters (for feet use lowest_elevation_imperial) | highest_elevation_note |
Population | ||
population_as_of, population_urban_as_of, population_metro_as_of | year or date to which population figures relate | |
population, population_urban, population_metro | appropriate population figure, , unformatted numbers must be used as they are used for calculations, they get formatted on output | population_note, population_total_note, population_urban_note, population_metro_note |
population_density, population_density_urban, population_density_metro | appropriate population density figure in /km² (for /mi² use population_density_imperial, population_density_urban_imperial, population_density_metro_imperial), if value auto is assigned the density is calculated from appopriate area and population figures | population_density_unit (default: sqkm/sqmi, can be also: ha/acre) population_density_round (default: 0) population_density_note, population_density_urban_note, population_density_metro_note |
Government | ||
government | government type | government_type, government_label, government_note |
established, etablished1 … | establishment/foundation date, numbered fields can contain year of status upgrade, incorporation, enlargement etc. | established_type, established1_type… (default: Founded, Founded 1…) established_note, established_note1 … |
mayor, mayor1 … or leader, leader1 … |
These fields can be named with mayor* or leader*. If only one name is provided, it may be easiest to use the mayor field, as leader_type is set to Mayor by default) | mayor_type=leader_type, leader1_type … (default: Mayor, Mayor 1…) mayor_note=leader_note, leader1_note … |
Various codes | ||
timezone, utc_offset | timezone name and its UTC offset | timezone_note |
timezone_DST, utc_offset_DST | summer/daylight saving timezone name and its UTC offset | timezone_DST_note |
postal_code=code, area_code=code1, code2 … | Various identification codes, first two are aliased as Postal code and Area code (phone) | code_type, code1_type… (default: Postal code, Area code, Code 2…) postal_code_note=code_note, area_code_note=code1_note, code2_note … |
Free fields | ||
free, free1 … | free field value, can be anything, appropriate _type should be set, doesn't get automaticaly wikilinked | free_type, free1_type … free_note, fre1e_note … |
Map section | ||
map, map1 | either location map or blank map for automated location | |
map_size, map1_size | map size in pixels (set to 256 if left blank), do not enter px, just the number | |
map_caption, map1_caption | map caption | |
map_locator | appropriate Geobox location locator template for automated placement of the locator dot | |
map_locator_x, map_locator_y | to be used for non-automated placement of the locator dot, these are percents of the map width | |
Website | ||
website | official website | website_note |
Footnotes | ||
footnotes | any type of footnotes | |
* Coordinates are defined as field_lat_d, field_lat_m, field_lat_s, field_lat_NS, field_long_d, field_long_m, field_long_s, field_long_WE |
[edit] Blank
Blank templates that can be copied into a new page and then filled in. There are many additional fields (not included here) which change how various fields are displayed, please consult Geobox main page first.
Simple templates (small towns) | |
---|---|
Metric values | Imperial values |
{{Geobox Settlement <!-- *** Name section *** --> | name = | native_name = | other_name = | other_name1 = | category = Town <!-- *** Image *** --> | image = | image_size = | image_caption = <!-- *** Symbols *** --> | flag = | flag_size = | symbol = | symbol_size = <!-- *** Country etc. *** --> | country = | state = | region = | district = <!-- *** Municipal parts *** --> | part_type = | part_count = | part = | part1 = <!-- *** Geography *** --> | area = | location = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | elevation = <!-- *** Population *** --> | population_as_of = | population = | population_density = <!-- *** Government *** --> | established_type = | established = | mayor = <!-- *** Various codes *** --> | timezone = | utc_offset = | timezone_DST = | utc_offset_DST = | postal_code = | postal_code_type = | area_code = | area_code_type = | code2_type = | code2 = <!-- *** Free fields *** --> | free_type = | free = | free1_type = | free1 = <!-- *** Map section *** --> | map = | map_size = | map_caption = | map_locator = | map_locator_x = | map_locator_y = <!-- *** Website *** --> | website = }} |
{{Geobox Settlement <!-- *** Name section *** --> | name = | native_name = | other_name = | other_name1 = | category = Town <!-- *** Image *** --> | image = | image_size = | image_caption = <!-- *** Symbols *** --> | flag = | flag_size = | symbol = | symbol_size = <!-- *** Country etc. *** --> | country = | state = | region = | district = <!-- *** Municipal parts *** --> | part_type = | part_count = | part = | part1 = <!-- *** Geography *** --> | area_imperial = | location = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | elevation_imperial = <!-- *** Population *** --> | population_as_of = | population = | population_density_imperial = <!-- *** Government *** --> | established_type = | established = | mayor = <!-- *** Various codes *** --> | timezone = | utc_offset = | timezone_DST = | utc_offset_DST = | postal_code = | postal_code_type = | area_code = | area_code_type = | code2_type = | code2 = <!-- *** Free fields *** --> | free_type = | free = | free1_type = | free1 = <!-- *** Map section *** --> | map = | map_size = | map_caption = | map_locator = | map_locator_x = | map_locator_y = <!-- *** Website *** --> | website = }} |
Complete templates (cities) | |
Metric values | Imperial values |
{{Geobox Settlement <!-- *** Name section *** --> | name = | native_name = | other_name = | other_name1 = | category = City <!-- *** Image *** --> | image = | image_size = | image_caption = <!-- *** Symbols *** --> | flag = | flag_size = | symbol = | symbol_size = <!-- *** Country etc. *** --> | country = | state = | region = | district = <!-- *** Municipal parts *** --> | part_type = | part_count = | part = | part1 = <!-- *** Geography *** --> | area = | area_land = | area_water = | area_urban = | area_metro = | location = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | highest_name = | highest location = | highest_lat_d = | highest_lat_m = | highest_lat_s = | highest_lat_NS = | highest_long_d = | highest_long_m = | highest_long_s = | highest_long_EW = | highest_elevation = | lowest_name = | lowest_location = | lowest_lat_d = | lowest_lat_m = | lowest_lat_s = | lowest_lat_NS = | lowest_long_d = | lowest_long_m = | lowest_long_s = | lowest_long_EW = | lowest_elevation = <!-- *** Population *** --> | population_as_of = | population = | population_urban = | population_metro = | population_density = | population_density_urban = | population_density_metro = <!-- *** Government *** --> | government = | established_type = | established = | established1_type = | established1 = | governmant_type = | leader_type = | leader = | leader1_type1 = | leader1 = <!-- *** Various codes *** --> | timezone = | utc_offset = | timezone_DST = | utc_offset_DST = | postal_code = | postal_code_type = | area_code = | area_code_type = | code2_type = | code2 = <!-- *** Free fields *** --> | free_type = | free = | free1_type = | free1 = <!-- *** Map section *** --> | map = | map_size = | map_caption = | map_locator = | map_locator_x = | map_locator_y = <!-- *** Website *** --> | website = <!-- *** Footnotes *** --> | footnotes = }} |
{{Geobox Settlement <!-- *** Name section *** --> | name = | native_name = | other_name = | other_name1 = | category = City <!-- *** Image *** --> | image = | image_size = | image_caption = <!-- *** Symbols *** --> | flag = | flag_size = | symbol = | symbol_size = <!-- *** Country etc. *** --> | country = | state = | region = | district = <!-- *** Municipal parts *** --> | part_type = | part_count = | part = | part1 = <!-- *** Geography *** --> | area_imperial = | area_land_imperial = | area_water_imperial = | area_urban_imperial = | area_metro_imperial = | location = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | highest_name = | highest location = | highest_lat_d = | highest_lat_m = | highest_lat_s = | highest_lat_NS = | highest_long_d = | highest_long_m = | highest_long_s = | highest_long_EW = | highest_elevation_imperial = | lowest_name = | lowest_location = | lowest_lat_d = | lowest_lat_m = | lowest_lat_s = | lowest_lat_NS = | lowest_long_d = | lowest_long_m = | lowest_long_s = | lowest_long_EW = | lowest_elevation_imperial = <!-- *** Population *** --> | population_as_of = | population = | population_urban = | population_metro = | population_density_imperial = | population_density_urban_imperial = | population_density_metro_imperial = <!-- *** Government *** --> | government = | established_type = | established = | established1_type = | established1 = | governmant_type = | leader = | leader_type = | leader1_name = | leader1_type = <!-- *** Various codes *** --> | timezone = | utc_offset = | timezone_DST = | utc_offset_DST = | postal_code = | postal_code_type = | area_code = | area_code_type = | code2_type = | code2 = <!-- *** Free fields *** --> | free_type = | free = | free1_type = | free1 = <!-- *** Map section *** --> | map = | map_size = | map_caption = | map_locator = | map_locator_x = | map_locator_y = <!-- *** Website *** --> | website = <!-- *** Footnotes *** --> | footnotes = }} |