ଛାଞ୍ଚ:Infobox German location/doc
This is a documentation subpage for ଛାଞ୍ଚ:Infobox German location. It may contain usage information, categories and other content that is not part of the original ଛାଞ୍ଚ 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 = |image_flag = |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 = |pop_metro = |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 |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 = |image_flag = image file of town flag |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 |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 |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 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 {{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) (eg. 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) (eg. 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.