Template talk:Election box/Archive 3

Non-partisan (or no party needed) election box templates
I have added some election box templates for non-partisan elections or elections where all candidates are from the same party, such as U.S. party primaries:


 * Election box begin no party
 * Election box candidate no party
 * Election box turnout no party

Usage is the same as other election box templates, except minus any party parameters. (The standard Election box end template should be used in conjunction with these.)

For example:

Produces this:

I have also created another template to use with the above no party templates:
 * Election box candidate no party with winner

For example:

Produces this:

The winner parameter can be any symbol (or word) you choose. (See Tick (checkmark) for some possibilities.)

I welcome any suggestions or changes. — Bellhalla 15:45, 12 March 2006 (UTC)
 * There ought to be a version of these without the swing/change column. It's too bad that the original election box template had that column, which seems to be specific to the UK, so that it's been replicated in the various derivative templates, resulting in empty columns all over the place. KCinDC (talk) 16:28, 27 July 2008 (UTC)

Australian templates
I have just created Election box candidate AU party to use the Australian politics party colours templates listed at WikiProject Australian politics. This is used instead of Election box candidate with party link, and should have a short name such as "Labor" or "Liberal" in the party field. Last year I also created Election box formal, Election box informal, Election box total and Election box 2pp to complete boxes for Australian elections (which have compulsory, preferential voting). JPD (talk) 10:33, 18 October 2006 (UTC)

I have just created Election box hold AU party and Election box gain AU party for Australian politics. Frickeg 09:31, 15 June 2007 (UTC)

Inline election boxes
I have added a set of election box style templates for inline usage. These are intended for cases where one wants to present a large number of results without having incredibly long pages generated, such as in U.S. state House of Representatives elections.

The templates are:


 * Election box inline begin
 * Election box inline incumbent
 * Election box inline candidate with party link
 * Election box inline candidate
 * Election box inline end

Usage is the similar to other election box templates with some changes.

Election box inline begin
Use this template once for each table.


 * Parameters
 * type: the type of race, such as "District", "Place", "Seat", etc.
 * change: the previous election to which results are being compared, such as "from 2005", "from last election". The change parameter can be left blank and just Change will appear in the heading.

Election box inline incumbent
Use this template once for each race in the table.


 * Parameters
 * race: the name or the number of the district, place, or seat
 * party: as in above templates
 * incumbent: the current officeholder
 * status: the current incumbents status, such as "Running", "Retired", etc.
 * candidates: the number of candidates vying for this office

Election box inline new seat
Use this template in place of for those elections involving a newly created district or constituency.


 * Parameters
 * race: the name or the number of the district, place, or seat
 * type: the type of seat (e.g. District or Constituency)
 * candidates: the number of candidates vying for this office

Election box inline candidate and Election box inline candidate with party link
Use this template once for each candidate in a race.


 * Parameters
 * The parameters for these are the same as election box candidate and election box candidate with party link
 * New optional shift parameter added to this template. For displaying graphically when a seat changes control from one party to another. Uses the party color shading templates at . See example below for use.Dcmacnut 18:02, 12 October 2007 (UTC)

election box inline end
Use this template once at the end of each table.

Example
For example:

Produces this:

I welcome any suggestions or improvements. — Bellhalla 16:08, 18 December 2006 (UTC)

Example displaying party shift:

Produces this:

New seats
I have just created Election box new seat win for new constituencies where no information is available on the notional previous holder of the seat. For an example of its usage, see Dunfermline Burghs (UK Parliament constituency). --BrownHairedGirl (talk) • (contribs) 15:18, 5 October 2007 (UTC)