|
|
(One intermediate revision by the same user not shown) |
Line 426: |
Line 426: |
| -- force article's left-side text below the infobox table. -- | | -- force article's left-side text below the infobox table. -- |
| -- | | -- |
− | ------------------------------------- Assignment to categories
| + | |
− | -->{{#if:{{{_noautocat|<noinclude>x</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 -->{{#ifexist:{{{year}}}|{{#ifexist:Category:{{{year}}} establishments|{{{category|[[Category:{{{year}}} establishments]]}}} | {{{category|[[Category:{{{year}}} establishments]]}}}}}}}}}<!--
| |
− | 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]] }}<!--
| |
− | --><noinclude>{{pp-template}}
| |
− | {{Documentation}}
| |
− | <!--
| |
− | --
| |
− | --NOTES: (alpha order)
| |
− | --
| |
− | -- Note AKA2: Parameter aliases "{{{Einwohner|{{{population}}}}}}"
| |
− | -- are nested defaults, using 2nd name if 1st omitted, but
| |
− | -- if blank ("Einwohner="), 2nd name "population" is ignored.
| |
− | -- Note BUG3: In September 2007, the MediaWiki software was still
| |
− | -- infantile beta technology with numerous simple bugs.
| |
− | -- Note CEN2: Even in column align="center" image must be centered,
| |
− | -- but <nowiki>"[[Image: |center|...]]"</nowiki> has bug
| |
− | -- chopping bottom line of image & " " won't indent.
| |
− | -- Note COA4: Coat-of-Arms image_coa widens infobox table seeking
| |
− | -- size 120x110px (almost unpredictable infobox width).
| |
− | -- Note FOTO2: The blank template displays top image_photo using
| |
− | -- Template:Location_map to show parameters on image.
| |
− | -- Note SIZ3: Image sizes allow optional "px" by putting both sizes
| |
− | -- as "250px|250pxpx" where the "pxpx" form is ignored.
| |
− | -- Note X1: For the blank template, some parameters are defaulted
| |
− | -- as value "x" indicating to show parameter names.
| |
− | --
| |
− | -- [ These comment lines process at 5000 lines < 1 second. ] -->
| |
| | | |
| {{Credits|328491101}} | | {{Credits|328491101}} |
| </noinclude> | | </noinclude> |