Template:Legislative Election: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Weeaboo11
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:380px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; f...")
>Weeaboo11
No edit summary
Line 1: Line 1:
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:380px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:150px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
|-
|-
|<div>
|<div>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
|-
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:160%;" |{{{name|<font color="white">{{{title1}}}</font>}}}
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" |{{{name|<font color="white">{{{title1}}}</font>}}}
|- style="text-align:center;"
|- style="text-align:center;"
|-
|-
Line 17: Line 17:
|-
|-
|}
|}
{| align="center" border="0" cellpadding="4" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px"
{| align="center" border="0" cellpadding="3" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px"
|-
|-
!
|}
{{#if:{{{image1<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image1}}} }}
{| class="article-table"
{{#if:{{{image2<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="text-align:center;background-color:#;" {{!}}{{{image2}}} }}
|+
!Candidate
!Vote
!%
!✓✗
|-
|-
! style="background:#212121;" |<font color="white">Candidate</font>
|{{{Candidate1}}}
! style="background:#212121; {{#if:{{{name1|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font>
|{{{Votes1}}}
! style="background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font>
|{{{Percent1}}}
|{{{Elected1}}}
|-
|-
| style="" valign="top" |'''Running mate'''
|{{{Candidate2}}}
| style="{{#if:{{{mate1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate1|}}}
|{{{Votes2}}}
| style="{{#if:{{{mate2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate2|}}}
|{{{Percent2}}}
|{{{Elected2}}}
|-
|-
| style="" valign="top" |'''Province'''
|{{{Candidate3}}}
| style="{{#if:{{{province1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province1|}}}
|{{{Votes3}}}
| style="{{#if:{{{province2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province2|}}}
|{{{Percent3}}}
|{{{Elected3}}}
|-
|-
| style="" valign="top" |'''Town'''
|{{{Candidate4}}}
| style="{{#if:{{{town1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town1|}}}
|{{{Votes4}}}
| style="{{#if:{{{town2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town2|}}}
|{{{Percent4}}}
|{{{Elected4}}}
|-
|-
| style="" valign="top" |'''Popular vote'''
|{{{Candidate5}}}
| style="{{#if:{{{popular1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular1|}}}
|{{{Votes5}}}
| style="{{#if:{{{popular2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular2|}}}
|{{{Percent5}}}
|{{{Elected5}}}
|-
|-
| style="" valign="top" |'''Percentage'''
|{{{Candidate6}}}
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
|{{{Votes6}}}
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
|{{{Percent6}}}
|{{{Elected6}}}
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
|{{{Candidate7}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|{{{Votes7}}}
|{{{Percent7}}}
|{{{Elected7}}}
|-
|-
{{#if:{{{map_image<includeonly>|</includeonly>}}} |
|{{{Candidate8}}}
{{!}} colspan="3" style="text-align:center;background-color:#;" {{!}}{{{map_image}}}
|{{{Votes8}}}
}}
|{{{Percent8}}}
|{{{Elected8}}}
|-
|-
| colspan="3" style="{{#if:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{map_caption|}}}
|{{{Candidate9}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|{{{Votes9}}}
|-
|{{{Percent9}}}
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
|{{{Elected9}}}
|}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
| style="{{#if:{{{old|}}}|}}" valign="top" align="left" |'''Previous chancellor'''
!
| style="{{#if:{{{new|}}}|}}" valign="top" align="right" |'''Elected chancellor'''
|-
| style="{{#if:{{{old|}}}|}}" class="infoboxcell" valign="top" align="left" |{{{old}}}
!
| style="{{#if:{{{new|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{new}}}
|-
| style="{{#if:{{{previous|}}}|}}" valign="top" align="left" |'''Previous election'''
!
| style="{{#if:{{{next|}}}|}}" valign="top" align="right" |'''Next election'''
|-
| style="{{#if:{{{previous|}}}|}}" class="infoboxcell" valign="top" align="left" |{{{previous}}}
!
| style="{{#if:{{{next|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{next}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}
|}
|}


Line 87: Line 83:
|seatsup=Example
|seatsup=Example
|needed=Example
|needed=Example
|image1=Example
|Candidate1
|image2=Example
|Votes1
|name1=Example
|Percent1
|name2=Example
|Elected1
|mate1=Example
|Candidate2
|mate2=Example
|Votes2
|province1=Example
|Percent2
|province2=Example
|Elected2
|town1=Example
|Candidate3
|town2=Example
|Votes3
|popular1=Example
|Percent3
|popular2=Example
|Elected3
|percentage1=Example
|Candidate4
|percentage2=Example
|Votes4
|map_image=Example
|Percent4
|map_caption=Example
|Elected4
|old=Example
|Candidate5
|new=Example
|Votes5
|previous=Example
|Percent5
|next=Example
|Elected5
|Candidate6
|Votes6
|Percent6
|Elected6
|Candidate7
|Votes7
|Percent7
|Elected7
|Candidate8
|Votes8
|Percent8
|Elected8
|Candidate9
|Votes9
|Percent9
|Elected9
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 21:00, 17 July 2021

{{{title1}}}
{{{dateofelection}}}
{{{seatsup}}}
{{{needed}}}
Candidate Vote % ✓✗
{{{Candidate1}}} {{{Votes1}}} {{{Percent1}}} {{{Elected1}}}
{{{Candidate2}}} {{{Votes2}}} {{{Percent2}}} {{{Elected2}}}
{{{Candidate3}}} {{{Votes3}}} {{{Percent3}}} {{{Elected3}}}
{{{Candidate4}}} {{{Votes4}}} {{{Percent4}}} {{{Elected4}}}
{{{Candidate5}}} {{{Votes5}}} {{{Percent5}}} {{{Elected5}}}
{{{Candidate6}}} {{{Votes6}}} {{{Percent6}}} {{{Elected6}}}
{{{Candidate7}}} {{{Votes7}}} {{{Percent7}}} {{{Elected7}}}
{{{Candidate8}}} {{{Votes8}}} {{{Percent8}}} {{{Elected8}}}
{{{Candidate9}}} {{{Votes9}}} {{{Percent9}}} {{{Elected9}}}


Example usage:

{{Legislative_Election
|color=Example
|title1=Example
|dateofelection=Example
|seatsup=Example
|needed=Example
|Candidate1
|Votes1
|Percent1
|Elected1
|Candidate2
|Votes2
|Percent2
|Elected2
|Candidate3
|Votes3
|Percent3
|Elected3
|Candidate4
|Votes4
|Percent4
|Elected4
|Candidate5
|Votes5
|Percent5
|Elected5
|Candidate6
|Votes6
|Percent6
|Elected6
|Candidate7
|Votes7
|Percent7
|Elected7
|Candidate8
|Votes8
|Percent8
|Elected8
|Candidate9
|Votes9
|Percent9
|Elected9
}}