|
|
Zeile 1: |
Zeile 1: |
− | <noinclude>{{Vorlage|Infobox}}
| + | #WEITERLEITUNG [[Vorlage:Infobox Präsidentschaftswahl]] |
− | | + | |
− | Für eine Infobox für Präsidentschaftswahlen.
| + | |
− | | + | |
− | ==Verwendung==
| + | |
− | Für die Verwendung füge folgendes zu Beginn eines Artikels ein:
| + | |
− | | + | |
− | <pre>
| + | |
− | {{Infobox Präsidentschaftswahl
| + | |
− | | Wahlnummer =
| + | |
− | | Wahlvorher =
| + | |
− | | Wahlnachher =
| + | |
− | | Wahldatum =
| + | |
− | | + | |
− | | Kandidat1Bild =
| + | |
− | | Kandidat1Name =
| + | |
− | | Kandidat1Vize =
| + | |
− | | Kandidat1Farbe =
| + | |
− | | Kandidat1Partei =
| + | |
− | | Kandidat1Wahlmänner =
| + | |
− | | Kandidat1Stimmen =
| + | |
− | | Kandidat1Prozent =
| + | |
− | | Karte1Legende =
| + | |
− | | Karte1Namen =
| + | |
− | | + | |
− | | Kandidat2Bild =
| + | |
− | | Kandidat2Name =
| + | |
− | | Kandidat2Vize =
| + | |
− | | Kandidat2Farbe =
| + | |
− | | Kandidat2Partei =
| + | |
− | | Kandidat2Wahlmänner =
| + | |
− | | Kandidat2Stimmen =
| + | |
− | | Kandidat2Prozent =
| + | |
− | | Karte2Legende =
| + | |
− | | Karte2Namen =
| + | |
− | | + | |
− | | Karte =
| + | |
− | | Vorgänger =
| + | |
− | | Vorgängerpartei =
| + | |
− | | Gewinner =
| + | |
− | | Gewinnerpartei =
| + | |
− | }}
| + | |
− | </pre>
| + | |
− | | + | |
− | Beachte, dass ''nicht'' alle Felder ausgefüllt werden müssen, sondern eine default-Einstellung seitens der Vorlage bereits haben. Die sonstigen Parameter sollten nur ausgefüllt werden, wenn andere Darstellungen explizit gewünscht sind.
| + | |
− | Bei der Einbindung wird die Artikelseite automatisch in Kategorie:Partei einkategorisiert. Selbiges trifft auf ehemalige Parteien zu. Eine händische Kategorisierung muss ''nicht'' vorgenommen werden.
| + | |
− | | + | |
− | == Erläuterung der Parameter ==
| + | |
− | | + | |
− | {| class="wikitable"
| + | |
− | |-
| + | |
− | ! Parameter
| + | |
− | ! Erläuterung
| + | |
− | ! Beispiel
| + | |
− | |-
| + | |
− | |'''folgt'''
| + | |
− | |folgt
| + | |
− | |{{ic|folgt}}
| + | |
− | |-
| + | |
− | |}
| + | |
− | | + | |
− | ==Ergebnis==
| + | |
− | <pre>{{Infobox Präsidentschaftswahl
| + | |
− | | Wahlnummer = 59
| + | |
− | | Wahlvorher = 2016
| + | |
− | | Wahlnachher = Mai 2020
| + | |
− | | Wahldatum = März 2020
| + | |
− | | + | |
− | | Kandidat1Bild = Hillary_Clinton_Arizona_2016.jpg
| + | |
− | | Kandidat1Name = Gisela Cavinsale
| + | |
− | | Kandidat1Vize = Test 1
| + | |
− | | Kandidat1Farbe = #0582B4
| + | |
− | | Kandidat1Partei = Deocratic Party
| + | |
− | | Kandidat1Wahlmänner = 20
| + | |
− | | Kandidat1Stimmen = 35
| + | |
− | | Kandidat1Prozent = 90,0
| + | |
− | | Karte1Legende = x Staaten: Rest
| + | |
− | | Karte1Namen = Cavinsale/Test1
| + | |
− | | + | |
− | | Kandidat2Bild = Donald_Trump_by_Gage_Skidmore_10.jpg
| + | |
− | | Kandidat2Name = Test 2
| + | |
− | | Kandidat2Vize = Test 3
| + | |
− | | Kandidat2Farbe = #AA141A
| + | |
− | | Kandidat2Partei = Republican Party
| + | |
− | | Kandidat2Wahlmänner = 10
| + | |
− | | Kandidat2Stimmen = 32
| + | |
− | | Kandidat2Prozent = 10,0
| + | |
− | | Karte2Legende = 1 Staat: Texas
| + | |
− | | Karte2Namen = Test2/Test3
| + | |
− | | + | |
− | | Karte = ElectoralCollege2008.svg
| + | |
− | | Vorgänger = Donald Trump
| + | |
− | | Vorgängerpartei = Republican Party
| + | |
− | | Gewinner = Gisela Cavinsale
| + | |
− | | Gewinnerpartei = Deocratic Party
| + | |
− | }}</pre>
| + | |
− | | + | |
− | </noinclude>
| + | |
− | | + | |
− | {{Infobox Präsidentschaftswahl
| + | |
− | | Wahlnummer = 59
| + | |
− | | Wahlvorher = 2016
| + | |
− | | Wahlnachher = Mai 2020
| + | |
− | | Wahldatum = März 2020
| + | |
− | | + | |
− | | Kandidat1Bild = Hillary_Clinton_Arizona_2016.jpg
| + | |
− | | Kandidat1Name = Gisela Cavinsale
| + | |
− | | Kandidat1Vize = Test 1
| + | |
− | | Kandidat1Farbe = #0582B4
| + | |
− | | Kandidat1Partei = Deocratic Party
| + | |
− | | Kandidat1Wahlmänner = 20
| + | |
− | | Kandidat1Stimmen = 35
| + | |
− | | Kandidat1Prozent = 90,0
| + | |
− | | Karte1Legende = x Staaten: Rest
| + | |
− | | Karte1Namen = Cavinsale/Test1
| + | |
− | | + | |
− | | Kandidat2Bild = Donald_Trump_by_Gage_Skidmore_10.jpg
| + | |
− | | Kandidat2Name = Test 2
| + | |
− | | Kandidat2Vize = Test 3
| + | |
− | | Kandidat2Farbe = #AA141A
| + | |
− | | Kandidat2Partei = Republican Party
| + | |
− | | Kandidat2Wahlmänner = 10
| + | |
− | | Kandidat2Stimmen = 32
| + | |
− | | Kandidat2Prozent = 10,0
| + | |
− | | Karte2Legende = 1 Staat: Texas
| + | |
− | | Karte2Namen = Test2/Test3
| + | |
− | | + | |
− | | Karte = ElectoralCollege2008.svg
| + | |
− | | Vorgänger = Donald Trump
| + | |
− | | Vorgängerpartei = Republican Party
| + | |
− | | Gewinner = Gisela Cavinsale
| + | |
− | | Gewinnerpartei = Deocratic Party
| + | |
− | }}
| + | |
− | | + | |
− | | + | |
− | | + | |
− | == Vorlage ==
| + | |
− | | + | |
− | <onlyinclude><includeonly>{| class="" style="width:22em; font-size:90%; width:135px;"
| + | |
− | | colspan="12" style="text-align:center;" | {{#if: {{{Wahlvorher|}}}|‹ [[Präsidentschaftswahl in den Vereinigten Staaten {{{Wahlvorher|}}}|{{{Wahlvorher|}}}]] • }}<span class="flagicon">[[Bild:https://astor.mn-wiki.de/images/thumb/2/24/Astorflagge.jpg/300px-Astorflagge.jpg|50px|border|link=|Flagge der USA]]</span> • [[Präsidentschaftswahl in den Vereinigten Staaten {{{Wahlnachher|}}}|{{{Wahlnachher|}}}]] ›
| + | |
− | |-
| + | |
− | | colspan="12" style="text-align:center; font-size:140%;" |<b class="summary">{{{Wahlnummer|}}}. Präsidentschaftswahl</b>
| + | |
− | |-
| + | |
− | | colspan="12" style="text-align:center;" | '''{{{Wahldatum|}}}'''
| + | |
− | |-
| + | |
− | | colspan="12"|<hr />
| + | |
− | |-
| + | |
− | | + | |
− | | colspan="12" | <div style="background:{{{Kandidat1Farbe}}}; width:270px; height:5px;"></div>
| + | |
− | |-
| + | |
− | | colspan="3" rowspan="5" style="align:center; vertical-align:bottom;" | [[Datei:{{{Kandidat1Bild|Photo-request.svg}}}|60px|center]]
| + | |
− | | colspan="9" |{{{Kandidat1Partei|}}}
| + | |
− | |-
| + | |
− | | colspan="9" |'''{{{Kandidat1Name|}}}''' / {{{Kandidat1Vize|}}}
| + | |
− | |-
| + | |
− | | colspan="5" |[[Electoral College|Wahlmänner]]
| + | |
− | | colspan="4" style="text-align:right;"|{{{Kandidat1Wahlmänner|}}}<small> </small>
| + | |
− | |-
| + | |
− | | colspan="4" |[[Popular Vote|Stimmen]]
| + | |
− | | colspan="5" style="text-align:right;"|{{{Kandidat1Stimmen|}}}<small> </small>
| + | |
− | |-
| + | |
− | | colspan="6" style="height:1px;width:50%;border: 1px solid black;" |<div style="background:{{{Kandidat1Farbe}}};width:{{formatnum:{{{Kandidat1Prozent|}}}}}%;">  </div>
| + | |
− | | colspan="3" style="text-align:right; width:25%;"|{{formatnum:{{{Kandidat1Prozent|}}}}} %
| + | |
− | |-
| + | |
− | | + | |
− | {{#if: {{{Kandidat2Name|}}} |
| + | |
− | {{!}} colspan="12" {{!}} <div style="background:{{{Kandidat2Farbe}}}; width:270px; height:5px;"></div>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="3" rowspan="5" style="align:center; vertical-align:bottom;" {{!}} [[Datei:{{{Kandidat2Bild|Photo-request.svg}}}|60px|center]]
| + | |
− | {{!}} colspan="9" {{!}}{{{Kandidat2Partei|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="9" {{!}}'''{{{Kandidat2Name|}}}''' / {{{Kandidat2Vize|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="5" {{!}}Wahlmänner
| + | |
− | {{!}} colspan="4" style="text-align:right;"{{!}}{{{Kandidat2Wahlmänner|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="4" {{!}}Stimmen
| + | |
− | {{!}} colspan="5" style="text-align:right;"{{!}}{{{Kandidat2Stimmen|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="6" style="height:1px;width:50%;border: 1px solid black;" {{!}}<div style="background:{{{Kandidat2Farbe}}};width:{{formatnum:{{{Kandidat2Prozent|}}}}}%;">  </div>
| + | |
− | {{!}} colspan="3" style="text-align:right; width:25%;"{{!}}{{formatnum:{{{Kandidat2Prozent|}}}}} %
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | | + | |
− | {{#if: {{{Kandidat3Name|}}} |
| + | |
− | {{!}} colspan="12" {{!}} <div style="background:{{{Kandidat3Farbe|black}}}; width:270px; height:5px;"></div>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="3" rowspan="5" style="align:center; vertical-align:bottom;" {{!}} [[Datei:{{{Kandidat3Bild|Photo-request.svg}}}|60px|center]]
| + | |
− | {{!}} colspan="9" {{!}}{{{Kandidat3Partei|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="9" {{!}}'''{{{Kandidat3Name|}}}''' / {{{Kandidat3Vize|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="5" {{!}}Wahlmänner
| + | |
− | {{!}} colspan="4" style="text-align:right;"{{!}}{{{Kandidat3Wahlmänner|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="4" {{!}}Stimmen
| + | |
− | {{!}} colspan="5" style="text-align:right;"{{!}}{{{Kandidat3Stimmen|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="6" style="height:1px;width:50%;border: 1px solid black;" {{!}}<div style="background:{{{Kandidat3Farbe|black}}};width:{{{Kandidat3Prozent|}}}%;">  </div>
| + | |
− | {{!}} colspan="3" style="text-align:right; width:25%;"{{!}}{{formatnum:{{{Kandidat3Prozent|}}}}} %
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | | + | |
− | {{#if: {{{Kandidat4Name|}}} |
| + | |
− | {{!}} colspan="12" {{!}} <div style="background:{{{Kandidat4Farbe|black}}}; width:270px; height:5px;"></div>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="3" rowspan="5" style="align:center; vertical-align:bottom;" {{!}} [[Datei:{{{Kandidat4Bild|Photo-request.svg}}}|60px|center]]
| + | |
− | {{!}} colspan="9" {{!}}{{{Kandidat4Partei|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="9" {{!}}'''{{{Kandidat4Name|}}}''' / {{{Kandidat4Vize|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="5" {{!}}Wahlmänner
| + | |
− | {{!}} colspan="4" style="text-align:right;"{{!}}{{{Kandidat4Wahlmänner|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="4" {{!}}Stimmen
| + | |
− | {{!}} colspan="5" style="text-align:right;"{{!}}{{{Kandidat4Stimmen|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="6" style="height:1px;width:50%;border: 1px solid black;" {{!}}<div style="background:{{{Kandidat4Farbe|black}}};width:{{{Kandidat4Prozent|}}}%;">  </div>
| + | |
− | {{!}} colspan="3" style="text-align:right; width:25%;"{{!}}{{formatnum:{{{Kandidat4Prozent|}}}}} %
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | | + | |
− | {{#if: {{{Kandidat5Name|}}} |
| + | |
− | {{!}} colspan="12" {{!}} <div style="background:{{{Kandidat5Farbe|black}}}; width:270px; height:5px;"></div>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="3" rowspan="5" style="align:center; vertical-align:bottom;" {{!}} [[Datei:{{{Kandidat5Bild|Photo-request.svg}}}|60px|center]]
| + | |
− | {{!}} colspan="9" {{!}}{{{Kandidat5Partei|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="9" {{!}}'''{{{Kandidat5Name|}}}''' / {{{Kandidat5Vize|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="5" {{!}}Wahlmänner
| + | |
− | {{!}} colspan="4" style="text-align:right;"{{!}}{{{Kandidat5Wahlmänner|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="4" {{!}}Stimmen
| + | |
− | {{!}} colspan="5" style="text-align:right;"{{!}}{{{Kandidat5Stimmen|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="6" style="height:1px;width:50%;border: 1px solid black;" {{!}}<div style="background:{{{Kandidat5Farbe|black}}};width:{{{Kandidat5Prozent|}}}%;">  </div>
| + | |
− | {{!}} colspan="3" style="text-align:right; width:25%;"{{!}}{{formatnum:{{{Kandidat5Prozent|}}}}} %
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | | + | |
− | {{#if: {{{Kandidat6Name|}}} |
| + | |
− | {{!}} colspan="12" {{!}} <div style="background:{{{Kandidat6Farbe|black}}}; width:270px; height:5px;"></div>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="3" rowspan="5" style="align:center; vertical-align:bottom;" {{!}} [[Datei:{{{Kandidat6Bild|Photo-request.svg}}}|60px|center]]
| + | |
− | {{!}} colspan="9" {{!}}{{{Kandidat6Partei|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="9" {{!}}'''{{{Kandidat6Name|}}}''' / {{{Kandidat6Vize|}}}
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="5" {{!}}Wahlmänner
| + | |
− | {{!}} colspan="4" style="text-align:right;"{{!}}{{{Kandidat6Wahlmänner|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="4" {{!}}Stimmen
| + | |
− | {{!}} colspan="5" style="text-align:right;"{{!}}{{{Kandidat6Stimmen|}}}<small> </small>
| + | |
− | {{!}}-
| + | |
− | {{!}} colspan="6" style="height:1px;width:50%;border: 1px solid black;" {{!}}<div style="background:{{{Kandidat6Farbe|black}}};width:{{{Kandidat6Prozent|}}}%;">  </div>
| + | |
− | {{!}} colspan="3" style="text-align:right; width:25%;"{{!}}{{formatnum:{{{Kandidat6Prozent|}}}}} %
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | | + | |
− | | colspan="12"|<hr />
| + | |
− | |-
| + | |
− | | colspan="12" style="text-align:center; font-size:110%;"| '''Wahlergebnisse nach Bundesstaat'''
| + | |
− | |-
| + | |
− | | colspan="12" style=" text-align:center;"| {{#ifexist:Media:{{{Karte|}}}|[[Datei:{{{Karte|}}}|270px|Karte der Wahlergebnisse nach Bundesstaat]]}}
| + | |
− | |-
| + | |
− | | colspan="6" style="text-align:left;" | <div><span style="margin:0px; padding-bottom:1px; font-size:90%; display:block;"><span style="border: 1px solid; border: black; background-color:{{{Kandidat1Farbe|white}}}; color:white"> {{{Karte1Legende|}}} </span><br />{{{Karte1Namen|}}}</span></div>
| + | |
− | | colspan="6" | <div><span style="margin:0px; padding-bottom:1px; font-size:90%; display:block;"><span style="border: 1px solid; border: black; background-color:{{{Kandidat2Farbe|white}}}; color:white"> {{{Karte2Legende|}}} </span><br />{{{Karte2Namen|}}}</span></div>
| + | |
− | |-
| + | |
− | {{#if: {{{Kandidat3Name|}}} |
| + | |
− | {{!}} colspan="6" style="text-align:left;" {{!}} <div><span style="margin:0px; padding-bottom:1px; font-size:90%; display:block;"><span style="border: 1px solid; border: black; background-color:{{{Kandidat3Farbe|white}}}; color:white"> {{{Karte3Legende|}}} </span><br />{{{Karte3Namen|}}}</span></div>
| + | |
− | {{#if: {{{Kandidat4Name|}}} |
| + | |
− | {{!}} colspan="6" style="text-align:left;" {{!}} <div><span style="margin:0px; padding-bottom:1px; font-size:90%; display:block;"><span style="border: 1px solid; border: black; background-color:{{{Kandidat4Farbe|white}}}; color:white"> {{{Karte4Legende|}}} </span><br />{{{Karte4Namen|}}}</span></div>
| + | |
− | }}
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | {{#if: {{{Kandidat5Name|}}} |
| + | |
− | {{!}} colspan="6" style="text-align:left;" {{!}} <div><span style="margin:0px; padding-bottom:1px; font-size:90%; display:block;"><span style="border: 1px solid; border: black; background-color:{{{Kandidat5Farbe|white}}}; color:white"> {{{Karte5Legende|}}} </span><br />{{{Karte5Namen|}}}</span></div>
| + | |
− | {{#if: {{{Kandidat6Name|}}} |
| + | |
− | {{!}} colspan="6" style="text-align:left;" {{!}} <div><span style="margin:0px; padding-bottom:1px; font-size:90%; display:block;"><span style="border: 1px solid; border: black; background-color:{{{Kandidat6Farbe|white}}}; color:white"> {{{Karte6Legende|}}} </span><br />{{{Karte6Namen|}}}</span></div>
| + | |
− | }}
| + | |
− | {{!}}-
| + | |
− | }}
| + | |
− | | colspan="12"|<hr />
| + | |
− | |-
| + | |
− | | colspan="12" style="text-align:center; font-size:110%;"| '''[[Präsident der Vereinigten Staaten]]'''
| + | |
− | |-
| + | |
− | | colspan="6"|<div style="text-align:left; text-size:80%; float:left;">'''Vor der Wahl'''<br />{{{Vorgänger|}}}<br /><small>{{{Vorgängerpartei|}}}</small></div>
| + | |
− | | colspan="6"|<div style="text-align:right; text-size:80%; float:right;">'''Gewählt'''<br />{{{Gewinner|}}}<br /><small>{{{Gewinnerpartei|}}}</small></div>
| + | |
− | |-
| + | |
− | |}
| + | |
− | </onlyinclude></includeonly>
| + | |