Template:Infobox German place

CountryGermany
Time zoneUTC+01:00 (CET)
 • Summer (DST)UTC+02:00 (CEST)
Documentation icon Template documentation[view] [edit] [history] [purge]


Infobox for cities, towns and municipalities in Germany

New infobox that combines features of de:Vorlage:Infobox Gemeinde in Deutschland and Template:Infobox settlement, plus a few extra things.

Syntax - German parameters

Also see English parameters in next section, or see: instructions for full syntax

List of basic German-name parameters (skip any unneeded fields):

{{Infobox German place
| Name = 
| German_name = 
| Art = 
| image_photo = 
| imagesize = 
| image_caption = 
| Wappen = 
| image_flag = 
| coordinates = {{Coord}}
| Lageplan = 
| Lageplanbeschreibung = 
| Bundesland = required parameter
| Regierungsbezirk = 
| Landkreis = 
| Kreis = 
| Amt = 
| Gemeindeverwaltungsverband = 
| Samtgemeinde = 
| Verbandsgemeinde = 
| Verwaltungsgemeinschaft = 
| Verwaltungsverband = 
| Höhe = elevation
| elevationmax = "X-Xmax m (y-ymax ft)" Xmax is optional elevationmax
| Fläche = 
| area_metro = 
| pop_metro = 
| PLZ = 
| Vorwahl = 
| Kfz = 
| Gemeindeschlüssel = 
| Gliederung = 
| Website = 
| Bürgermeister = 
| Bürgermeistertitel = 
| leader_term =
| Partei = 
| ruling_party1 = 
| ruling_party2 = 
| ruling_party3 = 
| year = 
| _noautocat = 
}}

Syntax - English parameters

Click here to see instructions for full syntax information

List of English-name alias parameters (skip any unneeded fields):

{{Infobox German place
| name = (or 'Name') English name of the place
| German_name = German name of the place
| image_photo = image file for top image (omit "Image:")
| imagesize = width of image_photo (default 268px)
| image_caption = phrase shown beneath top image
| image_coa = (or 'Wappen') image file of town seal
| image_flag = image file of town flag
| coordinates = latitude and longitude; use {{Coord}}
| image_plan = (or 'Lageplan') image file of bottom closeup map
| plantext = (or 'Lageplanbeschreibung') heading above bottom map
| state = (or 'Bundesland') required parameter
| region = (or 'Regierungsbezirk') optional region name
| district = (or 'Landkreis' or 'Kreis') name of district
| borough = 'Stadtkreis' or 'Bezirk', borough if subdivision
| Amt = 
| Gemeindeverwaltungsverband = 
| Samtgemeinde = 
| Verbandsgemeinde = 
| Verwaltungsgemeinschaft = 
| Verwaltungsverband = 
| type = type of subdivision, e.g. borough or quarter (locality)
| City = city, if subdivision
| Town = town, if subdivision
| elevation = (or 'Höhe') meters above sea-level (converts to ft)
| elevationmax = "X-Xmax m (y-ymax ft)" Xmax is optional elevationmax
| area = (or 'Fläche') area of location in square km
| area_metro = area of metro part in square km
| pop_metro = population of metro part (without commas)
| postal_code = (or 'PLZ') postal or ZIP codes
| area_code = (or 'Vorwahl') telephone area code
| licence = (or 'Kfz' or 'license') licence plate code
| Gemeindeschlüssel = 
| divisions = (or 'Gliederung') divisions, such as "5 boroughs"
| mayor = (or 'Bürgermeister') name of leader
| Bürgermeistertitel = official title of leader
| leader_term = term in office for leader
| party = (or 'Partei') political party of leader
| ruling_party1 = 
| ruling_party2 = 
| ruling_party3 = 
| year = year founded
| website = (or 'Website') URL of location website
| _noautocat = 
}}

Important features

Since de:Vorlage:Infobox Gemeinde in Deutschland is being introduced to many German locations in the German Wikipedia, the variable fields here use the same names to make it easier for editors to import infobox information from the German Wikipedia to the English one.
For many fields, German values can be given (i.e. without translation to English) and will be displayed in English.

  • e.g., By entering "Bundesland = Bayern", the infobox will display "State: Bavaria"

The variables with English names relate to features that do not exist in Infobox Ort in Deutschland.

Major new features, compared to {{Infobox Town DE}}:

  • No longer need a location map for each entry. By entering the geographical co-ordinates, a map is automatically displayed.
  • Population data automatically transcluded from {{Population Germany}}.
  • Area, population density and elevation automatically displayed in both metric and imperial units
  • Auto-categorisation of entries, depending on values entered
  • Optional 2nd map (Lageplan) at bottom, to display location in more detail.

Major new features, compared to de:Vorlage:Infobox Ort in Deutschland:

  • Can give year of city foundation: places article in "Category: xxxx establishments"
  • Can display representative photo of location (a feature of Infobox Town DE, which, for some reason, was never used) (e.g. see: Cologne)
  • In addition to displaying the political party of the mayor/lord mayor/etc., it is also possible to display the ruling parties. Currently, a coalition of up to 3 parties is supported - if more are needed, please report it on the template talk page. (e.g. see: Braunschweig).

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox German place

<templatedata> { "params": { "borough": { "label": "borough", "type": "string", "required": false, "suggested": false, "deprecated": false }, "imagesize": { "label": "Imagesize", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Avoid. Use only when it is necessary to reduce the size of the above image from its default value of 268px. Tall images could be reduced, such as 220px, to balance the infobox appearance." }, "image_caption": { "label": "Image caption", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Caption underneath representative image. Keep as short as possible. Allows wikilinks" }, "Bürgermeistertitel": { "label": "Bürgermeistertitel", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Title: Mayor / Bürgermeister, Lord Mayor / Oberbürgermeister, etc. Use wikilinks only if linking to a specific article (eg. Lord Mayor). Default is \"Mayor\"" }, "area_metro": { "label": "area_metro", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Are of metropolitan area in square kilometres. Will automatically calculate value in square miles. Enter value without spaces or commas, otherwise an error message will be displayed in the area field. Only the bigger cities will have a need for this field." }, "Gemeindeschlüssel": { "label": "Gemeindeschlüssel", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The Gemeindeschlüssel is the code for the municipalities, cities, districts etc. as used by the German statistics offices. For municipalities and cities this is an 8-digit number, either formatted \"XX X XX XXX\" or unformatted. This infobox uses this code to retrieve the municipality population from a database, see "key error". The code is not displayed. It is required for independent municipalities and cities. For dependent areas and settlements (quarters, boroughs, villages) use the \"Einwohner\" or \"population\" field." }, "Stand": { "label": "Stand", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Date for population value. Enter in YYYY-MM-DD format (eg. 2006-12-31)", "aliases": [ "population_as_of" ] }, "pop_metro": { "label": "Pop metro", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Population of metropolitan area. Only the bigger cities will have a need for this field." }, "pop_urban": { "label": "Pop urban", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Population of urban area. Only the bigger cities will have a need for this field." }, "pop_ref": { "label": "Pop ref", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Source for population statistic(s). Needed only for places that do not have automatic population updates using the Gemeindeschlüssel/key parameter. This field must use the Closing </ref> missing for <ref> tag 2. Expanded syntax:[1]" }, "year": { "label": "Year", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Year of foundation, NOT the year of the first recorded mention of the location." }, "_noautocat": { "label": "Noautocat", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Give a value of \"yes\" to prevent auto-categorisation. Used only on draft articles (i.e. in the User space)" }, "name": { "aliases": [ "Name" ], "label": "Name", "description": "Common English name of location. Use only if name is different from article name", "type": "string" }, "German_name": { "label": "German name", "description": "German name of location. Use only if name is different from English name.", "type": "string" }, "type": { "aliases": [ "Art" ], "description": "Needed. Type of location. Also used for article categorisation. Accepts German and English names. Accepted values: * Municipality / Gemeinde - default * Town / Stadt - if the municipality has town-rights (ie. it appears on this list) * City - towns with more than 100,000 people (ie. it appears on this list) * Amt / Gemeindeverwaltungsverband / Samtgemeinde / Verbandsgemeinde / Verwaltungsgemeinschaft / Verwaltungsverband - collective municipality * Ortsteil / Stadtteil / Borough / Quarter etc. - subdivision of a city, town or municipality", "type": "string" }, "image_photo": { "aliases": [ "image_skyline" ], "label": "Image photo ", "description": "The top image, a representative photo of the location: skyline, notable landmark, etc. The image used should be wider than it is tall, to keep the infobox as compact as possible. No wikilinks.", "type": "string" }, "City": { "aliases": [ "Town", "Municipality" ], "label": "City or Town or Municipality", "description": "Used for places that are subdivisions of cities, towns or municipalities. Use the field name that corresponds with the higher administrative unit (e.g. \"City = Berlin\" for parts of Berlin, \"Town = Memmingen\" for parts of Memmingen, \"Municipality = Sassenburg\" for parts of Sassenburg).", "type": "string" }, "image_coa": { "aliases": [ "Wappen" ], "label": "Wappen or image_coa", "description": "Coat of arms image. No wikilinks. Leave blank if image is unknown or unavailable. If the location simply does not have a coat of arms, put: Wappen = none.", "type": "string" }, "state": { "aliases": [ "Bundesland" ], "label": "Bundesland or state", "description": "Needed. Federal state to which the location belongs. No wikilinks. Accepts English and German names, translates many names to English.", "type": "string", "required": true }, "region": { "aliases": [ "Regierungsbezirk", "regbzk" ], "label": "Regierungsbezirk or region", "description": "Name of the administrative region (Regierungsbezirk) that the location belongs to. Not used for all states. Regierungsbezirk articles on the English wiki are named \"xxxx (region)\", so only the name of the region is needed here (without wikilinks) and the infobox should link to the correct article.", "type": "string" }, "district": { "aliases": [ "Kreis", "Landkreis" ], "label": "Kreis / Landkreis or district", "description": "Needed. District that the location belongs to. If the location is an urban district, say Kreis = urban. District articles on the English wiki are named \"xxxx (district)\" or without the \"(district)\" part. For most cases, only the name of the district (xxxx) is needed here (without wikilinks) and the infobox should link to the correct article.", "type": "string" }, "Amt": { "aliases": [ "Gemeindeverwaltungsverband", "Samtgemeinde", "Verbandsgemeinde", "Verwaltungsgemeinschaft", "Verwaltungsverband" ], "label": "Amt, Gemeindeverwaltungsverband, Samtgemeinde, Verbandsgemeinde, Verwaltungsgemeinschaft, Verwaltungsverband", "description": "Some locations belong to a collective municipality of some sort. Fill in the corresponding field and delete all unused fields.", "type": "string" }, "divisions": { "aliases": [ "Gliederung" ], "label": "Gliederung or divisions", "description": "Local subdivisions. When copying towninfo directly from the German wiki, please translate content of this field to English and remove any red links.", "type": "string" }, "mayor": { "aliases": [ "Bürgermeister" ], "label": "Bürgermeister or mayor", "description": "Name of the mayor/lord mayor/etc. Wikilinks automatically generated if the entry exists.", "type": "string" }, "party": { "aliases": [ "Partei" ], "label": "Partei or party", "description": "Political party of Mayor/Lord Mayor/etc. Use standard party abbreviations (CDU, SPD, Green, FDP, PDS, FWG, etc.) and the correct wikilinks should be generated (if not, leave a comment on the template talk page). For independent politicians, say Partei=ind", "type": "string" }, "ruling_party1": { "aliases": [ "ruling_party2", "ruling_party3" ], "label": "ruling_party1, ruling_party2, ruling_party3", "description": "Party or parties that govern this location. Fill in this field in the same way as the Partei field.", "type": "string" }, "area": { "aliases": [ "Fläche" ], "label": "Fläche or area", "description": "Area in square kilometres. Will automatically calculate value in square miles. Enter value without spaces or commas, otherwise an error message will be displayed in the area field.", "type": "string" }, "elevation": { "aliases": [ "Höhe" ], "label": "Höhe or elevation", "description": "Elevation in metres. Will automatically calculate value in feet. For some entries, a range of elevation values is given in the German wiki. To prevent an error in the conversion to feet, any range values must use a simple minus sign instead of any other dash characters. Elevation ranges will not be converted to feet.", "type": "string" }, "population": { "aliases": [ "Einwohner" ], "label": "Einwohner or population", "description": "Population. Don't use this for independent municipalities and cities, use the \"Gemeindeschlüssel\" field instead. If area is also given, population density will also be calculated. Enter value without spaces or commas, otherwise an error message will be displayed in the density field.", "type": "string" }, "licence": { "aliases": [ "Kfz" ], "label": "Kfz or licence", "description": "Car number plate code for the location (1-3 capital letters).", "type": "string" }, "area_code": { "aliases": [ "Vorwahl" ], "label": "Vorwahl or area_code", "description": "Telephone area code. If various values are given, display as a simple range (if possible). Avoid descriptions of each code.", "type": "number" }, "postal_code": { "aliases": [ "PLZ" ], "label": "PLZ or postal_code", "description": "[edit] Postal code. If various values are given, display as a simple range (if possible). Avoid descriptions of each code.", "type": "number" }, "website": { "aliases": [ "Website" ], "label": "Website", "description": "Official website of the location. Trim displayed URL as much as possible. (eg. Website=samplesite.de)", "type": "wiki-page-name" }, "image_plan": { "aliases": [ "Lageplan" ], "label": "Lageplan or image_plan", "description": "Zoomed-in map image displaying location within a region of Germany (e.g., a state or a Kreis), with optional width, plansize=265px. ", "type": "string" }, "plantext": { "aliases": [ "Lageplanbeschreibung" ], "label": "Lageplanbeschreibung or plantext", "description": "Caption for map image given by Lageplan. The template will attempt to automatically create a caption, using values given for other fields. If the caption does not match with the image, use this field to manually enter a caption.", "type": "string" }, "image_flag": { "description": "Flag image. Plain file name, no wikilinks or size." }, "coordinates": { "description": "Use the Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value). template" }, "year_of_first_mention": { "description": "year of the first recorded mention of the location.", "type": "number" }, "pop_demonym": { "aliases": [ "demonym" ], "description": "Demonym " }, "footnotes": {}, "dissolved": { "description": "If the administrative unit was disbanded: the date when it was disbanded" }, "leader_term": { "description": "Term for elected mayors", "example": "2019–2024" } }, "paramOrder": [ "name", "German_name", "type", "City", "borough", "image_photo", "imagesize", "image_caption", "image_coa", "state", "region", "district", "Amt", "divisions", "mayor", "Bürgermeistertitel", "party", "ruling_party1", "area", "area_metro", "elevation", "Gemeindeschlüssel", "population", "Stand", "pop_metro", "pop_urban", "pop_ref", "licence", "area_code", "postal_code", "year", "website", "image_plan", "plantext", "_noautocat", "image_flag", "coordinates", "year_of_first_mention", "pop_demonym", "footnotes", "dissolved", "leader_term" ] } </templatedata>

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking categories

Related pages

  1. Landesamt für Datenverarbeitung und Statistik Nordrhein-Westfalen. "Bevölkerung im Regierungsbezirk Köln" (in German). Retrieved 2007-04-25.{{cite web}}: CS1 maint: unrecognized language (link)