This template displays only the year from Swiss population data, to allow correct formatting in the Swiss town infobox.

Usage

edit

The template uses the following syntax

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

Parameters

edit

Examples

edit

The three different date templates are shown

1) {{Swiss populations Y|CH-BE|0301}}

2) {{Swiss populations date|CH-BE|0301}}

3) {{Swiss populations YM|CH-BE|0301}}

returns

  • 1) 2020
  • 2) 31 December 2020
  • 3) December 2020

See also

edit