Difference between revisions of "Template:Election summary party"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
m (<td> instead of empty <th> (accessibility error))
imported>Primefac
m (Changed protection level for "Template:Election summary party": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(No difference)

Latest revision as of 17:02, 23 February 2018

  {{{seats}}} {{{gain}}} {{{loss}}} {{{net}}} {{{seats %}}} {{{votes %}}} {{{votes}}} {{{plus/minus}}}
Template documentation[view] [edit] [history] [purge]

Usage

{{Election summary party
 |party = Fine Party
 |seats = 4
 |net = {{steady}}
 |gain = {{increase}} 4
 |loss = {{decrease}} 4
 |votes = 
 |votes % = 
 |seats % = 
 |plus/minus = 
}}

If non-empty parameter government is present, the line is displayed in bold.

If parameter party equals to "Others" (without quotes), link is not produced.

Parameter party may be replaced with parameter other, which is displayed as it is, i.e. without a link.

Example

Colchester local election result 2000
Party Seats Gains Losses Net gain/loss Seats % Votes % Votes +/−
  Conservative 9 4 0 +4 45.0 38.8 11,951
  Liberal Democrats 6 1 3 −2 30.0 33.1 10,192
  Labour 4 1 2 −1 20.0 24.1 7,429
  Tiptree Residents 1 0 0 0 5.0 2.4 727
  Independent 0 0 1 −1 0 1.6 478
style="background-color: Template:Natural Law Party/meta/color; width: 3px;" |   Natural Law Party 0 0 0 0 0 0.1 39