This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
The template "Population Germany" is used by the infoboxes {{Infobox German location}} and {{Infobox German district}} to retrieve population data for subdivisions of Germany from a central database. The template can also be used outside those infoboxes. The template uses codes for the subdivisions that have been defined by the federal statistics office of Germany (see this link for codes). There is a separate database for each federal state of Germany. The databases are updated regularly, see below.
The template is called as follows:
Note: the template Population Germany does not accept codes in which the numbers are grouped, e.g. 15 0 88 220. Use the template {{replace}} for this:
The data are copied from German Wikipedia. This link shows changes to the database templates in German Wikipedia in the last 30 days. If there is a significant change, that hasn't been implemented in English Wikipedia yet (see the table below, and compare with the dates in German Wikipedia), you can update the files at English Wikipedia. Open the German file (e.g. Saarland), and copy the part between the first line with "STAND" in it and the last line with a municipality code in it (in this case "Tholey") to the corresponding part in the English file (in this case {{Metadata Population DE-SL}}). If you don't feel confident editing templates, just leave a note at Template talk:Infobox German place. Several experienced editors watch that talk page.
State | Database | Data as of |
---|---|---|
Baden-Württemberg | {{Metadata Population DE-BW}} | 2022-12-31 |
Bavaria | {{Metadata Population DE-BY}} |
2023-12-31 |
Berlin | {{Metadata Population DE-BE}} | 2023-12-31 |
Brandenburg | {{Metadata Population DE-BB}} |
2022-12-31 |
Bremen | {{Metadata Population DE-HB}} | 2022-12-31 |
Hamburg | {{Metadata Population DE-HH}} | 2023-12-31 |
Schleswig-Holstein | {{Metadata Population DE-SH}} | 2022-12-31 |
Hesse | {{Metadata Population DE-HE}} | 2022-12-31 |
Lower Saxony | {{Metadata Population DE-NI}} | 2022-12-31 |
Mecklenburg-Vorpommern | {{Metadata Population DE-MV}} | 2022-12-31 |
North Rhine-Westphalia | {{Metadata Population DE-NW}} | 2023-12-31 |
Rhineland-Palatinate | {{Metadata Population DE-RP}} | 2022-12-31 |
Saarland | {{Metadata Population DE-SL}} | 2022-12-31 |
Saxony | {{Metadata Population DE-SN}} | 2022-12-31 |
Saxony-Anhalt | {{Metadata Population DE-ST}} | 2022-12-31 |
Thuringia | {{Metadata Population DE-TH}} | 2022-12-31 |