বিষয়বস্তুতে চলুন

টেমপ্লেট:Infobox Swiss town/নথি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

This is the infobox for articles about specific municipalities of Switzerland. There are more than 2700 articles using it.

For a sample use, see Aarau.

হালনাগাদের জন্য পরীক্ষা

[সম্পাদনা]

Before updating the infobox, please try the updates first on the test version at

and view the results in the various skins at

ফাঁকা টেমপ্লেট

[সম্পাদনা]

NOTE: population figures, year and month of the population estimate and a population reference are now added automatically thanks to the templates from Category:Swiss populations data templates. For former municipalities (villages); use either the population from before the merger, N/A or leave the population field blank. The current list of recognized municipalities can be found at the Swiss Federal Statistical Office in either German or French. Look for the Excel file called "Amtliches Gemeindeverzeichnis der Schweiz - MS-Excel Version" (জার্মান) or "Répertoire officiel des communes de Suisse - Version MS-Excel" (ফরাসি).

NOTE: area is now added automatically thanks to the Swiss area data template. The area field is still retained in the template as a backup in case the template returns an error. Editing the area will have no effect unless the SFOS number is incorrect or the municipality_type is set to former.

{{Infobox Swiss town
| subject_name         = <!-- English name of the municipality -->
| municipality_type    = <!-- use 'former' for municipalities that were merged and no longer exist *1 -->
| imagepath_coa        = <!-- coat of arms of the municipality, "File:" is included automatically. -->
| pixel_coa            =
| image          = <!-- a picture of the municipality, "File:" is included automatically. -->
| caption        = <!-- a caption describing the photo -->
| snow_image           = <!-- a snow-covered photo of the municipality that will replace the main one for the first six months of the year -->
| snow_imagecaption    = <!-- a caption describing the snowy picture, will be shown along with it in from January to June -->
| map                  = <!-- if no other map is found automatically, this will link a map at the bottom of the infobox *2 -->
| canton               = <!-- English name of the canton without "Canton of" -->
| iso-code-region      = <!-- ISO 3166-2:CH code, e.g. 'CH-SG' for St. Gallen -->
| district             = <!-- Needs to be linked, if the canton is not subdivided in districts just write 'n.a.' -->
| within_municipality  = <!-- For villages and former municipalities, to specify which municipality they're part of -->
| lat_d  = <!-- coordinates, degrees north, e.g. 47 --> | lat_m  = <!-- coordinates, minutes north, e.g. 13 -->
| long_d = <!-- coordinates, degrees east, e.g.  8  --> | long_m = <!-- coordinates, minutes east, e.g.  49 -->
| postal_code          =
| municipality_code    = <!-- the four-digit SFOS number. Used to retrieve population figures and to link SFSO statistics, plus additional statistics for a number of cantons *3 -->
| area                 = <!-- Used if the municipality_code is incorrect, no longer valid or municipality_type is former.  Area, in km2. XXX.XX (no commas or other text) -->
| elevation            = <!-- in m (no commas or other text) -->
| elevation_description=
| population            = <!-- This parameter must be here to create the POPULATION field in the infobox.  However, it is only used if the municipality_code is incorrect, no longer valid or municipality_type is former.   -->
| populationof          = <!-- Used if the municipality_code is incorrect, no longer valid or municipality_type is former.-->
| popofyear             =
| highest              = <!-- Highest point in the municipality -->
| highest_m            = <!-- in m (no commas or other text) -->
| lowest               = <!-- Lowest point in the municipality -->
| lowest_m             = <!-- in m (no commas or other text) -->
| position             = <!-- 'left' moves the label in the locator map to the left. Useful for cities in the east (e.g. Poschiavo) -->
| website              = <!-- e.g. www.rapperswil-jona.ch – if none is specified the template will link 'subject_name.ch', which usually works -->
| mayor                =
| mayor_asof           =
| mayor_party          =
| mayor_title          =
| list_of_mayors       =
| places               = <!-- a list of villages and other places within the municipality, particularly useful for municipalities created through mergers -->
| demonym              =
| neighboring_municipalities =
}}

ত্রুটি

[সম্পাদনা]

Any articles with errors caused by incorrect information in the infobox will appear in Category:Swiss populations data templates/Failure

বাত্সরিক হালনাগাদ

[সম্পাদনা]

This template draws data from several sources. These data include the SFOS numbers, population and area. Some of these values will change on a yearly basis.

Template:Swiss area data check Arealstatistik Standard - Kantonsdaten nach 4 Hauptbereichen (Area statistics) for updates
Template:SFOS2Municipality check Amtliches Gemeindeverzeichnis (Community Directory) for changes to SFOS numbers and mergers.
Category:Swiss populations data templates check Swiss Federal Statistical Office - STAT-TAB online database and update for each canton.

ক্ষেত্র

[সম্পাদনা]

Many infoboxes have been converted from the German or the French language wikipedia. The following table lists fields are (or used to be) equivalent.

Field en: Field de: Field fr:
subject_name= NAME_ORT= or BILDPFAD_WAPPEN= nomcommune= or drapeaucommune=
(municipality_name=) NAME_ORT= nomcommune=
(imagepath_coa=) BILDPFAD_WAPPEN= drapeaucommune=
(municipality_type=) GEMEINDEART=
canton= KANTON= canton= or (lien_canton=|affichage_canton=)
district= (with [[]]) BEZIRK= (with [[]]) district= or (lien_district=|affichage_district=)
nd=|nm=|ed=|em= BREITENGRAD=|LÄNGENGRAD= longitude=|latitude=
postal_code= PLZ= cp=
municipal_code= BFS= no_OFS=
population= EINWOHNER= habitants=
populationof= STAND_EINWOHNER=
(populationdensity=) densité=
area= FLÄCHE= superficie=
(area_magnitude=)
altitude= HÖHE= altitude=
mayor= (with [[]]) syndic/maire=
website= WEBSITE= siteweb=
(map= (with [[]])) BILDPFAD_KARTE= carte=
places= localité=
neighboring_municipalities= communeslimitrophes=
(language=) langue=
demonym= nom/gentilé=

Fields with names listed in parentheses are not currently displayed in this template and might never be, but they are assigned a name to facilitate conversion from fr: and de:.

From To
language field content field content
de BILDPFAD_WAPPEN= imagepath_coa=
de STAND_EINWOHNER= Dezember 2006 populationof= December 2006

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

সাব-টেমপ্লেট

[সম্পাদনা]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

অনুগ্রহ করে, এই সাব-টেমপ্লেট দৃষ্টান্তটি অপসারণ করবেন না।

শ্রেণী

[সম্পাদনা]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

অনুগ্রহ করে, নামান্তর বা এসব শ্রেণীসমূহকে অপসারণ কিংবা তাদের ব্যবহারকৃত আশ্রয়ী উপাদানসমূহকে লুকায়িত করবেন না।

স্পষ্টতা

[সম্পাদনা]

স্থানাঙ্ক দেওয়ার সময়, অনুগ্রহ করে, উপযুক্ত স্তরের স্পষ্টতা ব্যবহার করুন। {{coord}} -তে |name= প্যারামিটার ব্যবহার করবেন না

আরও দেখুন

[সম্পাদনা]