Template:Geobox Region
This template is to be used for states, regions, provinces, districts, territories etc. It belongs to the Geobox series of templates, which are designated to be used for various geography related articles. They use the same layout, internal logic and coherently named fields. All templates can have a name on top, picture below, then section on Country, Region etc. followed by fields which are specific for every geographic feature, with a map at the bottom.
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
Legend
mag-editfield | explanation | additional fields |
---|---|---|
Name | ||
name | name of the subdivision (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 subdivision: Region, District, State, Parish ;-) etc. | category_note |
Image | ||
image | a representative photograph of the subdivision | |
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 subdivision 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 subdivision 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') | |
Etymology | ||
etymology | etymology (origin) of the river name, do not enter lengthy prose, examples:
|
_type (Name origin), _label, _note |
Country etc. | ||
country | country in which the subdivision lies | country_label country_type (default: Country) |
state | state in which the subdivision lies | state_label state_type (default: State) |
region | region in which the subdivision lies | region_label region_type (default: Region) |
district | district in which the subdivision lies | district_label district_type (default: District) |
Capital and subdivisions | ||
capital | capital of the subdivision | capital_type (default: Capital) capital_note |
part_type | type of administrative subdivisons (default: Parts, can be Provinces, Districts etc.) | part_type_note, part_label |
part_count | number of administrative subdivisions | part_count_note |
city, city1 … | important/largest cities of the region | city_type (default: Largest city/Cities) city_note |
city_count | number of cities | city_note |
municipality_type | type of municipalities (default: Municipalities) | munucipality_label municipality_note |
municipality_count | number of municipalities | municipality_note municipality_note |
Geography | ||
area, area1 … | appropriate area in km² (for mi² use area_imperial, area1_imperial …) | area_type (default: Area, Area 1 …) area_unit (default: sqkm/sqmi, can be also: ha/acre) area_round (default: 0) area_note, area1_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 | date to which population figures relate | population_note |
population1, population1 … | appropriate population figure, unformatted numbers must be used as they are used for calculations, they get formatted on output | population_note, population1_note |
population_density, population1_density … | appropriate population density figure in /km² (for /mi² use population_density_imperial, population_density_urban_imperial, population_density_metro_imperial), auto value can be assigned, density is then calculated from appropriate population and area fields | population_density_unit (default: sqkm/sqmi, can be also: ha/acre) population_density_round (default: 0) population_density_note, population1_density_note … |
Government | ||
established, etablished1 … | establishment/foundation date, numbered fields can contain year of status upgrade, incorporation, enlargement etc. | established_type, established1_type… (default: Established, Established 1…) established_note, established_note1 … |
leader, leader1 … | leader name | leader_type, leader1_type … (default: Leader, Leader 1…) leader_note, leader1_note … |
Various codes | ||
timezone, utc_offset | timezone name and its UTC offset | timezone_note |
timezone_DST, utc_DST_offset | summer/daylight saving timezone name and its UTC offset | timezone_DST_note |
code, code1 … | Various identification codes (ISO, postal, licence plate) | code_type, code1_type… (default: Code, Code 1…) code_note=code_note, code1_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 loaction (only the first map) | |
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, NB: dot is set from capital coordinates | |
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 |
Blank
mag-editBlank 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.
Metric values | Imperial values |
---|---|
{{Geobox Region <!-- *** Name section *** --> | name = | native_name = | other_name = | other_name1 = | category = <!-- *** Image *** --> | image = | image_size = | image_caption = <!-- *** Symbols *** --> | flag = | flag_size = | symbol = | symbol_size = <!-- *** Etymology *** ---> | etymology = <!-- *** Country etc. *** --> | country = | state = | region = | district = <!-- *** Parts *** --> | capital = | capital_lat_d = | capital_lat_m = | capital_lat_s = | capital_lat_NS = | capital_long_d = | capital_long_m = | capital_long_s = | capital_long_EW = | capital_elevation = | part_type = | part_count = | part = | part1 = | city = | city1 = | municipality_type = | municipality_count = <!-- *** Geography *** --> | area = | highest = | 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 = | 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_density = <!-- *** Government *** --> | established_type = | established = | leader = <!-- *** Various codes *** --> | timezone = | utc_offset = | timezone_DST = | utc_offset_DST = | code_type = | code = | code1_type = | code1 = <!-- *** 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 Region <!-- *** Name section *** --> | name = | native_name = | other_name = | other_name1 = | category = <!-- *** Image *** --> | image = | image_size = | image_caption = <!-- *** Symbols *** --> | flag = | flag_size = | symbol = | symbol_size = <!-- *** Etymology *** ---> | etymology = <!-- *** Country etc. *** --> | country = | state = | region = | district = <!-- *** Parts *** --> | capital = | capital_lat_d = | capital_lat_m = | capital_lat_s = | capital_lat_NS = | capital_long_d = | capital_long_m = | capital_long_s = | capital_long_E = | capital_elevation_imperial = | part_type = | part_count = | part = | part1 = | city = | city1 = | municipality_type = | municipality_count = <!-- *** Geography *** --> | area_imperial = | highest = | 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 = | 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_density_imperial = <!-- *** Government *** --> | established_type = | established = | leader = <!-- *** Various codes *** --> | timezone = | utc_offset = | timezone_DST = | utc_offset_DST = | code_type = | code = | code1_type = | code1 = <!-- *** 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 = }} |