Jump to content

User:CX Zoom/Template:Election box roundwise rank choice candidate/doc

From Wikipedia, the free encyclopedia

TemplateData

[edit]

Note:

  • Parameters consisting r6 in their names, appear if rounds is set to 6.
  • Parameters consisting r5 in their names, appear if rounds is set to 5 or more.
  • Parameters consisting r4 in their names, appear if rounds is set to 4 or more.
  • Parameters consisting r3 in their names, appear if rounds is set to 3 or more.
  • Therefore, no requirement to use such parameters, if they are not supposed to appear.
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:CX Zoom/Template:Election box roundwise rank choice candidate in articles based on its TemplateData.

TemplateData for CX Zoom/Template:Election box roundwise rank choice candidate

Displays the results of an individual in election box roundwise rank choice.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Roundsrounds

Number of rounds in the election. (Min: 2, Max:6)

Numberrequired
Partyparty

Name of party. No enclosing in [[brackets]].

Stringrequired
Candidatecandidate

Name of candidate. Enclose in [[brackets]] as usual, if article exists.

Stringrequired
Elect colorelectcolor

Background color for the round in which the candidate is elected. Do not use if the candidate is not elected.

Default
#99ff99
Unknownoptional
Round 1 votesr1v

Votes received in round 1.

Numberrequired
Round 1 pctr1p

% votes received in round 1.

Unknownrequired
Round 1 transferr1t

Votes transferred in round 1 for round 2.

Numberrequired
Round 1 lost votesr1lostvotes

If set to yes, turns background color of "Round 1 transfer" cell as pink. Denotes that votes are lost as a result of the transfer. It is case sensitive.

Stringoptional
Round 1 eliminatedr1eliminated

If set to yes, denotes the candidate is eliminated from this round (#1). It is case sensitive.

Stringoptional
Round 2 votesr2v

Cumulative votes in round 2.

Numberoptional
Round 2 gross pctr2g

%(gross): cumulative votes in round 2 as a %age of total votes cast.

Unknownoptional
Round 2 net pctr2n

%(net): cumulative votes in round 2 as a %age of total active votes in this round (#2).

Unknownoptional
Round 2 transferr2t

Votes transferred in round 2 for round 3.

Numberoptional
Round 2 lost votesr2lostvotes

If set to yes, turns background color of "Round 2 transfer" cell as pink. Denotes that votes are lost as a result of the transfer. It is case sensitive.

Stringoptional
Round 2 eliminatedr2eliminated

If set to yes, denotes the candidate is eliminated from this round (#2). It is case sensitive.

Stringoptional
Round 2 electedr2elected

If set to yes, denotes the candidate is elected in this round (#2). It is case sensitive. Works only if, rounds=2.

Stringoptional
Round 3 votesr3v

Cumulative votes in round 3.

Numberoptional
Round 3 gross pctr3g

%(gross): cumulative votes in round 3 as a %age of total votes cast.

Unknownoptional
Round 3 net pctr3n

%(net): cumulative votes in round 3 as a %age of total active votes in this round (#3).

Unknownoptional
Round 3 transferr3t

Votes transferred in round 3 for round 4.

Numberoptional
Round 3 lost votesr3lostvotes

If set to yes, turns background color of "Round 3 transfer" cell as pink. Denotes that votes are lost as a result of the transfer. It is case sensitive.

Stringoptional
Round 3 eliminatedr3eliminated

If set to yes, denotes the candidate is eliminated from this round (#3). It is case sensitive.

Stringoptional
Round 3 electedr3elected

If set to yes, denotes the candidate is elected in this round (#3). It is case sensitive. Works only if, rounds=3.

Stringoptional
Round 4 votesr4v

Cumulative votes in round 4.

Numberoptional
Round 4 gross pctr4g

%(gross): cumulative votes in round 4 as a %age of total votes cast.

Unknownoptional
Round 4 net pctr4n

%(net): cumulative votes in round 4 as a %age of total active votes in this round (#4).

Unknownoptional
Round 4 transferr4t

Votes transferred in round 4 for round 5.

Numberoptional
Round 4 lost votesr4lostvotes

If set to yes, turns background color of "Round 4 transfer" cell as pink. Denotes that votes are lost as a result of the transfer. It is case sensitive.

Stringoptional
Round 4 eliminatedr4eliminated

If set to yes, denotes the candidate is eliminated from this round (#4). It is case sensitive.

Stringoptional
Round 4 electedr4elected

If set to yes, denotes the candidate is elected in this round (#4). It is case sensitive. Works only if, rounds=4.

Stringoptional
Round 5 votesr5v

Cumulative votes in round 5.

Numberoptional
Round 5 gross pctr5g

%(gross): cumulative votes in round 5 as a %age of total votes cast.

Unknownoptional
Round 5 net pctr5n

%(net): cumulative votes in round 5 as a %age of total active votes in this round (#5).

Unknownoptional
Round 5 transferr5t

Votes transferred in round 5 for round 6.

Numberoptional
Round 5 lost votesr5lostvotes

If set to yes, turns background color of "Round 5 transfer" cell as pink. Denotes that votes are lost as a result of the transfer. It is case sensitive.

Stringoptional
Round 5 eliminatedr5eliminated

If set to yes, denotes the candidate is eliminated from this round (#5). It is case sensitive.

Stringoptional
Round 5 electedr5elected

If set to yes, denotes the candidate is elected in this round (#5). It is case sensitive. Works only if, rounds=5.

Stringoptional
Round 6 votesr6v

Cumulative votes in round 6.

Numberoptional
Round 6 gross pctr6g

%(gross): cumulative votes in round 6 as a %age of total votes cast.

Unknownoptional
Round 6 net pctr6n

%(net): cumulative votes in round 6 as a %age of total active votes in this round (#6).

Unknownoptional
Round 6 electedr6elected

If set to yes, denotes the candidate is elected in this round (#6). It is case sensitive. Works only if, rounds=6.

Stringoptional