Difference between revisions of "Template:Infobox Germany district"
Jump to navigation
Jump to search
imported>Gonnym m (Gonnym moved page Template:Infobox District DE to Template:Infobox German district over redirect: move to a more correct name) |
imported>TerraCyprus |
||
| Line 1: | Line 1: | ||
| − | + | {{Infobox settlement | |
| − | + | | name = {{{name}}} | |
| − | |name = {{{name}}} | + | | settlement_type = [[Districts of Germany|District]] |
| − | |settlement_type = [[Districts of Germany|District]] | + | | image_skyline = {{{image_skyline|}}} |
| − | |image_skyline = {{{image_skyline|}}} | + | | imagesize = {{{image_size|}}} |
| − | |imagesize = {{{image_size|}}} | + | | image_caption = {{{image_caption|}}} |
| − | |image_caption = {{{image_caption|}}} | + | | image_shield = {{{image_coa|}}} |
| − | |image_shield = {{{image_coa|}}} | + | | image_flag = {{{image_flag|}}} |
| − | |image_flag | + | | image_map = {{{map|}}} |
| − | |image_map = {{{map|}}} | + | | map_caption = |
| − | |map_caption = | + | | mapsize = 250x250px |
| − | |mapsize = 250x250px | + | | coordinates = {{{coordinates|}}} |
| − | |coordinates | + | | subdivision_type = [[List of sovereign states|Country]] |
| − | |subdivision_type = [[List of sovereign states|Country]] | + | | subdivision_name = [[Germany]] |
| − | |subdivision_name = [[Germany]] | + | | subdivision_type1 = [[States of Germany|State]] |
| − | |subdivision_type1 = [[States of Germany|State]] | + | | subdivision_name1 = {{#switch: {{unlink|{{{state|}}} }} |
| − | |subdivision_name1 = {{#switch: {{unlink|{{{state|}}} }} | ||
| Bayern | Bavaria = [[Bavaria]] | | Bayern | Bavaria = [[Bavaria]] | ||
| Baden-Wuerttemberg | Baden-Württemberg = [[Baden-Württemberg]] | | Baden-Wuerttemberg | Baden-Württemberg = [[Baden-Württemberg]] | ||
| Line 31: | Line 30: | ||
| #default = {{{state|}}} {{ns0|[[Category:Germany articles requiring maintenance|S]]}} | | #default = {{{state|}}} {{ns0|[[Category:Germany articles requiring maintenance|S]]}} | ||
}} | }} | ||
| − | |subdivision_type2 = {{#if:{{{regierungsbezirk|}}}| [[Regierungsbezirk|Adm. region]]}} | + | | subdivision_type2 = {{#if:{{{regierungsbezirk|}}}| [[Regierungsbezirk|Adm. region]]}} |
| − | |subdivision_name2 = {{#ifexist: {{{regierungsbezirk}}} (region) | + | | subdivision_name2 = {{#ifexist: {{{regierungsbezirk}}} (region) |
| [[{{{regierungsbezirk}}} (region)|{{{regierungsbezirk}}}]] | | [[{{{regierungsbezirk}}} (region)|{{{regierungsbezirk}}}]] | ||
| {{#ifexist: {{{regierungsbezirk}}} | | {{#ifexist: {{{regierungsbezirk}}} | ||
| Line 43: | Line 42: | ||
|subdivision_name3 = | |subdivision_name3 = | ||
--> | --> | ||
| − | |seat_type = Capital | + | | seat_type = Capital |
| − | |seat = {{{capital}}} | + | | seat = {{{capital}}} |
| − | |leader_title = {{#if:{{{Landrat|}}}{{{district_admin|}}}{{{leader_name|}}}|District admin.}} | + | | leader_title = {{#if:{{{Landrat|}}}{{{district_admin|}}}{{{leader_name|}}}|District admin.}} |
| − | |leader_name = {{{Landrat|}}}{{{district_admin|}}} | + | | leader_name = {{{Landrat|}}}{{{district_admin|}}} |
| − | |leader_party = {{{admin_party|}}} | + | | leader_party = {{{admin_party|}}} |
| − | |established_title = {{#if:{{{founded|}}}|Founded}} | + | | established_title = {{#if:{{{founded|}}}|Founded}} |
| − | |established_date = {{{founded|}}} | + | | established_date = {{{founded|}}} |
| − | |extinct_title = {{#if:{{{dissolved|}}}|Disbanded}} | + | | extinct_title = {{#if:{{{dissolved|}}}|Disbanded}} |
| − | |extinct_date = {{{dissolved|}}} | + | | extinct_date = {{{dissolved|}}} |
| − | |area_total_km2 = {{{area|}}} | + | | area_total_km2 = {{{area|}}} |
<!-- Population either from database or manual --> | <!-- Population either from database or manual --> | ||
| − | |population_total = {{#iferror:{{#expr:{{Population Germany|key={{{Kreisschlüssel|}}} }}+1}} | {{{population}}} {{#if:{{{dissolved|}}}| | {{ns0|[[Category:Germany articles requiring maintenance|Kreisschlüssel missing]]}} }} | {{Population Germany|key={{{Kreisschlüssel|}}} }} }} | + | | population_total = {{#iferror:{{#expr:{{Population Germany|key={{{Kreisschlüssel|}}} }}+1}} | {{{population}}} {{#if:{{{dissolved|}}}| | {{ns0|[[Category:Germany articles requiring maintenance|Kreisschlüssel missing]]}} }} | {{Population Germany|key={{{Kreisschlüssel|}}} }} }} |
| − | |population_as_of = {{#iferror:{{#expr:{{Population Germany|key={{{Kreisschlüssel|}}} }}+1}} | {{{population_as_of|}}} | {{#time:j F Y|{{Population Germany|key={{{Kreisschlüssel|}}}|datref=STAND}} }} }} | + | | population_as_of = {{#iferror:{{#expr:{{Population Germany|key={{{Kreisschlüssel|}}} }}+1}} | {{{population_as_of|}}} | {{#time:j F Y|{{Population Germany|key={{{Kreisschlüssel|}}}|datref=STAND}} }} }} |
| − | |population_footnotes = {{#iferror:{{#expr:{{Population Germany|key={{{Kreisschlüssel|}}} }}+1}} | {{{population_ref|}}} | {{#tag:ref| {{Population Germany|key={{{Kreisschlüssel|}}}|datref=QUELLE}} }} }} | + | | population_footnotes = {{#iferror:{{#expr:{{Population Germany|key={{{Kreisschlüssel|}}} }}+1}} | {{{population_ref|}}} | {{#tag:ref| {{Population Germany|key={{{Kreisschlüssel|}}}|datref=QUELLE}} }} }} |
| − | |population_density_km2 = auto | + | | population_density_km2 = auto |
| − | |timezone = [[Central European Time|CET]] | + | | timezone = [[Central European Time|CET]] |
| − | |utc_offset = +01:00 | + | | utc_offset = +01:00 |
| − | |timezone_DST = [[Central European Summer Time|CEST]] | + | | timezone_DST = [[Central European Summer Time|CEST]] |
| − | |utc_offset_DST = +02:00 | + | | utc_offset_DST = +02:00 |
| − | |registration_plate = {{{carsign|}}} | + | | registration_plate = {{{carsign|}}} |
| − | |website = {{{url|}}} | + | | website = {{{url|}}} |
}}<!-- | }}<!-- | ||
Categorisation | Categorisation | ||
| Line 82: | Line 81: | ||
| Germany | | Germany | ||
}}]]}}<noinclude> | }}]]}}<noinclude> | ||
| − | |||
{{Documentation}} | {{Documentation}} | ||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 15:59, 12 August 2019
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| Country | Germany |
| State | Template:Ns0 |
| Capital | {{{capital}}} |
| Population | |
| • Total | {{{population}}} Template:Ns0 |
| Script error: No such module "If empty". | |
| Time zone | UTC+01:00 (CET) |
| • Summer (DST) | UTC+02:00 (CEST) |
| Script error: No such module "If empty". | |
[[Category:Infobox templates|Template:Remove first word]]
Template:Uses Infobox settlement
- redirect Template:Parameter names example
Infobox for German districts
Full syntax:
{{Infobox Germany district
| name =
| map =
| image_coa =
| image_flag =
| state =
| regierungsbezirk =
| region =
| capital =
| area =
| coordinates = {{Coord}}
| Kreisschlüssel = (the official geographical code of the district)
| population = (only for disbanded districts)
| population_as_of = (only for disbanded districts)
| district_admin =
| admin_party=
| carsign =
| founded =
| dissolved = (only for disbanded districts)
| url =
}}
| The above documentation is transcluded from Template:Infobox Germany district/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |