قالب:Swiss populations Y/doc

This template displays only the year from Swiss population data, 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 Y|CH-BE|0301}}

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

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

returns

  • 1) 2008
  • 3) December 2008

See also