CHOICE / CANDIDATE TAGS |
---|
These tags are only available for CONTEST and CHOICE scenes. Add [#] for additional Choices. ex: ^choice[1].name for 2nd choice’s name. ^choice.name is the same as ^choice[0].name. Note: [0] refers to the leading candidate for the election area that the candidate belongs to. |
^choice[#].firstname | The first name of the candidate (ex: John). [#] = Position of candidate in the race where [0] is the leading candidate. Tag is a Text object. |
^choice[#].lastname | The last name of the candidate (ex: Smith). Tag is a Text object. |
^choice[#] or ^choice[#].name | The full name of the candidate (ex: John Smith). Tag is a Text object. |
^choice[#].custom <custom name format> | Customize the display of a candidate’s name. Note that the angle brackets characters < > are required. The available custom name format tags are: {firstname} {lastname} {name} {firstinitial} {firstletter} {incumbent} {elected} {partyname} {partyaltname} {partycode} {votes}. Any texts within the < > brackets that are not encapsulated in { } brackets will be treated as literals and will be output as is. Tag is a Text object. Examples: <{lastname}, {firstname}> will display a candidate’s name as: ‘Smith, John'. <{name} {incumbent}> will display as: ‘John Smith [i]'. The ‘[i]' to represent an incumbent is set up in the Player Preferences. If not an incumbent, the ‘[i]’ will be absent. <{firstinitial} {lastname}> will display as: ‘J. Smith’. <{firstletter} {lastname}> will display as: ‘J Smith’.
|
^choice[#].media | An image representing the candidate. Tag is a graphics object. |
^choice[#].details | Details about the candidate. Limited to 255 characters. Tag is a Text object. |
^choice[#].winner | A Visible tag object. Visible if the candidate is elected. Tag can be a Text or Graphics object. |
^choice[#].incumbent | A Visible tag object. Visible if the candidate is the incumbent for the office. Tag can be a Text or Graphics object. |
^choice[#].acclaimed | A Visible tag object. Visible if the candidate is a winner for the office by acclaim. Tag can be a Text or Graphics object. |
^choice[#].votes% or ^choice[#].vote% or ^choice[#].percentage ^choice[#].percentagetext | The percentage of votes for the candidate. Tag is a Text object. **See note about the Percent Sign '%' below. If the ^choice[#].percentagetext tag is used, the '%’ sign will be forcibly shown. **See note about Percentage Decimal Places below. |
^choice[#].votes | The number of votes received for the candidate. Tag is a Text object. |
^choice[#].votesPrevious | The number of votes received for the candidate in the event prior to the current elections event. Tag is a Text object. |
^choice[#].votesPrevious% | The percentage of votes for the candidate in the event prior to the current elections event. Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].votesdiff or ^choice[#].votediff | The difference in votes received by the candidate for the current and previous elections event. Tag is a Text object. |
^choice[#].votesdiff% or ^choice[#].votediff% | The difference in vote percentages for the candidate for the current and previous elections event. Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below'%' below. **See note about Percentage Decimal Places below. |
^choice[#].voteslead | The number of votes that the candidate has as a lead over the next candidate. Tag is a Text object. Only available for Contest scenes. |
^choice[#].contestType | The type name of the contest that the candidate participated in. Tag is a Text object. |
^choice[#].votesleadeligiblevotes | The number of eligible votes for the contest that the candidate has as a lead over the next candidateparticipated in. Tag is a Text object. Only available for Contest scenes. |
^choice[#].eevp Deprecated: ^choice[#].contestTypepopvotes% | The type name of Estimated Expected Vote Percentage (EEVP) for the contest that the candidate participated in. Tag is a Text object.. Tag is a Text object. In its deprecated usage, the ^choice[#].popvotes% tag was used to show the assigned popular votes percentage for a contest. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].eligiblevotespopvotesPrevious% | The number percentage of eligible popular votes for the contest in the event prior to the current elections event that the candidate participated in (the ‘candidate’ is likely a Party). Tag is a Text object. ^choice[#].eevp Deprecated: **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].popvotes%popTotalVotes | The Estimated Expected Vote Percentage (EEVP) number of popular votes for the contest that the candidate participated in (the ‘candidate’ is likely a Party). Tag is a Text object.In its deprecated usage, the |
^choice[#]. popvotes% tag was used to show the assigned popular votes percentage for a contestseats% | The percentage of seats for the candidate (the ‘candidate’ is likely a Party). Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].popvotesPrevious% The percentage of popular votes for the contest in the .seats | The number of seats received by the candidate (the ‘candidate’ is likely a Party). Tag is a Text object. |
^choice[#].seatsPrevious | The number of seats received by the candidate (the ‘candidate’ is likely a Party) for the event prior to the current elections event that . Tag is a Text object. |
^choice[#].seatsPrevious% | The percentage of seats for the candidate participated in (the ‘candidate’ is likely a Party) in the event prior to the current elections event. Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].popTotalVotesseatsdiff | The number of popular votes for the contest that difference in seats received by the candidate participated in (the ‘candidate’ is likely a Party)a Party) for the current and previous elections event. Tag is a Text object. |
^choice[#].seats%seatsdiff% | The percentage of seats difference in seat percentages for the candidate (the ‘candidate’ is likely a Party) for the current and previous elections event. Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].seatsdynamic-fieldor ^choice[#].*dynamic-field | The number of seats received by the candidate (the ‘candidate’ is likely a Party). Tag is a Text object. |
^choice[#].seatsPrevious | The number of seats received by the candidate (the ‘candidate’ is likely a Party) for the event prior to the current elections event. Tag is a Text object. |
^choice[#].seatsPrevious% | The percentage of seats for the candidate (the ‘candidate’ is likely a Party) in the event prior to the current elections event. Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places below. |
^choice[#].seatsdiff | The difference in seats received by the candidate (the ‘candidate’ is likely a Party) for the current and previous elections event. Tag is a Text object. |
^choice[#].seatsdiff% | The difference in seat percentages for the candidate (the ‘candidate’ is likely a Party) for the current and previous elections event. Tag is a Text object. **See note about the Percent Sign '%' below. **See note about Percentage Decimal Places belowvalue of a dynamic field attached to the candidate. The name of the tag is not case sensitive. Note that the name of the dynamic field shouldn’t be the same as one of the above tags as they will have precedence. In the case where the dynamic field name is the same as one of the above tags, use the ^choice[#].*dynamic-field tagvariant instead. Available as of Elections Player for Chameleon v7.0.0.21. |
^choice[#].contest.dynamic-fieldor ^choice[#].contest.*dynamic-field | The value of a dynamic field attached to the contest that the candidate is participating in. The name of the tag is not case sensitive. Note that the name of the dynamic field shouldn’t be the same as one of the above tags as they will have precedence. In the case where the dynamic field name is the same as one of the above tags, use the ^choice[#].contest.*dynamic-field tagvariant instead. Available as of Elections Player for Chameleon v7.0.0.21. |