Difference between revisions of "Template:Australian elections/Title row"
Jump to navigation
Jump to search
imported>Mitch Ames (remove unnecessary bold and capitalisation, per MOS) |
imported>Plastikspork (Nested noinclude tags) |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="wikitable" style="line-height: 1.25em; font-size: 90%; {{{table style|}}}" | + | {| class="wikitable {{{table class|}}}" style="line-height: 1.25em; font-size: 90%; {{{table style|}}}" |
|- | |- | ||
| − | ! colspan="7" | + | ! colspan="7" style="background-color:#C9D9E9;text-align:center;font-size: 1.15em; line-height: 1em;" | |
{{{title}}}<br>{{{house}}} <br> | {{{title}}}<br>{{{house}}} <br> | ||
| − | {{#if:{{{back|}}}{{{forward|}}} | <small>{{#if: {{{back|}}} | [[{{{ | + | {{#if:{{{back|}}}{{{forward|}}} | <small>{{#if: {{{back|}}} | [[{{{back}}} {{{series}}}|<< {{{back}}}]] | }}–{{#if: {{{forward|}}} | [[{{{forward}}} {{{series}}}|{{{forward}}} >>]] | }}</small>}} |
|- | |- | ||
| − | | colspan="2" | + | |colspan="2" style="background-color:#E9E9E9" | Enrolled voters |
| − | | | + | | style="text-align:right;" | {{{enrolled}}} |
| − | | width="45" | + | | width="45" style="background-color:#E9E9E9" | |
| − | | colspan="3" | + | | colspan="3" style="background-color:#E9E9E9" width="191" | |
|- | |- | ||
| − | | colspan="2" | + | |colspan="2" style="background-color:#E9E9E9" | Votes cast |
| − | | | + | | style="text-align:right;" | {{{total_votes}}} |
| − | | width="45" | + | | width="45" style="background-color:#E9E9E9" | |
| − | | | + | | style="background-color:#E9E9E9" width="60" | [[Voter turnout|Turnout]] |
| − | | | + | | style="text-align:right;" | {{{turnout %}}} |
| − | | | + | | style="text-align:right;" | {{{turnout chg}}} |
|- | |- | ||
| − | | colspan="2" | + | |colspan="2" style="background-color:#E9E9E9" | Informal votes |
| − | | | + | | style="text-align:right;" | {{{informal}}} |
| − | | width="45" | + | | width="45" style="background-color:#E9E9E9" | |
| − | | | + | | style="background-color:#E9E9E9;" | Informal |
| − | | | + | | style="text-align:right;" | {{{informal %}}} |
| − | | | + | | style="text-align:right;" | {{{informal chg}}} |
|- | |- | ||
| − | | colspan="7" | + | | colspan="7" style="background-color:#C9D9E9;text-align:center;font-size: 1.15em; line-height: 2em;" | Summary of votes by party |
|- | |- | ||
| − | | colspan="2" | + | |colspan="2" style="background-color:#E9E9E9" | Party |
| − | | | + | | style="background-color:#E9E9E9;" | Primary votes |
| − | | | + | | style="background-color:#E9E9E9;text-align:right;" | % |
| − | | | + | | style="background-color:#E9E9E9;" | Swing |
| − | | | + | | style="background-color:#E9E9E9;text-align:right;" | {{#if: {{{staggered|}}} | Seats<br/>won | Seats}} |
| − | | | + | | style="background-color:#E9E9E9;text-align:right;" | {{#if: {{{staggered|}}} | Seats<br/>held | Change}} |
|- | |- | ||
| − | + | <noinclude> | |
| − | <noinclude>[[Category:Australia election result templates]]<noinclude> | + | |} |
| + | {{Documentation}} | ||
| + | [[Category:Australia election result templates]] | ||
| + | </noinclude> | ||
Latest revision as of 01:20, 27 April 2020
|
{{{title}}} | ||||||
|---|---|---|---|---|---|---|
| Enrolled voters | {{{enrolled}}} | |||||
| Votes cast | {{{total_votes}}} | Turnout | {{{turnout %}}} | {{{turnout chg}}} | ||
| Informal votes | {{{informal}}} | Informal | {{{informal %}}} | {{{informal chg}}} | ||
| Summary of votes by party | ||||||
| Party | Primary votes | % | Swing | Seats | Change | |
Usage
This template codes for the top few rows of a table displaying the results of an Australian election.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | no description | Unknown | optional |
| House | house | no description | Unknown | optional |
| Back | back | no description | Unknown | optional |
| Forward | forward | no description | Unknown | optional |
| Series | series | no description | Unknown | optional |
| Number of enrolled voters | enrolled | no description | Number | required |
| Total_votes | total_votes | no description | Unknown | optional |
| Turnout % | turnout % | no description | Unknown | optional |
| Turnout chg | turnout chg | no description | Unknown | optional |
| Informal | informal | no description | Unknown | optional |
| Informal % | informal % | no description | Unknown | optional |
| Informal chg | informal chg | no description | Unknown | optional |
| Staggered | staggered | no description | Unknown | optional |
| Style | table style | Custom CSS for the whole table. Use with caution. | Unknown | optional |
| The above documentation is transcluded from Template:Australian elections/Title row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |