Template:Swiss populations ref/doc
From HandWiki
< Template:Swiss populations ref
Revision as of 20:46, 26 April 2020 by imported>Vanisaac (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
![]() | This is a documentation subpage for Template:Swiss populations ref It may contain usage information, categories and other content that is not part of the original template page. |
This template displays the reference for the population from Swiss population data.
Usage
The template uses the following syntax
{{Swiss populations ref|ISO code|SFOS number}}
Parameters
- ISO code is the ISO code for Switzerland followed by a "-" and the ISO code for the Canton e.g.
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
{{Swiss populations ref|CH-BE|0301}}
returns Template:Swiss populations data CH-BE
References
See also
- Template:Swiss populations provides the actual population number
- Template:Swiss populations date provides the date that the population was recorded
- Template:Swiss populations YM returns only the year and month
- Template:Swiss populations Y returns only the year