Vorlage:Infobox Staat: Unterschied zwischen den Versionen

Aus Helvetia Wiki – Die Enzyklopädie der Schweiz
Markierung: Zurückgesetzt
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
 
Zeile 1: Zeile 1:
<includeonly><table class="infobox" style="width:340px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-collapse:collapse; background:#f8f9fa; color:#202122; font-size:90%; line-height:1.45;">
<tr>
<th colspan="2" style="padding:8px; text-align:center; font-size:135%; background:#eaecf0; border-bottom:1px solid #a2a9b1;">
{{{NAME-DEUTSCH|{{PAGENAME}}}}}
</th>
</tr>
{{#if:{{{NAME-AMTSSPRACHE|}}}{{{NAME-FRANZÖSISCH|}}}{{{NAME-ITALIENISCH|}}}{{{NAME-RÄTOROMANISCH|}}}|
<tr>
<td colspan="2" style="padding:6px 8px; text-align:center; border-bottom:1px solid #a2a9b1;">
{{#if:{{{NAME-AMTSSPRACHE|}}}|<div>{{{NAME-AMTSSPRACHE}}}</div>}}
{{#if:{{{NAME-FRANZÖSISCH|}}}|<div><i>{{{NAME-FRANZÖSISCH}}}</i></div>}}
{{#if:{{{NAME-ITALIENISCH|}}}|<div><i>{{{NAME-ITALIENISCH}}}</i></div>}}
{{#if:{{{NAME-RÄTOROMANISCH|}}}|<div><i>{{{NAME-RÄTOROMANISCH}}}</i></div>}}
</td>
</tr>
}}
{{#if:{{{BILD-FLAGGE|}}}{{{BILD-WAPPEN|}}}|
<tr>
<td colspan="2" style="padding:8px; text-align:center; border-bottom:1px solid #a2a9b1;">
<table style="width:100%; border:0; border-collapse:collapse; background:transparent;">
<tr>
{{#if:{{{BILD-FLAGGE|}}}|
<td style="width:50%; padding:4px; text-align:center; vertical-align:middle;">
[[Datei:{{{BILD-FLAGGE}}}{{!}}120px{{!}}rahmenlos{{!}}alt=Flagge]]
<br>
<small>{{#if:{{{ARTIKEL-FLAGGE|}}}|[[{{{ARTIKEL-FLAGGE}}}{{!}}Flagge]]|Flagge}}</small>
</td>
}}
{{#if:{{{BILD-WAPPEN|}}}|
<td style="width:50%; padding:4px; text-align:center; vertical-align:middle;">
[[Datei:{{{BILD-WAPPEN}}}{{!}}100px{{!}}rahmenlos{{!}}alt=Wappen]]
<br>
<small>{{#if:{{{ARTIKEL-WAPPEN|}}}|[[{{{ARTIKEL-WAPPEN}}}{{!}}Wappen]]|Wappen}}</small>
</td>
}}
</tr>
</table>
</td>
</tr>
}}
{{#if:{{{WAHLSPRUCH|}}}|
<tr>
<th style="width:42%; padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Wahlspruch</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">
{{{WAHLSPRUCH}}}
{{#if:{{{DEUTSCHE_ÜBERSETZUNG|}}}|<br><small>«{{{DEUTSCHE_ÜBERSETZUNG}}}»</small>}}
</td>
</tr>
}}
{{#if:{{{AMTSSPRACHE|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Amtssprachen</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{AMTSSPRACHE}}}</td>
</tr>
}}
{{#if:{{{HAUPTSTADT|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Hauptstadt</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{HAUPTSTADT}}}</td>
</tr>
}}
{{#if:{{{BUNDESSTADT|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Bundesstadt</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{BUNDESSTADT}}}</td>
</tr>
}}
{{#if:{{{GRÖSSTE-STADT|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Grösste Stadt</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{GRÖSSTE-STADT}}}</td>
</tr>
}}
{{#if:{{{STAATSFORM|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Staatsform</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{STAATSFORM}}}</td>
</tr>
}}
{{#if:{{{REGIERUNGSSYSTEM|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Regierungssystem</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{REGIERUNGSSYSTEM}}}</td>
</tr>
}}
{{#if:{{{STAATSOBERHAUPT|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Staatsoberhaupt</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{STAATSOBERHAUPT}}}</td>
</tr>
}}
{{#if:{{{REGIERUNGSCHEF|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Regierungschef</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{REGIERUNGSCHEF}}}</td>
</tr>
}}
{{#if:{{{PARLAMENT|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Parlament</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{PARLAMENT}}}</td>
</tr>
}}
{{#if:{{{FLÄCHE|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Fläche</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{FLÄCHE}}} km²</td>
</tr>
}}
{{#if:{{{EINWOHNER|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Einwohner</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">
{{{EINWOHNER}}}{{#if:{{{EINWOHNER-STAND|}}}|<br><small>Stand: {{{EINWOHNER-STAND}}}</small>}}
</td>
</tr>
}}
{{#if:{{{BEV-DICHTE|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Bevölkerungsdichte</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{BEV-DICHTE}}} Einwohner pro km²</td>
</tr>
}}
{{#if:{{{BEV-ZUNAHME|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Bevölkerungsentwicklung</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{BEV-ZUNAHME}}}</td>
</tr>
}}
{{#if:{{{WÄHRUNG|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Währung</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{WÄHRUNG}}}</td>
</tr>
}}
{{#if:{{{GRÜNDUNG|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Gründung</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{GRÜNDUNG}}}</td>
</tr>
}}
{{#if:{{{NATIONALHYMNE|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Nationalhymne</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{NATIONALHYMNE}}}</td>
</tr>
}}
{{#if:{{{NATIONALFEIERTAG|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Nationalfeiertag</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{NATIONALFEIERTAG}}}</td>
</tr>
}}
{{#if:{{{ZEITZONE|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Zeitzone</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{ZEITZONE}}}</td>
</tr>
}}
{{#if:{{{KFZ-KENNZEICHEN|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Kfz-Kennzeichen</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{KFZ-KENNZEICHEN}}}</td>
</tr>
}}
{{#if:{{{ISO-3166|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">ISO 3166</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{ISO-3166}}}</td>
</tr>
}}
{{#if:{{{INTERNET-TLD|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top; border-bottom:1px solid #eaecf0;">Internet-TLD</th>
<td style="padding:5px 7px; vertical-align:top; border-bottom:1px solid #eaecf0;">{{{INTERNET-TLD}}}</td>
</tr>
}}
{{#if:{{{TELEFON-VORWAHL|}}}|
<tr>
<th style="padding:5px 7px; text-align:left; vertical-align:top;">Telefonvorwahl</th>
<td style="padding:5px 7px; vertical-align:top;">{{{TELEFON-VORWAHL}}}</td>
</tr>
}}
</table></includeonly><noinclude>
Diese Vorlage erzeugt eine Infobox für Staaten.
<includeonly><table class="infobox" style="width:340px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-collapse:collapse; background:#f8f9fa; color:#202122; font-size:90%; line-height:1.45;">
<includeonly><table class="infobox" style="width:340px; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-collapse:collapse; background:#f8f9fa; color:#202122; font-size:90%; line-height:1.45;">
<tr>
<tr>
Zeile 463: Zeile 252:


Nicht verwendete Parameter können leer bleiben oder vollständig entfernt werden.
Nicht verwendete Parameter können leer bleiben oder vollständig entfernt werden.
== Hinweis ==
Die Vorlage verwendet die Parserfunktion <code>#if</code>. Dafür muss die MediaWiki-Erweiterung <code>ParserFunctions</code> aktiviert sein.
[[Kategorie:Vorlage:Infobox]]
[[Kategorie:Vorlage:Staat]]
</noinclude>


== Hinweis ==
== Hinweis ==

Aktuelle Version vom 21. Juli 2026, 09:45 Uhr

Diese Vorlage erzeugt eine Infobox für Staaten.

Verwendung

{{Infobox Staat
|NAME-DEUTSCH =
|NAME-AMTSSPRACHE =
|NAME-FRANZÖSISCH =
|NAME-ITALIENISCH =
|NAME-RÄTOROMANISCH =
|BILD-FLAGGE =
|ARTIKEL-FLAGGE =
|BILD-WAPPEN =
|ARTIKEL-WAPPEN =
|WAHLSPRUCH =
|DEUTSCHE_ÜBERSETZUNG =
|AMTSSPRACHE =
|HAUPTSTADT =
|BUNDESSTADT =
|GRÖSSTE-STADT =
|STAATSFORM =
|REGIERUNGSSYSTEM =
|STAATSOBERHAUPT =
|REGIERUNGSCHEF =
|PARLAMENT =
|FLÄCHE =
|EINWOHNER =
|EINWOHNER-STAND =
|BEV-DICHTE =
|BEV-ZUNAHME =
|WÄHRUNG =
|GRÜNDUNG =
|NATIONALHYMNE =
|NATIONALFEIERTAG =
|ZEITZONE =
|KFZ-KENNZEICHEN =
|ISO-3166 =
|INTERNET-TLD =
|TELEFON-VORWAHL =
}}

Nicht verwendete Parameter können leer bleiben oder vollständig entfernt werden.

Hinweis

Die Vorlage verwendet die Parserfunktion #if. Dafür muss die MediaWiki-Erweiterung ParserFunctions aktiviert sein.