Difference between revisions of "Template:Infobox Germany district"
Jump to navigation
Jump to search
imported>Markussep (documentation to separate page) |
imported>Markussep (switch for states) |
||
| Line 15: | Line 15: | ||
|subdivision_name = [[Germany]] | |subdivision_name = [[Germany]] | ||
|subdivision_type1 = [[States of Germany|State]] | |subdivision_type1 = [[States of Germany|State]] | ||
| − | |subdivision_name1 = {{# | + | |subdivision_name1 = {{#switch: {{unlink|{{{state|}}} }} |
| + | | Bayern | Bavaria = [[Bavaria]] | ||
| + | | Baden-Wuerttemberg | Baden-Württemberg = [[Baden-Württemberg]] | ||
| + | | Brandenburg = [[Brandenburg]] | ||
| + | | Hessen | Hesse = [[Hesse]] | ||
| + | | Mecklenburg-Vorpommern | Mecklenburg-Western Pomerania = [[Mecklenburg-Vorpommern]] | ||
| + | | Niedersachsen | Lower Saxony = [[Lower Saxony]] | ||
| + | | Nordrhein-Westfalen | NRW | North Rhine-Westphalia = [[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 | Thuringia = [[Thuringia]] | ||
| + | | #default = {{{state|}}} {{ns0|[[Category:Germany articles requiring maintenance|X]]}} | ||
| + | }} | ||
|subdivision_type2 = {{#if:{{{regierungsbezirk|}}}| [[Regierungsbezirk|Adm. region]]}} | |subdivision_type2 = {{#if:{{{regierungsbezirk|}}}| [[Regierungsbezirk|Adm. region]]}} | ||
|subdivision_name2 = {{#ifexist: {{{regierungsbezirk}}} (region) | |subdivision_name2 = {{#ifexist: {{{regierungsbezirk}}} (region) | ||
| Line 51: | Line 66: | ||
}}<!-- | }}<!-- | ||
Categorisation | Categorisation | ||
| − | -->{{#ifeq:{{NAMESPACE}}||[[Category:{{#if:{{{dissolved|}}}|Former districts|Districts}} of {{#switch: {{{state}}} | + | -->{{#ifeq:{{NAMESPACE}}||[[Category:{{#if:{{{dissolved|}}}|Former districts|Districts}} of {{#switch: {{unlink|{{{state|}}} }} |
| − | | Bayern | Bavaria | + | | Bayern | Bavaria = Bavaria |
| − | | Baden-Wuerttemberg | Baden-Württemberg | + | | Baden-Wuerttemberg | Baden-Württemberg = Baden-Württemberg |
| − | | Brandenburg | + | | Brandenburg = Brandenburg |
| − | | Hessen | Hesse | + | | Hessen | Hesse = Hesse |
| − | | Mecklenburg-Vorpommern | Mecklenburg-Western Pomerania | + | | Mecklenburg-Vorpommern | Mecklenburg-Western Pomerania = Mecklenburg-Vorpommern |
| − | | Niedersachsen | Lower Saxony | + | | Niedersachsen | Lower Saxony = Lower Saxony |
| − | | Nordrhein-Westfalen | NRW | North Rhine-Westphalia | + | | Nordrhein-Westfalen | NRW | North Rhine-Westphalia = North Rhine-Westphalia |
| − | | Rheinland-Pfalz | Rhineland-Palatinate | + | | Rheinland-Pfalz | Rhineland-Palatinate = Rhineland-Palatinate |
| − | | Saarland | + | | Saarland = the Saarland |
| − | | Sachsen | Saxony | + | | Sachsen | Saxony = Saxony |
| − | | Sachsen-Anhalt | Saxony-Anhalt | + | | Sachsen-Anhalt | Saxony-Anhalt = Saxony-Anhalt |
| − | | Schleswig-Holstein | + | | Schleswig-Holstein = Schleswig-Holstein |
| − | | Thüringen | Thuringia | + | | Thüringen | Thuringia = Thuringia |
| Germany | | Germany | ||
}}]]}}<noinclude> | }}]]}}<noinclude> | ||
Revision as of 21:51, 22 March 2019
Template:Uses Infobox settlement
[[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. |