Difference between revisions of "Template:Australian elections/Title row"
Jump to navigation
Jump to search
imported>Pizza1016 (temporary page checks while past election articles are renamed as per WT:NCGAL#Proposed change to election/referendum naming format) |
imported>Plastikspork (Nested noinclude tags) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
! colspan="7" style="background-color:#C9D9E9;text-align:center;font-size: 1.15em; line-height: 1em;" | | ! 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" style="background-color:#E9E9E9" | Enrolled voters | |colspan="2" style="background-color:#E9E9E9" | Enrolled voters | ||
| Line 33: | Line 33: | ||
| style="background-color:#E9E9E9;text-align:right;" | {{#if: {{{staggered|}}} | Seats<br/>held | Change}} | | style="background-color:#E9E9E9;text-align:right;" | {{#if: {{{staggered|}}} | Seats<br/>held | Change}} | ||
|- | |- | ||
| − | + | <noinclude> | |
| − | <noinclude>|} | + | |} |
{{Documentation}} | {{Documentation}} | ||
| − | [[Category:Australia election result templates]]<noinclude> | + | [[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. |