Template:Infobox German location/doc

Infobox for German cities, towns and municipalities
New infobox that combines features of de:Vorlage:Infobox Ort 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):

Syntax - English parameters
Click here to see instructions for full syntax information

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

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.
 * eg. 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 :
 * 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
{	"description":"", "params":{ "Name":{ "label":"Name", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"English name of location. Use only if name is different from article name" },		"German_name or local_name":{ "label":"German name or local name", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"German name of location. Use only if name is different from English name." },		"Art or type":{ "label":"Art or type", "type":"string", "required":false, "suggested":false, "deprecated":false, "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" },		"City or Town or Municipality":{ "label":"City or Town or Municipality", "type":"string", "required":false, "suggested":false, "deprecated":false, "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).", "aliases":["", ""			]		},		"borough":{ "label":"borough", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"" },		"image_photo or repres_image":{ "label":"Image photo or repres image", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"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" },		"Wappen or image_coa":{ "label":"Wappen or image_coa", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"Wappengröße":{ "label":"Wappengröße", "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 120px." },		"lat_deg, lat_min, lat_sec, lon_deg, lon_min, lon_sec":{ "label":"lat_deg, lat_min, lat_sec, lon_deg, lon_min, lon_sec", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Needed. Geographical co-ordinates of location. Give location in degrees and minutes (seconds can be given, but will not be displayed)." },		"Karte":{ "label":"Karte", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Avoid. Name of locator-map image. However, from the given geographical co-ordinates, a common map will be generated showing the position of the location within Germany. If, for some reason, the generated map does not work properly, use this field to replace the generated map with a specific image." },		"Bundesland or state":{ "label":"Bundesland or state", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Needed Federal state to which the location belongs. No wikilinks. Accepts English and German names, translates many names to English." },		"Regierungsbezirk or region":{ "label":"Regierungsbezirk or region", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"Kreis / Landkreis or district":{ "label":"Kreis / Landkreis or district", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"Amt, Gemeindeverwaltungsverband, Samtgemeinde, Verbandsgemeinde, Verwaltungsgemeinschaft, Verwaltungsverband":{ "label":"Amt, Gemeindeverwaltungsverband, Samtgemeinde, Verbandsgemeinde, Verwaltungsgemeinschaft, Verwaltungsverband", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Some locations belong to a collective municipality of some sort. Fill in the corresponding field and delete all unused fields." },		"Gliederung or divisions":{ "label":"Gliederung or divisions", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Local subdivisions. When copying towninfo directly from the German wiki, please translate content of this field to English and remove any red links.", "aliases":["", ""			]		},		"Bürgermeister or mayor":{ "label":"Bürgermeister or mayor", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Name of the mayor/lord mayor/etc. Wikilinks automatically generated if the entry exists." },		"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\"" },		"Partei or party":{ "label":"Partei or party", "type":"string", "required":false, "suggested":false, "deprecated":false, "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" },		"ruling_party1, ruling_party2, ruling_party3":{ "label":"ruling_party1, ruling_party2, ruling_party3", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Party or parties that govern this location. Fill in this field in the same way as the Partei field." },		"Fläche or area":{ "label":"Fläche or area", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"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." },		"Höhe or elevation":{ "label":"Höhe or elevation", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"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 . 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." },		"Einwohner or population":{ "label":"Einwohner or population", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"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)" },		"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 to make it easier to update population values in the future. The German wiki does not use this field, but the earlier English template does. This field must use the 2. Expanded syntax: 2." },		"Kfz or licence":{ "label":"Kfz or licence", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Car number plate code for the location (1-3 capital letters)." },		"Vorwahl or area_code":{ "label":"Vorwahl or area_code", "type":"number", "required":false, "suggested":false, "deprecated":false, "description":"Telephone area code. If various values are given, display as a simple range (if possible). Avoid descriptions of each code." },		"PLZ or postal_code":{ "label":"PLZ or postal_code", "type":"number", "required":false, "suggested":false, "deprecated":false, "description":"[edit] Postal code. If various values are given, display as a simple range (if possible). Avoid descriptions of each code." },		"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." },		"Website or website":{ "label":"Website or website", "type":"string/wiki-page-name", "required":false, "suggested":false, "deprecated":false, "description":"Official website of the location. Trim displayed URL as much as possible. (eg. Website=samplesite.de)" },		"Lageplan or image_plan":{ "label":"Lageplan or image_plan", "type":"string", "required":false, "suggested":false, "deprecated":false, "description":"Zoomed-in map image displaying location within a region of Germany (e.g., a state or a Kreis), with optional width, plansize=265px. " },		"Lageplanbeschreibung or plantext":{ "label":"Lageplanbeschreibung or plantext", "type":"string", "required":false, "suggested":false, "deprecated":false, "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." },		"_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)" }	} }

pt:Predefinição:Info/Cidade da Alemanha