Template:Swiss populations YM/doc

< Template:Swiss populations YM

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

Usage

The template uses the following syntax

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

Parameters

Examples

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 2017
  • 2) 31 December 2017
  • 3) 2017

See also