Templat:Infobox German Location: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
Baris 1:
{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name = {{#if:{{{Name|{{{name|{{PAGENAME}} }}} }}}|<span class="wrap">{{{Name|{{{name|{{PAGENAMEBASE}} }}} }}}</span>}}
| native_name = {{{German_name|}}}
| settlement_type = {{#if: {{{City|}}} {{{Town|}}} {{{Municipality|}}} | {{{Art|{{{type|Suburb}}} }}} of {{#if:{{{City|}}} | {{Link if exists|{{{City}}} }} | {{#if:{{{Town|}}} | {{Link if exists|{{{Town}}} }} | {{#if:{{{Municipality|}}} | {{Link if exists|{{{Municipality}}} }} }} }} }} }}
| image_skyline = {{{image_photo|{{{image_skyline|}}}}}}
| imagesize = {{{imagesize|}}}
| image_caption = {{{image_caption|}}}
| image_flag = {{{image_flag|}}}
| flag_link = {{#ifexist: Flag of {{{Name|{{{name}}} }}} | Flag of {{{Name|{{{name}}} }}} | {{#ifexist: Flag of {{PAGENAME}} | Flag of {{PAGENAME}} }} }}
| image_shield = {{#switch: {{lc:{{{Wappen|{{{image_coa}}}}}}}}
| none | kein | führt kein wappen.png
| führt kein wappen.svg | führt_kein_wappen.png
| führt_kein_wappen.svg =
| #default =
}}
| shield_size = 80x80px
| image_map = {{#if: {{{Lageplan|{{{image_plan|}}} }}} | {{hidden begin |style=margin-top:0.2px |titlestyle=font-size:95%; height:auto; padding:0.1em; padding-left:0.3em; padding-right:1.5em; |border=line |title = {{#if: {{{Lageplanbeschreibung|{{{plantext|}}} }}} | {{{Lageplanbeschreibung|{{{plantext}}} }}} | Location of {{{Name|{{{name|{{PAGENAME}} }}} }}} {{#if: {{{City|{{{Town|}}} }}} | within {{{City|{{{Town|}}} }}} | {{#if: {{{Kreis|{{{Landkreis|{{{district|}}} }}} }}} | within {{#switch: {{ucfirst:{{{Landkreis|{{{Kreis|{{{district|}}} }}} }}} }} | Kreisfreie Stadt | [[Kreisfreie Stadt|Stadt]] | Urban | Urban district = {{{Bundesland|{{{state|}}} }}} | #default = {{{Kreis|{{{Landkreis|{{{district|}}} }}} }}} district }} }} }} }} }}
{{#ifexist: Template:Imagemap Germany district {{{Kfz|{{{licence|}}} }}} | {{#ifexist: Media:{{{Lageplan|{{{image_plan|}}} }}} | {{Imagemap Germany district {{{Kfz|{{{licence|}}} }}} | {{{Lageplan|{{{image_plan|}}} }}} }} }} | [[File:{{{Lageplan|{{{image_plan|}}} }}}|250px]] }} {{hidden end}} | {{#if: {{Infobox mapframe}} | {{hidden | header = Location of {{{Name|{{{name|{{PAGENAME}} }}} }}} | headercss=height:5px; | content = <div class="center" style="margin-top:1em">{{Infobox mapframe|area_km2={{{Fläche|{{{area|}}} }}} }}</div>}} }} }}
| pushpin_map = {{#if: {{{coordinates|}}} | Germany#Germany {{#switch: {{unlink|{{{Bundesland|{{{state|}}} }}} }}
| Bayern | Bavaria = Bavaria
| Baden-Wuerttemberg | Baden-Württemberg = Baden-Württemberg
| Berlin = Berlin
| Brandenburg = Brandenburg
| Bremen = Bremen
| Hamburg = Hamburg
| Hessen | Hesse = Hesse
| Mecklenburg-Western Pomerania | MVP | Mecklenburg-Vorpommern = Mecklenburg-Vorpommern
| Niedersachsen | Lower Saxony = Lower Saxony
| Nordrhein-Westfalen | NRW | North Rhine-Westphalia | North Rhine-Westfalia = North Rhine-Westphalia
| Rheinland-Pfalz | Rhineland-Palatinate = Rhineland-Palatinate
| Saarland = Saarland
| Sachsen | Saxony = Saxony
| Sachsen-Anhalt | Saxony-Anhalt = Saxony-Anhalt
| Schleswig-Holstein = Schleswig-Holstein
| Thüringen | Thueringen | Thuringia = Thuringia
| #default = {{{Bundesland|{{{state|}}} }}}
}} }}
| pushpin_mapsize =
| pushpin_map_caption =
| coordinates = {{{coordinates|}}}
| subdivision_type = Country
| subdivision_name = [[Germany]]
| subdivision_type1 = [[States of Germany|State]]
| subdivision_name1 = {{#switch:{{{Bundesland|{{{state|}}} }}}
| Bayern | Bavaria = [[Bavaria]]
| Baden-Wuerttemberg | Baden-Württemberg = [[Baden-Württemberg]]
| Berlin = [[Berlin]]
| Brandenburg = [[Brandenburg]]
| Bremen = [[Bremen (state)|Bremen]]
| Hamburg = [[Hamburg]]
| Hessen | Hesse = [[Hesse]]
| Mecklenburg-Western Pomerania | MVP | Mecklenburg-Vorpommern = [[Mecklenburg-Vorpommern]]
| Niedersachsen | Lower Saxony = [[Lower Saxony]]
| Nordrhein-Westfalen | NRW | North Rhine-Westphalia | North Rhine-Westfalia = [[North Rhine-Westphalia]]
| Rheinland-Pfalz | Rhineland-Palatinate = [[Rhineland-Palatinate]]
| Saarland = [[Saarland]]
| Sachsen | Saxony = [[Saxony]]
| Sachsen-Anhalt | Saxony-Anhalt = [[Saxony-Anhalt]]
| Schleswig-Holstein = [[Schleswig-Holstein]]
| Thüringen | Thueringen | Thuringia = [[Thuringia]]
| #default = {{{Bundesland|{{{state|}}} }}}
}}
| subdivision_type2 = [[Regierungsbezirk|Admin. region]]
| subdivision_name2 = {{#if:{{{Regierungsbezirk|{{{regbzk|{{{region|}}} }}} }}}
| {{#ifexist: {{{Regierungsbezirk|{{{regbzk|{{{region}}} }}} }}} (region)
| [[{{{Regierungsbezirk|{{{regbzk|{{{region}}} }}} }}} (region)|{{{Regierungsbezirk|{{{regbzk|{{{region}}} }}} }}}]]
| {{#ifexist: {{{Regierungsbezirk|{{{regbzk|{{{region}}} }}} }}}
| [[{{{Regierungsbezirk|{{{regbzk|{{{region}}} }}} }}}]]
| {{{Regierungsbezirk|{{{regbzk|{{{region}}} }}} }}}
}}
}}
}}
| subdivision_type3 = [[Districts of Germany|District]]
| subdivision_name3 = {{Link if exists|{{#switch: {{{state|{{{Bundesland|}}} }}} | Hamburg | [[Hamburg]] | Bremen | [[Bremen]] | Berlin | [[Berlin]] = <!-- no districts --> |
{{#switch:{{{Landkreis|{{{Kreis|{{{district|}}} }}} }}}
| [[Kreisfreie Stadt|Stadt]] | Kreisfreie Stadt | urban = [[Urban districts of Germany|Urban district]]
| #default = {{#ifexist: {{{Landkreis|{{{Kreis|{{{district|}}} }}} }}} (district)
|<!--wlink ending in "(district)"--> [[{{{Landkreis|{{{Kreis|{{{district|}}} }}} }}} (district)|{{{Landkreis|{{{Kreis|{{{district|}}} }}} }}}]]
|<!--else--> {{#ifexist: {{{Landkreis|{{{Kreis|{{{district|}}} }}} }}}
|<!--wlink not ending in "(district)"--> [[{{{Landkreis|{{{Kreis|{{{district|}}} }}} }}}|{{{Landkreis|{{{Kreis|{{{district|}}} }}} }}}]]
}} }} }} }} }}
| subdivision_type4 = {{#if: {{{Gemeindeverwaltungsverband|}}} | [[Gemeindeverwaltungsverband|Municipal assoc.]] |
{{#if: {{{Samtgemeinde|}}} | [[Samtgemeinde|Municipal assoc.]] |
{{#if: {{{Verbandsgemeinde|}}} | [[Verbandsgemeinde|Municipal assoc.]] |
{{#if: {{{Verwaltungsgemeinschaft|}}} | [[Verwaltungsgemeinschaft|Municipal assoc.]] |
{{#if: {{{Amt|}}} | [[Amt (country subdivision)|Municipal assoc.]] |
{{#if: {{{Verwaltungsverband|}}} | [[Verwaltungsverband|Municipal assoc.]]
}} }} }} }} }} }}
| subdivision_name4 = {{Link if exists|{{#if: {{{Gemeindeverwaltungsverband|}}} | {{#ifexist: {{{Gemeindeverwaltungsverband}}} (Gemeindeverwaltungsverband) | [[{{{Gemeindeverwaltungsverband}}} (Gemeindeverwaltungsverband){{!}}{{{Gemeindeverwaltungsverband}}}]] | {{{Gemeindeverwaltungsverband}}} }} |
{{#if: {{{Samtgemeinde|}}} | {{#ifexist: {{{Samtgemeinde}}} (Samtgemeinde) | [[{{{Samtgemeinde}}} (Samtgemeinde){{!}}{{{Samtgemeinde}}}]] | {{{Samtgemeinde}}} }} |
{{#if: {{{Verbandsgemeinde|}}} | {{#ifexist: {{{Verbandsgemeinde}}} (Verbandsgemeinde) | [[{{{Verbandsgemeinde}}} (Verbandsgemeinde){{!}}{{{Verbandsgemeinde}}}]] | {{{Verbandsgemeinde}}} }} |
{{#if: {{{Verwaltungsgemeinschaft|}}} | {{#ifexist: {{{Verwaltungsgemeinschaft}}} (Verwaltungsgemeinschaft) | [[{{{Verwaltungsgemeinschaft}}} (Verwaltungsgemeinschaft){{!}}{{{Verwaltungsgemeinschaft}}}]] | {{{Verwaltungsgemeinschaft}}} }} |
{{#if: {{{Amt|}}} | {{#ifexist: {{{Amt}}} (Amt) | [[{{{Amt}}} (Amt){{!}}{{{Amt}}}]] | {{{Amt}}} }} |
{{#if: {{{Verwaltungsverband|}}} | {{#ifexist: {{{Verwaltungsverband}}} (Verwaltungsverband) | [[{{{Verwaltungsverband}}} (Verwaltungsverband){{!}}{{{Verwaltungsverband}}}]] | {{{Verwaltungsverband}}} }}
}} }} }}
| subdivision_type5 = {{#if: {{{City|}}} {{{Town|}}} {{{Municipality|}}} |
{{#if: {{{City|}}} | City |
{{#if: {{{
{{#if: {{{Municipality|}}} | Municipality
}} }} }} }}
| subdivision_name5 = {{Link if exists|{{#if: {{{City|}}} {{{Town|}}} {{{Municipality|}}} |
{{#if: {{{
{{#if: {{{
}} }} }} }} }}
| subdivision_type6 = {{#if: {{{borough|}}} | Borough }}
| subdivision_name6 = {{Link if exists|{{#if: {{{borough|}}} | {{{borough}}} }} }}
| established_title = Founded
| established_date = {{{year|}}}{{#ifeq: {{#expr: {{{year}}} < 100 }} | 1 | AD }}
| established_title1 = First mentioned
| established_date1 = {{{year_of_first_mention|}}}
| extinct_title = {{<includeonly>safesubst:</includeonly>#if:{{{dissolved|}}}|Disbanded}}
| extinct_date = {{{dissolved|}}}
| parts_type = {{#if: {{{Gliederung|{{{divisions|}}}}}} | Subdivisions }}
| parts = {{{Gliederung|{{{divisions|}}}}}}
| leader_party = {{{Partei|{{{party|}}} }}}
| leader_title = {{#switch: {{{Bürgermeistertitel}}}
| Mayor | Bürgermeister | [[Bürgermeister]] | Bürgermeisterin | [[Bürgermeisterin]] | Ortsbürgermeister | Ortsbürgermeisterin = [[Burgomaster|Mayor]]
| Lord Mayor | Oberbürgermeister | [[Oberbürgermeister]] | Oberbürgermeisterin | [[Oberbürgermeisterin]] = [[Lord Mayor]]
| Ortsvorsteher | [[Ortsvorsteher]] | Ortsvorsteherin | [[Ortsvorsteherin]] = Local representative
| Samtgemeindebürgermeister = [[Bürgermeister|Samtgemeinde-<br />bürgermeister]]
| Samtgemeindebürgermeisterin = [[Bürgermeister|Samtgemeinde-<br />bürgermeisterin]]
| #default = {{#ifexist: {{{Bürgermeistertitel}}} | [[{{{Bürgermeistertitel}}}]] | {{#if: {{{Bürgermeistertitel|}}} | {{{Bürgermeistertitel}}} | [[Burgomaster|Mayor]] }} }}
}}
| leader_name = {{{Bürgermeister|{{{mayor|}}} }}}
| leader_title1 = {{#if: {{{ruling_party1|}}} | Governing parties }}
| leader_name1 = {{Polparty|DE|{{{ruling_party1|}}} }} {{#if: {{{ruling_party2|}}} | / {{Polparty|DE|{{{ruling_party2|}}} }} }} {{#if: {{{ruling_party3|}}} | / {{Polparty|DE|{{{ruling_party3|}}} }} }}
| area_footnotes = {{{area_footnotes|}}}
| area_total_km2 = {{{Fläche|{{{area|}}} }}}
| area_urban_km2 =
| area_metro_km2 = {{{area_metro|}}}
| elevation_footnotes = <!-- for references: use <ref> tags -->
| elevation_min_m = {{#if:{{{Höhe|{{{elevation|}}}}}}|{{#ifeq:{{{Höhe|{{{elevation|}}}}}}|{{#invoke:string|replace|{{{Höhe|{{{elevation|}}}}}}|^(%s*%d[%d]*%s*)%-(%s*%d.*)|%1%2|plain=false}}||{{#invoke:string|replace|{{{Höhe|{{{elevation|}}}}}}|^(%s*%d[%d]*%s*)%-(%s*%d.*)|%1|plain=false}} }} }}
| elevation_max_m = {{#if:{{{Höhe|{{{elevation|}}}}}}|{{#ifeq:{{{Höhe|{{{elevation|}}}}}}|{{#invoke:string|replace|{{{Höhe|{{{elevation|}}}}}}|^(%s*%d[%d]*%s*)%-(%s*%d.*)|%1%2|plain=false}}||{{#invoke:string|replace|{{{Höhe|{{{elevation|}}}}}}|^(%s*%d[%d]*%s*)%-(%s*%d.*)|%2|plain=false}} }} }}
| elevation_m = {{#if:{{{Höhe|{{{elevation|}}}}}}|{{#ifeq:{{{Höhe|{{{elevation|}}}}}}|{{#invoke:string|replace|{{{Höhe|{{{elevation|}}}}}}|^(%s*%d[%d]*%s*)%-|%1|plain=false}}|{{{Höhe|{{{elevation|}}}}}}|}} }}
| population_footnotes = {{#iferror: {{#expr: {{Population Germany|key={{Schlüsselconverter|{{{key|{{{Gemeindeschlüssel|}}}}}}}} }} +1 }} | | {{#tag:ref | {{Population Germany|key={{{Gemeindeschlüssel|}}}|datref=QUELLE}} }} }}
| population_total = {{#iferror: {{#expr: {{Population Germany|key={{Schlüsselconverter|{{{key|{{{Gemeindeschlüssel|}}}}}}}} }} +1 }} | {{{Einwohner|{{{population|}}} }}} | {{Population Germany|key={{Schlüsselconverter|{{{Gemeindeschlüssel|}}} }} }} }}
| population_as_of = {{#iferror: {{#expr: {{Population Germany|key={{Schlüsselconverter|{{{key|{{{Gemeindeschlüssel|}}}}}}}} }} +1 }} | {{{population_as_of|{{{Stand|}}} }}} | {{Population Germany|key={{{Gemeindeschlüssel|}}}|datref=STAND}} }}
| population_density_km2 = auto
| population_urban = {{{pop_urban|}}}
| population_metro = {{{pop_metro|}}}
| population_demonym = {{{pop_demonym|{{{demonym|}}}}}}
| timezone1 = [[Central European Time|CET]]/[[Central European Summer Time|CEST]] (UTC+1/+2)
| postal_code_type = [[List of postal codes in Germany|Postal codes]]
| postal_code = {{{PLZ|{{{postal_code|}}} }}}
| area_code_type = [[List of dialling codes in Germany|Dialling codes]]
| area_code = {{{Vorwahl|{{{area_code|}}} }}}
| registration_plate = {{{Kfz|{{{licence|}}} }}}
| website = {{{Website|{{{website|}}} }}}
| footnotes = {{{footnotes|}}}
}}<!-- error tracking categories
-->{{#if: {{{coordinates|}}} | | {{ns0|[[Category:Germany articles requiring maintenance|C]]}} }}<!-- coordinates missing
-->{{#ifeq: {{#expr: {{#expr: {{{Einwohner|{{{population|0}}} }}} round 0 }} = {{{Einwohner|{{{population|0}}} }}} }} | 0 | [[Category:Germany articles requiring maintenance|D]] | }}<!-- Assign to maintenance category if decimal point is used in population as a thousands divider
-->{{#if: {{{pop_source|}}} | [[Category:Germany articles requiring maintenance|I]] }}<!-- obsolete, should use "pop_ref" instead
-->{{#if: {{{City|}}} {{{Town|}}} {{{Municipality|}}} | {{#if: {{{key|{{{Gemeindeschlüssel|}}} }}} | {{ns0|[[Category:Germany articles requiring maintenance|T]]}} | }} }}<!-- 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
-->{{#if: {{{Bundesland|{{{state|}}} }}} | | {{ns0|[[Category:Germany articles requiring maintenance|X]]}} }}<!-- Missing state name
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox German location with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox German location]] with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | Amt | area | area_code | area_metro | Art | borough | Bundesland | Bürgermeister | Bürgermeistertitel | City | coordinates | demonym | dissolved | district | divisions | Einwohner | elevation | Fläche | footnotes | Gemeindeschlüssel | Gemeindeverwaltungsverband | German_name | Gliederung | Höhe | image_caption | image_coa | image_flag | image_photo | image_plan | image_skyline | imagesize | key | Kfz | Kreis | Lageplan | Lageplanbeschreibung | Landkreis | licence | mayor | Municipality | name | Name | Partei | party | plantext | PLZ | pop_demonym | pop_metro | pop_source | pop_urban | population | population_as_of | postal_code | regbzk | Regierungsbezirk | region | ruling_party1 | ruling_party2 | ruling_party3 | Samtgemeinde | Stand | state | Town | type | Verbandsgemeinde | Verwaltungsgemeinschaft | Verwaltungsverband | Vorwahl | Wappen | website | Website | year | year_of_first_mention }}<!--
-->{{#if:{{{_noautocat|<noinclude>x</noinclude>}}}||<!--
(TYPE) in (STATE) -->{{#if:{{{City|}}}{{{Town|}}}{{{Municipality|}}} |
| <!-- Filter for subdivisions for which no town etc. is given --> Ortsteil | Stadtteil | Suburb | Borough | Quarter | Bezirk | Stadtbezirk = {{ns0|[[
| #default = {{#if:{{{Bundesland|{{{state|}}}}}}|{{ns0|[[Category:{{
#switch: {{ucfirst:{{{Art|{{{type|}}}}}}}}
| Gemeindeverwaltungsverband = Gemeindeverwaltungsverbände
| Samtgemeinde = Samtgemeinden
Baris 440 ⟶ 174:
| Verwaltungsgemeinschaft = Verwaltungsgemeinschaften
| Verwaltungsverband = Verwaltungsverbände
| Former Verbandsgemeinde = Former Verbandsgemeinden
| 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 (state)
| Hamburg | [[Hamburg]] = Hamburg
| Hessen | 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]] =
| Sachsen-Anhalt | Saxony-Anhalt | [[Saxony-Anhalt]] =
| Schleswig-Holstein | [[Schleswig-Holstein]] = Schleswig-Holstein
| Thüringen | Thuringia | [[Thuringia]] =
}}]]}}}}}}}} }}{{#if:{{{Höhe|{{{elevation|}}}}}}|{{#ifeq:{{{Höhe|{{{elevation|}}}}}}|{{#invoke:string|replace|{{{Höhe|{{{elevation|}}}}}}|^(%s*%d[%d]*%s*)%-|%1|plain=false}}||[[Category:Pages using infobox German location with an elevation range]] }} }}<noinclude>
{{documentation}}
</noinclude>
|