Template:Swiss populations NC/doc
This is a documentation subpage for Template:Swiss populations NC. It may contain usage information, categories and other content that is not part of the original template page. |
This template displays the municipal population from Swiss population data without a comma, to allow correct formatting in the Switzerland municipality infobox.
Usage
changeThe template uses the following syntax
{{Swiss populations NC|ISO code|SFOS number}}
Parameters
change- ISO code is the ISO code for Switzerland followed by a "-" and the ISO code for the Canton eg.
CH-BE
would be for any municipality in the Canton of Bern. For a list of the 26 cantons, see List of Swiss Cantons. - SFOS number is the Community Identification Number for each municipality. It is found in the individual municipality's infobox. ex.
0351
is the code for Bern. Larger political organizations also have a SFOS number, for exampleB0246
is the number for the Bern-Mittelland administrative district.
Example
change{{Swiss populations NC|CH-BE|0301}}
returns 4626
See also
change- Template:Swiss populations provides the actual population number
- Template:Swiss populations ref provides the reference for the population
- Template:Swiss populations date provides the date that the population was recorded