Vorlage:Infobox Gemeinde: Unterschied zwischen den Versionen
Aus Helvetia Wiki – Die Enzyklopädie der Schweiz
KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly> | <includeonly>{| class="wikitable" style="float:right; clear:right; width:315px; margin:0 0 1em 1em; font-size:90%;" | ||
{| class="wikitable" style="float:right; clear:right; width:315px; margin:0 0 1em 1em; font-size:90%;" | |||
|- | |- | ||
! colspan="2" style="font-size:120%; text-align:center;" | {{{NAME ORT|{{PAGENAME}}}}} | ! colspan="2" style="font-size:120%; text-align:center;" | {{{NAME ORT|{{PAGENAME}}}}} | ||
{{#if:{{{BILDPFAD WAPPEN|}}}| | {{#if:{{{BILDPFAD WAPPEN|}}}|{{!}}- | ||
{{!}}- | {{!}} colspan="2" style="text-align:center;" {{!}} [[Datei:{{{BILDPFAD WAPPEN}}}|120px|Wappen von {{{NAME ORT|{{PAGENAME}}}}}]]}} | ||
{{!}} colspan="2" style="text-align:center;" {{!}} [[Datei:{{{BILDPFAD WAPPEN}}}|120px|Wappen von {{{NAME ORT|{{PAGENAME}}}}}]] | {{#if:{{{BILDPFAD KARTE|}}}|{{!}}- | ||
}} | {{!}} colspan="2" style="text-align:center;" {{!}} [[Datei:{{{BILDPFAD KARTE}}}|290px|Lage von {{{NAME ORT|{{PAGENAME}}}}}]]}} | ||
{{#if:{{{BILDPFAD KARTE|}}}| | {{#if:{{{KANTON|}}}|{{!}}- | ||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;" {{!}} [[Datei:{{{BILDPFAD KARTE}}}|290px|Lage von {{{NAME ORT|{{PAGENAME}}}}}]] | |||
}} | |||
{{#if:{{{KANTON|}}}| | |||
{{!}}- | |||
! Kanton | ! Kanton | ||
{{!}} {{{KANTON}}} | {{!}} {{{KANTON}}}}} | ||
}} | {{#if:{{{BEZIRK|}}}|{{!}}- | ||
{{#if:{{{BEZIRK|}}}| | |||
{{!}}- | |||
! Bezirk | ! Bezirk | ||
{{!}} {{{BEZIRK}}} | {{!}} {{{BEZIRK}}}}} | ||
}} | {{#if:{{{WAHLKREIS|}}}|{{!}}- | ||
{{#if:{{{WAHLKREIS|}}}| | |||
{{!}}- | |||
! Wahlkreis | ! Wahlkreis | ||
{{!}} {{{WAHLKREIS}}} | {{!}} {{{WAHLKREIS}}}}} | ||
}} | {{#if:{{{GEMEINDE|}}}|{{!}}- | ||
{{#if:{{{GEMEINDE|}}}| | |||
{{!}}- | |||
! Gemeinde | ! Gemeinde | ||
{{!}} {{{GEMEINDE}}} | {{!}} {{{GEMEINDE}}}}} | ||
}} | {{#if:{{{BFS|}}}|{{!}}- | ||
{{#if:{{{BFS|}}}| | |||
{{!}}- | |||
! BFS-Nr. | ! BFS-Nr. | ||
{{!}} {{{BFS}}} | {{!}} {{{BFS}}}}} | ||
}} | {{#if:{{{PLZ|}}}|{{!}}- | ||
{{#if:{{{PLZ|}}}| | |||
{{!}}- | |||
! Postleitzahl | ! Postleitzahl | ||
{{!}} {{{PLZ}}} | {{!}} {{{PLZ}}}}} | ||
}} | {{#if:{{{BREITENGRAD|}}}|{{!}}- | ||
{{#if:{{{BREITENGRAD|}}}| | |||
{{!}}- | |||
! Koordinaten | ! Koordinaten | ||
{{!}} {{Coordinate|NS={{{BREITENGRAD}}}|EW={{{LÄNGENGRAD|}}}|type=city|region=CH|text=ja}} | {{!}} {{Coordinate|NS={{{BREITENGRAD}}}|EW={{{LÄNGENGRAD|}}}|type=city|region=CH|text=ja}}}} | ||
}} | {{#if:{{{HÖHE|}}}|{{!}}- | ||
{{#if:{{{HÖHE|}}}| | |||
{{!}}- | |||
! Höhe | ! Höhe | ||
{{!}} {{{HÖHE}}} m ü. M. | {{!}} {{{HÖHE}}} m ü. M.}} | ||
}} | {{#if:{{{FLÄCHE|}}}|{{!}}- | ||
{{#if:{{{FLÄCHE|}}}| | |||
{{!}}- | |||
! Fläche | ! Fläche | ||
{{!}} {{{FLÄCHE}}} km² | {{!}} {{{FLÄCHE}}} km²}} | ||
}} | {{#if:{{{EINWOHNER|}}}|{{!}}- | ||
{{#if:{{{EINWOHNER|}}}| | |||
{{!}}- | |||
! Einwohner | ! Einwohner | ||
{{!}} {{{EINWOHNER}}}{{#if:{{{STAND EINWOHNER|}}}|<br | {{!}} {{{EINWOHNER}}}{{#if:{{{STAND EINWOHNER|}}}|<br><small>Stand: {{{STAND EINWOHNER}}}</small>}}}} | ||
}} | {{#if:{{{EINWOHNERDICHTE|}}}|{{!}}- | ||
{{#if:{{{EINWOHNERDICHTE|}}}| | |||
{{!}}- | |||
! Einwohnerdichte | ! Einwohnerdichte | ||
{{!}} {{{EINWOHNERDICHTE}}} Einw./km² | {{!}} {{{EINWOHNERDICHTE}}} Einw./km²}} | ||
}} | {{#if:{{{AUSLÄNDERANTEIL|}}}|{{!}}- | ||
{{#if:{{{AUSLÄNDERANTEIL|}}}| | |||
{{!}}- | |||
! Ausländeranteil | ! Ausländeranteil | ||
{{!}} {{{AUSLÄNDERANTEIL}}} | {{!}} {{{AUSLÄNDERANTEIL}}}}} | ||
}} | {{#if:{{{GEMEINDEPRÄSIDENT|}}}|{{!}}- | ||
{{#if:{{{GEMEINDEPRÄSIDENT|}}}| | |||
{{!}}- | |||
! Gemeindepräsident | ! Gemeindepräsident | ||
{{!}} {{{GEMEINDEPRÄSIDENT}}} | {{!}} {{{GEMEINDEPRÄSIDENT}}}}} | ||
}} | {{#if:{{{STADTPRÄSIDENT|}}}|{{!}}- | ||
{{#if:{{{STADTPRÄSIDENT|}}}| | |||
{{!}}- | |||
! Stadtpräsident | ! Stadtpräsident | ||
{{!}} {{{STADTPRÄSIDENT}}} | {{!}} {{{STADTPRÄSIDENT}}}}} | ||
}} | {{#if:{{{WEBSITE|}}}|{{!}}- | ||
{{#if:{{{WEBSITE|}}}| | |||
{{!}}- | |||
! Website | ! Website | ||
{{!}} {{{WEBSITE}}} | {{!}} [https://{{{WEBSITE}}} {{{WEBSITE}}}]}} | ||
}} | |}</includeonly><noinclude> | ||
|} | |||
</includeonly><noinclude> | |||
{{Dokumentation}} | {{Dokumentation}} | ||
</noinclude> | </noinclude> | ||
Version vom 25. August 2026, 22:54 Uhr
Der Baustein Commonscat verweist auf eine Kategorie im freien Medienarchiv Wikimedia Commons.
Verwendung
{{Commonscat|Name der Commons-Kategorie|Angezeigter Name}}
Parameter
| Parameter | Beschreibung | Erforderlich |
|---|---|---|
1
|
Name der Kategorie auf Wikimedia Commons, ohne das Präfix Category:
|
Nein |
2
|
Text, der in der Verknüpfung angezeigt wird | Nein |
Wenn keine Parameter angegeben werden, verwendet die Vorlage den Namen der aktuellen Seite.
Beispiele
Mit zwei Parametern
{{Commonscat|Canton of Basel-Stadt|Kanton Basel-Stadt}}
Ergebnis:
Wikimedia Commons: Medien zu Kanton Basel-Stadt
Mit einem Parameter
{{Commonscat|Canton of Zurich}}
Ohne Parameter
{{Commonscat}}
In diesem Fall wird der aktuelle Seitenname als Name der Commons-Kategorie und als Linktext verwendet.
TemplateData
Erstellt einen Verweis auf eine Kategorie in Wikimedia Commons.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Commons-Kategorie | 1 | Name der Kategorie auf Wikimedia Commons ohne «Category:».
| Mehrzeiliger Text | vorgeschlagen |
| Anzeigename | 2 | Bezeichnung, die in der Verknüpfung angezeigt wird.
| Mehrzeiliger Text | optional |