साँचा:Swiss populations/doc

मुक्त ज्ञानकोश विकिपीडिया से
Jump to navigation Jump to search

This template displays the municipal or district population from Swiss population data.

Usage[संपादित करें]

The template uses the following syntax

{{Swiss populations|ISO code|SFOS number}}

Parameters[संपादित करें]

Example[संपादित करें]

{{Swiss populations|CH-BE|0301}}

returns 4,015

which is the population in Aarberg.

While an incorrect SFOS number (for example: Oberönz formerly a municipality, now a village in Herzogenbuchsee)

{{Swiss populations|CH-BE|0984}}   

returns <

and logs the failure to Category:Template:Swiss populations data/Failure

See also[संपादित करें]