टेम्पलेट:Infobox Swiss town/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Bjankuloski06en~enwiki
mk
cats from template, wikitables
लाइन 1:
{{documentation subpage}}
 
This is the infobox for articles about specific [[municipalities of Switzerland]]. There are more than 2700 articles using it.
 
Former municipalities use "type= former".
 
For a sample use, see [[Aarau]].
 
==Tests for updates==
Line 18 ⟶ 20:
Many infoboxes have been converted from the German or the French language wikipedia. The following table lists fields are (or used to be) equivalent.
 
{| class="wikitable"
<table border style="border-collapse:collapse">
! [[Template:Infobox Swiss town|Field en:]] !! [[:de:Vorlage:Infobox Ort in der Schweiz|Field de:]] !! [[:fr:Modèle:Infobox Commune de Suisse|Field fr:]]
<tr>
|-
<th>[[:Template:Infobox Swiss town|Field en:]]
| subject_name= || NAME_ORT= or BILDPFAD_WAPPEN= || nomcommune= or drapeaucommune=
<th>[[:de:Vorlage:Infobox Ort in der Schweiz|Field de:]]
|-
<th>Field [[:fr:Modèle:Infobox Commune de Suisse|fr:]]
<tr><td>subject_name| (municipality_name= <td>) || NAME_ORT= || nomcommune=
|-
or BILDPFAD_WAPPEN= <td>nomcommune= or drapeaucommune=
| (imagepath_coa=) || BILDPFAD_WAPPEN= || drapeaucommune=
<tr><td bgcolor=lightgrey>(municipality_name=)
|-
<td>NAME_ORT= <td>nomcommune=
| (municipality_type=) || GEMEINDEART= ||
<tr><td bgcolor=lightgrey>(imagepath_coa=)
|-
<td>BILDPFAD_WAPPEN= <td>drapeaucommune=
| canton= || KANTON= || canton= or (lien_canton=&#124;affichage_canton=)
<tr><td bgcolor=lightgrey>(municipality_type=)
|-
<td>GEMEINDEART= <td>
| district= (with [[]]) || BEZIRK= (with [[]]) || district= or (lien_district=&#124;affichage_district=)
<tr><td>canton= <td>KANTON= <td>canton= or (lien_canton=|affichage_canton=)
|-
<tr><td>district=
| nd=&#124;nm=&#124;ed=&#124;em= || BREITENGRAD=&#124;LÄNGENGRAD= || longitude=&#124;latitude=
(with [[]]) <td>BEZIRK = (with [[]])<td>district= or (lien_district=|affichage_district=)
|-
<tr><td>nd=|nm=|ed=|em= <td>BREITENGRAD =|LÄNGENGRAD= <td>longitude=|latitude=
<tr><td>| postal_code= <td>PLZ || PLZ= <td>|| cp=
|-
<tr><td>municipal_code= <td>BFS = <td>no_OFS=
| municipal_code= || BFS= || no_OFS=
<tr><td>population= <td>EINWOHNER = <td>habitants=
|-
<tr><td>populationof= <td>STAND_EINWOHNER = <td>
| population= || EINWOHNER= || habitants=
<tr><td bgcolor=lightgrey>(populationdensity=)
|-
<td> <td>densité=
| populationof= || STAND_EINWOHNER= ||
<tr><td>area= <td>FLÄCHE = <td>superficie=
|-
<tr><td bgcolor=lightgrey>(area_magnitude=)
| (populationdensity=) || || densité=
<td> <td>
|-
<tr><td>altitude= <td>HÖHE = <td>altitude=
| area= || FLÄCHE= || superficie=
<tr><td>mayor=
|-
(with [[]]) <td> <td>syndic/maire=
| (area_magnitude=) || ||
<tr><td>website= <td>WEBSITE= <td>siteweb=
|-
<tr><td bgcolor=lightgrey>(map= (with [[]]))
| altitude= || HÖHE= || altitude=
<td>BILDPFAD_KARTE= <td>carte=
|-
<tr><td>places= <td> <td>localité=
| mayor= (with [[]]) || || syndic/maire=
<tr><td>neighboring_municipalities=
|-
<td> <td>communeslimitrophes=
| website= || WEBSITE= || siteweb=
<tr><td bgcolor=lightgrey>(language=)
|-
<td> <td>langue=
| (map= (with [[]])) || BILDPFAD_KARTE= || carte=
<tr><td>demonym= <td> <td>nom/gentilé=
|-
</table>
| 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:.
 
====Conversions====
{| class="wikitable"
<table border=1 style="border-collapse:collapse">
<tr><th! colspan="3>FROM <th" colspan=2>TO| From
! colspan="2" | To
<tr><th>[[language|l.]]<th>field<th>content <th>field <th>content
|-
<tr><td>de<td>BILDPFAD_WAPPEN= <td> <td>imagepath_coa= <td>
! language !! field !! content !! field !! content
<tr><td>de<td>STAND_EINWOHNER= <td>31. Dezember <td>populationof= <td>December
|-
</table>
| de || BILDPFAD_WAPPEN= || || imagepath_coa= ||
|-
| de || STAND_EINWOHNER= || 31. Dezember || populationof= || December
|}
 
==Current uses of fields==
Line 81 ⟶ 95:
*[[:fr:Modèle:Infobox Commune de Suisse]]
 
<includeonly>
[[Category:European city infobox templates|Swiss town]]
[[Category:Templates with coordinates fields|{{PAGENAME}}]]
[[Category:WikiProject Switzerland|*{{PAGENAME}}]]
 
[[als:Vorlage:Ort Schweiz]]
[[de:Vorlage:Infobox Ort in der Schweiz]]
[[eo:Ŝablono:KomunumoInformkesto komunumo en Svislando]]
[[es:Plantilla:ComunaFicha suizade localidad de Suiza]]
[[eu:Txantiloi:Suitzako udalerri infotaula]]
[[fr:Modèle:Infobox Commune de Suisse]]
[[it:Template:ComuniComune Svizzeri Tabellasvizzero]]
[[lmo:TemplateMudel:Infobox Swiss town]]
[[mk:Шаблон:Место во Швајцарија]]
[[nl:Sjabloon:ZwitserseGemeente]]
[[pt:Predefinição:Info/Comuna da Suíça]]
</includeonly>