Template:Infobox German location: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
m (Text replacement - "{{Documentation}}" to "{{Doc}}")
No edit summary
Line 201: Line 201:
   | "Thüringen" | "Thueringen" | "Thuringia" | "[[Thuringia]]" = [[Thuringia]]
   | "Thüringen" | "Thueringen" | "Thuringia" | "[[Thuringia]]" = [[Thuringia]]
   | "x"=<nowiki>{{{Bundesland or state}}}</nowiki>
   | "x"=<nowiki>{{{Bundesland or state}}}</nowiki>
   | #default = ''Invalid state: "{{{Bundesland|{{{state|}}}}}}"'' {{#ifeq:{{NAMESPACE}}||[[Category:Germany articles requiring maintenance|X]]}}
   | #default = ''Invalid state: "{{{Bundesland|{{{state|}}}}}}"'' {{#ifeq:{{NAMESPACE}}||}}
}}|''Enter Bundesland'' {{#ifeq:{{NAMESPACE}}||[[Category:Germany articles requiring maintenance|X]]}}}}
}}|''Enter Bundesland'' {{#ifeq:{{NAMESPACE}}||}}}}
|- class="mergedrow"
|- class="mergedrow"
{{#if: {{{Regierungsbezirk|{{{regbzk|{{{region|<noinclude>x</noinclude>}}}}}}}}}
{{#if: {{{Regierungsbezirk|{{{regbzk|{{{region|<noinclude>x</noinclude>}}}}}}}}}
Line 246: Line 246:
     -------------------------------------- Categorization -->{{
     -------------------------------------- Categorization -->{{
     #ifeq:{{NAMESPACE}}|
     #ifeq:{{NAMESPACE}}|
       |[[Category:Germany articles requiring maintenance|X]]}}
       |}}
   }}<!--endif-Landkreis-->
   }}<!--endif-Landkreis-->
  }}<!--endswitch-->
  }}<!--endswitch-->
Line 367: Line 367:
}}<!--endif Höhe/elevation-->
}}<!--endif Höhe/elevation-->
|- class="mergedrow"  
|- class="mergedrow"  
{{#if:{{{City|}}}{{{Town|}}}{{{Municipality|}}}| {{#if:{{{key|{{{Gemeindeschlüssel|}}}}}}| {{ns0|[[Category:Germany articles requiring maintenance|T]]}} <!-- Subdivisions of municipalities shouldn't have a Gemeindeschlüssel -->|}} }}
{{#if:{{{City|}}}{{{Town|}}}{{{Municipality|}}}| {{#if:{{{key|{{{Gemeindeschlüssel|}}}}}}| {{ns0|}} <!-- Subdivisions of municipalities shouldn't have a Gemeindeschlüssel -->|}} }}
{{#iferror:{{#expr:{{Population Germany|key={{Schlüsselconverter|{{{key|{{{Gemeindeschlüssel|}}}}}}}} }}+1}} | {{#if:{{{City|}}}{{{Town|}}}{{{Municipality|}}}{{{dissolved|}}}| <!-- OK, subdivisions of municipalities and dissolved units have no Gemeindeschlüssel --> | {{ns0|[[Category:Germany articles requiring maintenance|U]]}} <!-- Town with missing or incorrect Gemeindeschlüssel -->}}
{{#iferror:{{#expr:{{Population Germany|key={{Schlüsselconverter|{{{key|{{{Gemeindeschlüssel|}}}}}}}} }}+1}} | {{#if:{{{City|}}}{{{Town|}}}{{{Municipality|}}}{{{dissolved|}}}| <!-- OK, subdivisions of municipalities and dissolved units have no Gemeindeschlüssel --> | {{ns0|}} <!-- Town with missing or incorrect Gemeindeschlüssel -->}}
{{#if: {{{Einwohner|{{{population|}}}}}}
{{#if: {{{Einwohner|{{{population|}}}}}}
   |{{!}} '''Population'''{{#if: {{{pop_ref|}}}|<sup>&nbsp;</sup>}}
   |{{!}} '''Population'''{{#if: {{{pop_ref|}}}|<sup>&nbsp;</sup>}}
Line 374: Line 374:
#if: {{{Stand|{{{population_as_of|}}}}}} | {{#switch: {{#time:n|{{{Stand|{{{population_as_of}}}}}}}}
#if: {{{Stand|{{{population_as_of|}}}}}} | {{#switch: {{#time:n|{{{Stand|{{{population_as_of}}}}}}}}
| 1|2|3|4|5|6|7|8|9|10|11|12 = <small>''({{#time:j F Y|{{{Stand|{{{population_as_of}}}}}}}})''</small>
| 1|2|3|4|5|6|7|8|9|10|11|12 = <small>''({{#time:j F Y|{{{Stand|{{{population_as_of}}}}}}}})''</small>
| #default = {{#time:Y|{{{Stand|{{{population_as_of}}}}}}}}}}}}{{#if: {{{pop_ref|}}}|{{{pop_ref|}}}}}{{#if: {{{pop_source|}}}|[[Category:Germany articles requiring maintenance|I]]}}
| #default = {{#time:Y|{{{Stand|{{{population_as_of}}}}}}}}}}}}{{#if: {{{pop_ref|}}}|{{{pop_ref|}}}}}{{#if: {{{pop_source|}}}|}}
   |{{!}} '''Population''' {{!!}} {{{Einwohner ''or'' &nbsp;population}}}
   |{{!}} '''Population''' {{!!}} {{{Einwohner ''or'' &nbsp;population}}}
  }}<!--endif Einwohner/population-->  
  }}<!--endif Einwohner/population-->  
Line 449: Line 449:
--
--
------------------------------------- Assignment to categories
------------------------------------- Assignment to categories
-->{{#if:{{{_noautocat|<noinclude>x</noinclude>}}}||<!--
--><noinclude>
(TYPE) in (STATE) -->{{#if:{{{City|}}}{{{Town|}}}{{{Municipality|}}}|<!-- [[Category:Germany articles requiring maintenance|T]] -->|{{#switch: {{ucfirst:{{{Art|{{{type|}}}}}}}}
  | <!-- Filter for subdivisions for which no town etc. is given --> Ortsteil | Stadtteil | Suburb | Borough | Quarter | Bezirk | Stadtbezirk = [[Category:Germany articles requiring maintenance|Art]]
  | #default = {{#if:{{{Bundesland|{{{state|}}}}}}|[[Category:{{
  #switch: {{ucfirst:{{{Art|{{{type|}}}}}}}}
| Ortsgemeinde | Gemeinde | Markt | Municipality
          | municipality = Municipalities
| Amt = Ämter
        | Gemeindeverwaltungsverband = Gemeindeverwaltungsverbände
        | Samtgemeinde =  Samtgemeinden
        | Verbandsgemeinde = Verbandsgemeinde
        | Verwaltungsgemeinschaft = Verwaltungsgemeinschaften
        | Verwaltungsverband = Verwaltungsverbände
        | Stadt | Kreisfreie Stadt | [[Kreisfreie Stadt|Stadt]] | City | city | Town | town = {{#ifexpr:{{{Einwohner|{{{population|0}}}}}} > 100000 | Cities | Towns}}
        | Village | Dorf = Villages
| #default = Municipalities
}} in {{#switch: {{{Bundesland|{{{state|}}}}}}
| Bayern | Bavaria | [[Bavaria]] = Bavaria
| Baden-Wuerttemberg | Baden-Württemberg | [[Baden-Württemberg]] = Baden-Württemberg
| Berlin | [[Berlin]] = Berlin
| Brandenburg | [[Brandenburg]] = Brandenburg
| Bremen | [[Bremen]] = Bremen
| Hamburg | [[Hamburg]] = Hamburg
| Hessen | Hesse | [[Hesse]] = Hesse
| Mecklenburg-Vorpommern | Mecklenburg-Western Pomerania | [[Mecklenburg-Vorpommern]]
          | [[Mecklenburg-Western Pomerania]] = Mecklenburg-Vorpommern
| Niedersachsen | Lower Saxony | [[Lower Saxony]] = Lower Saxony
| Nordrhein-Westfalen | NRW | North Rhine-Westphalia | [[North Rhine-Westphalia]] = North Rhine-Westphalia
| Rheinland-Pfalz | Rhineland-Palatinate | [[Rhineland-Palatinate]] = Rhineland-Palatinate
| Saarland | [[Saarland]] = Saarland
| Sachsen | Saxony | [[Saxony]] = Saxony
| Sachsen-Anhalt | Saxony-Anhalt | [[Saxony-Anhalt]] = Saxony-Anhalt
| Schleswig-Holstein | [[Schleswig-Holstein]] = Schleswig-Holstein
| Thüringen | Thuringia | [[Thuringia]] = Thuringia
}}]]}}}}}}<!--
Establisment date category -->{{#if:{{{year|}}}|{{#ifexist:Category:Populated places established in the {{{year}}}|{{{category|[[Category:Populated places established in the {{{year}}}]]}}} | {{{category|[[Category:Populated places established in {{{year}}}]]}}}}}}}}}<!--
Assign to maintenance category if decimal point is used in population as a thousands divider -->{{#ifeq: {{#expr: {{#expr: {{{Einwohner|{{{population|0}}}}}} round 0 }} = {{{Einwohner|{{{population|0}}}}}}}}| 0 | [[Category:Germany articles requiring maintenance|D]] }}<!--
Assign to maintenance category if lat_deg/lon_deg are missing
-->{{#if:{{both|{{{lat_deg|}}}|{{{lon_deg|}}}}}||{{ns0|[[Category:Germany articles requiring maintenance|C]]}}}}<noinclude>
{{Doc}}
{{Doc}}
</noinclude>
</noinclude>
[[Category:Pages with broken file links]]
[[Category:Pages with non-numeric formatnum arguments]]
[[Category:Templates without documentation|Infobox German location]]

Revision as of 11:49, 23 March 2024

{{{German_name or name_local}}}
{{{Name or name}}}
{{{image_caption}}}
Coordinates missing!
Coordinates 50°N 11°E / 50°N 11°E / 50; 11
Administration
Country Germany
State {{{Bundesland or state}}}
Admin. region {{{Regierungsbezirk or region or regbzk}}}
District {{{Kreis or district}}}
Municipal assoc. {{{Amt}}}
Municipal assoc. {{{Gemeindeverwaltungsverband}}}   
Municipal assoc. {{{Samtgemeinde}}}
Municipal assoc. {{{Verbandsgemeinde}}}
Municipal assoc. {{{Verwaltungsgemeinschaft}}}
Municipal assoc. {{{Verwaltungsverband}}}
Local subdivisions {{{divisions}}}
Mayor {{{Bürgermeister or mayor}}}( {{{Partei or party}}} )
Governing party {{{ruling_party1}}}
Basic statistics
Area {{{Fläche or  area}}} km2 (0 sq mi)
 - Metro 0 [[km2]] (0 sq mi)
Elevation X–Xmax m (y–ymax ft)
  X is {{{Höhe or  elevation}}}
  Xmax optional {{{elevationmax}}}
Population {{{Einwohner or  population}}}
 - Density 0 /km2 (0 /sq mi)
 - Urban {{{pop_urban}}}
 - Metro {{{pop_metro}}} 
Founded {{{year}}}
First mentioned {{{year_of_first_mention}}}
Received city status {{{year_of_city_status}}}
Other information
Time zone CET/CEST (UTC+1/+2)
Licence plate {{{Kfz or licence or  license}}}
Postal codes {{{PLZ or  postal_code}}}
Area codes {{{Vorwahl or  area_code}}}
Website {{{Website or  website}}}

[create] Documentation