Template:Infobox German location/doc
This is a documentation subpage for Template:Infobox German location. It contains usage information, categories and other content that is not part of the original template page. |
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):
{{Infobox German Location |Name = |German_name = |Art = |image_photo = |imagesize = |image_caption = |Wappen = |Wappengröße = |lat_deg = | lat_min = | lat_sec = |lon_deg = | lon_min = | lon_sec = |Karte = |Lageplan = |Lageplanbeschreibung = |Bundesland = |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 = |Einwohner = |pop_metro = |Stand = |pop_ref = |PLZ = |PLZ-alt = |Vorwahl = |Kfz = |Gemeindeschlüssel= |NUTS = |LOCODE = |Gliederung = |Website = |Bürgermeister = |Bürgermeistertitel = |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 Location |name = (or 'Name') English name of the place |name_local = (or 'German_name') German name |Art = |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 |Wappengröße = |lat_deg = | lat_min = | lat_sec = latitude degrees/minutes/sec |lon_deg = | lon_min = | lon_sec = longitude degrees/minutes/sec |Karte = |image_plan = (or 'Lageplan') image file of bottom closeup map |plantext = (or 'Lageplanbeschreibung') heading above bottom map |state = (or 'Bundesland') optional state name (can translate) |region = (or 'Regierungsbezirk') optional region name |district = (or 'Landkreis' or 'Kreis') name of district |Amt = |Gemeindeverwaltungsverband = |Samtgemeinde = |Verbandsgemeinde = |Verwaltungsgemeinschaft = |Verwaltungsverband = |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 |population = (or 'Einwohner') count without commas (as: 9250) |pop_metro = population of metro part (without commas) |population_as_of = (or 'Stand') date for population count |pop_ref = population reference note |postal_code = (or 'PLZ') postal or ZIP codes |PLZ-alt = (not displayed) |area_code = (or 'Vorwahl') telephone area code |licence = (or 'Kfz' or 'license') licence plate code |Gemeindeschlüssel= |NUTS = (not displayed) |LOCODE = (not displayed) |divisions = (or 'Gliederung') divisions, such as "5 burroughs" |mayor = (or 'Bürgermeister') name of leader |Bürgermeistertitel = official title of 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 Ort 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 Template:Infobox Town DE:
- No longer need a location map for each entry. By entering the geographical co-ordinates, a map is automatically displayed.
- Population density automatically calculated upon entry of population and area
- 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).
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.