Difference between revisions of "Template:Australian elections/Title row"
Jump to navigation
Jump to search
imported>GKFX (Add table class parameter, for correctly floating left/right, etc.) |
imported>Pizza1016 (temporary page checks while past election articles are renamed as per WT:NCGAL#Proposed change to election/referendum naming format) |
||
| 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|}}} | [[{{{series}}}, {{{back}}}|<< {{{back}}}]] | }}–{{#if: {{{forward|}}} | [[{{{series}}}, {{{forward}}}|{{{forward}}} >>]] | }}</small>}} | + | {{#if:{{{back|}}}{{{forward|}}} | <small>{{#if: {{{back|}}} | [[{{#ifexist: {{{back}}} {{{series}}}|{{{back}}} {{{series}}}|{{#ifexist: {{{series}}}, {{{back}}}|{{{series}}}, {{{back}}}|{{{back}}} {{{series}}}}}}}|<< {{{back}}}]] | }}–{{#if: {{{forward|}}} | [[{{#ifexist: {{{forward}}} {{{series}}}|{{{forward}}} {{{series}}}|{{#ifexist: {{{series}}}, {{{forward}}}|{{{series}}}, {{{forward}}}|{{{forward}}} {{{series}}}}}}}|{{{forward}}} >>]] | }}</small>}} |
|- | |- | ||
|colspan="2" style="background-color:#E9E9E9" | Enrolled voters | |colspan="2" style="background-color:#E9E9E9" | Enrolled voters | ||
Revision as of 04:35, 1 December 2018
|
{{{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. |