Difference between revisions of "Template:Australian elections/Title row"

From blackwiki
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}}}
{{{house}}}

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
50px Template documentation[view] [edit] [history] [purge]

Usage

This template codes for the top few rows of a table displaying the results of an Australian election.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

no description

Unknownoptional
Househouse

no description

Unknownoptional
Backback

no description

Unknownoptional
Forwardforward

no description

Unknownoptional
Seriesseries

no description

Unknownoptional
Number of enrolled votersenrolled

no description

Numberrequired
Total_votestotal_votes

no description

Unknownoptional
Turnout %turnout %

no description

Unknownoptional
Turnout chgturnout chg

no description

Unknownoptional
Informalinformal

no description

Unknownoptional
Informal %informal %

no description

Unknownoptional
Informal chginformal chg

no description

Unknownoptional
Staggeredstaggered

no description

Unknownoptional
Styletable style

Custom CSS for the whole table. Use with caution.

Unknownoptional