Template:ParliamentaryElectionResults: Difference between revisions

From EarthMC
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{| class="wikitable" cellspacing="1" cellpadding="1" style="float:left; clear: right; margin: 0 0 .5em 1em;  width:{{{width|380px}}}; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5; background:#FFFFFF"
{| class="wikitable" cellspacing="1" cellpadding="1" style="margin: 0 0 .5em 1em;  width:{{{width|380px}}}; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5; background:#FFFFFF"
|+ {{{title|}}}
|+ style="text-align:center; font-size:150%;" | {{{title1|}}}
|<div>
|<div>
{| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
{| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
| colspan="5" style="text-align:center;" | {{{image|}}}
|- style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;"
! colspan="5" style="text-align:center;{{#if:{{{title2|}}}| |display:none;}}" | {{{title2|}}}
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="5" style="text-align:center;background-color:#;" {{!}}{{{image|}}}
{{!}}-
}}
|- style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;"
|- style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;"
! Party !! Votes !! % !! Seats !! +/-
! Party !! Votes !! % !! Seats !! +/-
Line 97: Line 103:
| <div>{{{invalidpercentage|}}}</div>
| <div>{{{invalidpercentage|}}}</div>
|- style="text-align:right;{{#if:{{{totalvotes2|}}}{{{totalpercentage2|}}}| |display:none;}}"
|- style="text-align:right;{{#if:{{{totalvotes2|}}}{{{totalpercentage2|}}}| |display:none;}}"
| style="text-align:left;" | <div>Valid votes</div>
| style="text-align:left;" | <div>'''Total votes'''</div>
| <div>{{{totalvotes2|}}}</div>
| <div>'''{{{totalvotes2|}}}'''</div>
| <div>{{{totalpercentage2|}}}</div>
| <div>'''{{{totalpercentage2|}}}'''</div>
|- style="text-align:right;{{#if:{{{registeredvoters|}}}{{{turnout|}}}| |display:none;}}"
|- style="text-align:right;{{#if:{{{registeredvoters|}}}{{{turnout|}}}| |display:none;}}"
| style="text-align:left;" | <div>Registered voters/turnout</div>
| style="text-align:left;" | <div>Registered voters/turnout</div>
Line 109: Line 115:
<pre>
<pre>
{{ParliamentaryElectionResults
{{ParliamentaryElectionResults
| title            =
| title1            =
| title2            =
| image            =
| image            =
| party1            =
| party1            =

Revision as of 11:44, 18 August 2023

Party Votes % Seats +/-
{{{party1}}}
Total
'
'
'
'
Votes Percentage
Valid votes
Invalid/blank votes
Total votes
'
'
Registered voters/turnout
{{ParliamentaryElectionResults
| title1            =
| title2            =
| image             =
| party1            =
| votes1            =
| percentage1       =
| seats1            =
| swing1            =
| totalvotes        =
| totalpercentage   =
| totalseats        =
| totalswing        =
| validvotes        =
| validpercentage   =
| invalidvotes      =
| invalidpercentage =
| totalvotes2       =
| totalpercentage2  =
| registeredvoters  =
| turnout           =
}}