Template:Election box begin no party no change AU: Difference between revisions

From WWII Archives

w>MusikBot II
m (Protected "Template:Election box begin no party no change AU": High-risk template or module: 412 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 19:47, 19 March 2023

{{{title}}}
Candidate Votes %
File:Test Template Info-Icon.svg Template documentationview · edit · history · purge ]


These election box templates are for displaying a list of candidates and results for Australian elections that were not contested by parties. They are intended to have a similar look to {{Election box candidate AU party}}, particularly for pages that span eras, such as Electoral results for the district of Parramatta. They produce tables like this:

1882 New South Wales colonial election: Parramatta
16 October
Candidate Votes %
Hugh Taylor 595 51.52
James Farnell 364 31.52
Cyrus Fuller 196 16.97
Total formal votes 1,155 97.12
Informal votes 33 2.78
Turnout 1,188 77.24

Usage

Basic

There are six templates used in the example above:

The begin and end templates start and end a table with appropriate columns and formatting. The candidate template is used once for each candidate and contributes a row to the table. If there is a wikipedia page for the candidate, this should be linked.

Using the example above these are :

{{Election box begin no party no change AU |
|title=[[1882 New South Wales colonial election]]: [[Electoral district of Parramatta|Parramatta]]<br>16 October
}}
{{Election box candidate no party no change|
|candidate = [[Hugh Taylor (Australian politician)|Hugh Taylor]]
|votes = 595
|percentage = 51.52
}}
{{Election box candidate no party no change|
|candidate = [[James Farnell]]
|votes = 364
|percentage = 31.52
}}
{{Election box candidate no party no change|
|candidate = Cyrus Fuller
|votes = 196
|percentage = 16.97
}}

{{Election box formal no party no change AU|
  |votes      = 1,155
  |percentage = 97.12
}}
{{Election box informal no party no change AU|
  |votes      = 33
  |percentage = 2.78
}}
{{Election box turnout no party no change AU|
  |votes      = 1,188
  |percentage = 77.24
}}
{{Election box end}}

See also

Template:Election box/doc

id:Templat:Election box candidate AU party