User:52 Pickup/Drafts/Infobox German Location

From Wikipedia, the free encyclopedia

< User:52 Pickup | Drafts
{{{Name}}} ({{{German_name}}})
{{{image_caption}}}
COA missing
Info on emblems
Location on map of Germany
Coordinates:
Time zone: CET / CEST (UTC+1 / UTC+2)
Administration
Country: Germany
State: {{{Bundesland}}}
Administrative region: {{{Regierungsbezirk}}}
District: {{{Kreis}}}
Municipial association: {{{Amt}}}
Municipial association: {{{Gemeindeverwaltungsverband}}}
Municipial association: {{{Samtgemeinde}}}
Municipial association: {{{Verbandsgemeinde}}}
Municipial association: {{{Verwaltungsgemeinschaft}}}
Municipial association: {{{Verwaltungsverband}}}
City subdivisions: {{{Gliederung}}}
Mayor: {{{Bürgermeister}}} ({{{Partei}}})
Governing party: {{{ruling_party1}}}
Basic Statistics
Area: {{{Fläche}}} km² (0 sq.mi.)
Population: {{{Einwohner}}} 
 - Density: 0 /km² (0 /sq.mi.)
Elevation: {{{Höhe}}} m  (0 ft)
Founded: {{{year}}}
Further Information
Postal codes: {{{PLZ}}}
Area codes: {{{Vorwahl}}}
Licence plate code: {{{Kfz}}}
Website: {{{Website}}}
{{{Lageplanbeschreibung}}}

Map


TEST VERSION - test examples using this template are at User:52 Pickup/Drafts/Test locations


[edit] Infobox for German cities and towns

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

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, 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)
  • In addition to displaying the political party of the mayor/lord mayor/etc., it is also possible to display the ruling parties (currently up to a coalition of 3 parties is supported - if more are needed, please report it on the template talk page)
  • Supports wards/burroughs/suburbs of cities


This template is still under development, so please report any problems on the talk page.

Please do not start wide-spread implementation of this infobox: there are still a few important issues that need to taken care of first. Instead, feel free to test it on various entries and report any problems on the Talk page


This template employs intricate features of template syntax.
Please do not alter it unless you are certain to understand its setup and parser functions and are ready to repair/revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in the template sandbox, or in your user space, before applying anything here.


{{Infobox German Location
|Name               = <!-- Only when different from the article name -->
|German_name        = <!-- Only when different from the English name -->
|Art                = <!-- Location type: Stadt, Amt, Samtgemeinde, city, suburb, ward... -->
|image_photo        = <!-- Representative photo of location -->
|imagesize          = <!-- Photo size. Default is 250px -->
|image_caption      = <!-- Photo caption -->
|Wappen             = <!-- Coat of arms image, or say "none" -->
|Wappengröße        = <!-- Size of COA imageOnly if smaller than 140 -->
|lat_deg            = 56 | lat_min = 0 | lat_sec = 0
|lon_deg            = 16 | lon_min = 0 | lon_sec = 0
|Karte              = <!-- Only when the automatic locator (needs co-ordinates) does not work -->
|Lageplan           = <!-- Image displaying location in more detail (eg. location within state or district -->
|Lageplanbeschreibung = <!-- Description of image "Lageplan" Default: "Location of XX" -->
|Bundesland         = <!-- Name of German State (in English or in German). No wikilinks -->
|Regierungsbezirk   = <!-- [[XX (region)|XX]] or XX -->
|Landkreis          = <!-- [[XX (district)|XX]] or XX or "urban" if a Kreisfreie Stadt -->
|Kreis              = <!-- Only in NRW und SH or "urban" if a Kreisfreie Stadt -->
|Amt                = <!-- Only for Gemeinden that belong to a Verwaltungsgemeinschaft -->
|Gemeindeverwaltungsverband =
|Samtgemeinde       =
|Verbandsgemeinde   =
|Verwaltungsgemeinschaft =
|Verwaltungsverband =
|City               = <!-- Use only if the entry relates to a suburb/ward/burrough of a city (Give name of that city here) -->
|Höhe               = <!-- Elevation, in metres (a single value) -->
|Fläche             = <!-- Area, in km2. XXX.XX (no commas or other text) -->
|Einwohner          = <!-- Population (no commas or other text)-->
|Stand              = <!-- Date of population count, in format YYYY-MM-DD -->
|pop_source         = <!-- Weblink for population source, just the web address (no wikiformatting) -->
|PLZ                = <!-- Postcode(s) XXXXX–XXXXX (keine Postfächer/Großempfänger) -->
|PLZ-alt            = <!-- Older postcode(s) - only when available -->
|Vorwahl            = <!-- Telephone area code -->
|Kfz                = <!-- Licence plate code -->
|Gemeindeschlüssel  = <!-- CIN value: "XX X XX XXX" -->
|NUTS               = <!-- NUTS value: DEXXX -->
|LOCODE             = <!-- UN/LOCODE value: "DE XXX"  -->
|Gliederung         = <!-- Subdivisions within location (e.g. "XX [[Ortsteil]]e" or "[[Stadtbezirk]]e") -->
|Straße             = <!-- Street and house number of the local administration -->
|Adresse            = <!-- Musterstr. XX<br />XXXXX Musterstadt (use this instead of Straße if PLZ contains multiple values) -->
|Adresse-Verband    = <!-- Only for Gemeinden that belong to a Verwaltungsgemeinschaft -->
|Website            = <!-- [http://www.musterstadt.de/ www.musterstadt.de] -->
|Bürgermeister      = <!-- Max Mustermann -->
|Bürgermeistertitel = <!-- Only when different from [[Bürgermeister]] -->
|Partei             = <!-- Mayor's politcal party - preferably give abbreviation (SPD,CDU,CSU,FDP,PDS,Green) -->
|ruling_party1      = <!-- Leading political party currently in power - give abbreviations -->
|ruling_party2      = <!-- 2nd ruling political party - give abbreviations -->
|ruling_party3      = <!-- 3rd ruling political party - give abbreviations -->
|year               = <!-- Year/decade/century founded (not "first recorded mention"), no wikilinking. -->
}}


Removed bits at User:52 Pickup/Drafts/Infobox German Location-scrap [[de:Vorlage:Infobox Ort in Deutschland]] [[Category:Coordinates templates|Infobox German Location]] [[Category:City infobox templates|German Location]] [[Category:Templates using ParserFunctions|Infobox German Location]]