Format:Swiss populations
Documentație format
Această documentație este adusă de la pagina Format:Swiss populations/doc.
|
[lectură]
[modificare]
[istoric] |
Acest format are rolul de a afișa populația municipală sau districtuală din categoria Date despre populația Elveției.
Utilizare
Acest format utilizează următoarea sintaxă,
{{Swiss populations|ISO code|SFOS number}}
Parametri
- 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.
Exemplu
{{Swiss populations|CH-BE|0301}}
afișează Format:Swiss populations data CH-BE
ceea ce reprezintă populația din Aarberg.
Similar, un număr incorect (de tipul SFOS) -- un exemplu ar fi, Oberönz, o fostă municipalitate, actualmente un sat din Herzogenbuchsee)
{{Swiss populations|CH-BE|0984}}
returns Format:Swiss populations data CH-BE
and logs the failure to Category:Template:Swiss populations data/Failure
Vedeți și
- Template:Swiss populations ref provides the reference for the population
- 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
- Template:Swiss populations NC provides the population without any formatting, for use in headers
- Template:Swiss populations sub provides a sub-total population for sub-districts