跳转到内容

Template:Switzerland area

本页使用了标题或全文手工转换
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

Usage[编辑]

This template uses the Swiss area data template and can convert the values into km² or km² (sq mi) as well as indicate the year of the survey and create a reference. The format is

{{Swiss area|SFOS number|units=|year=|ref=}}

where units can be either

  • km=yes
  • mi=yes

If year=yes then it displays (based on the 2004/2009 survey) before the value. Year= can be omitted or left blank to display no text regarding the survey

To add an automatic reference:

Code Type
ref=m Municipality
ref=d District
ref=c Canton

Examples[编辑]

Entry Output Notes
{{Swiss area|1}} 791 This is the number of Hectacres in Aeugst am Albis
{{Swiss area|1|km=yes}} 7.91 This is the number of Square Kilometers in Aeugst am Albis
{{Swiss area|1|mi=yes}} 7.91 km2(3.05 sq mi) This is the number of Square Kilometers and Square Miles in Aeugst am Albis
{{Swiss area|1|mi=yes|year=yes}} (based on the 2004/09/16 survey) of   7.91 km2(3.05 sq mi) Includes date of the survey
{{Swiss area|1|mi=yes|ref=m}} 7.91 km2(3.05 sq mi)[1] Includes a reference for the area
{{Swiss area|1|mi=yes|year=yes|ref=m}} (based on the 2004/09/16 survey) of   7.91 km2(3.05 sq mi)[1] Includes both date and reference
{{Swiss area|1|mi=yes|year=fdjk}} (based on the 2004/09/16 survey) of   7.91 km2(3.05 sq mi) Includes date of the survey even with gibberish in year
{{Swiss area|9999|mi=yes|year=yes}} Incorrect Municipal Code 9999 Error due to non-existent SFOS code
{{Swiss area|BE|mi=yes}} 5,959.59 km2(2,301.01 sq mi) Area of the Canton of Bern
{{Swiss area|B1001|mi=yes}} 173.79 km2(67.10 sq mi) Area of the Broye District
  1. ^ 1.0 1.1 Arealstatistik Standard - Gemeindedaten nach 4 Hauptbereichen. bfs.admin.ch. Swiss Federal Statistical Office. [2018-02-14]. (原始内容存档于2023-03-25) (德语).