This template displays the date from Swiss population data without the day, to allow correct formatting in the Swiss town infobox.

The template uses the following syntax

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

Parameters

change

Examples

change

The three different date templates are shown

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

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

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

returns

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

See also

change