Template:Election box candidate with party link no change/sandbox
![]() | This is the template sandbox page for Template:Election box candidate with party link no change (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]See Template talk:Election box
Microformat
[edit]The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
[edit]Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
[edit]hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
Template data
[edit]TemplateData for Election box candidate with party link no change
This template creates a row for a candidate in a table showing election results, with a link to the candidate's party and without the change in vote from the previous election.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Party | party | The full name of the Wikipedia article on the candidate's party; do not wikilink | String | required |
Candidate | candidate | The candidate's name; can be wikilinked | String | required |
Votes | votes | The number of votes the candidate received | String | required |
Percentage | percentage | The percentage of the vote received by the candidate | String | required |
See also
[edit]Election box begin
[edit]- {{Election box begin}}
- {{Election box begin no change}}
- {{Election box begin no party}}
- {{Election box begin no party no change}}
- {{Election box inline begin}}
- {{Election box inline begin no change}}
- {{Election box open primary begin no change}}
- {{Election box open primary begin no party no change}}
Election box candidate
[edit]Standard
[edit]- {{Election box candidate}}
- {{Election box candidate for alliance}}
- {{Election box candidate minor party}}
- {{Election box candidate no party link no change}}
- {{Election box candidate with party link}}
- {{Election box candidate with party link coalition 1918}} - for coalition coupon candidates in the 1918 UK general election.
- {{Election box candidate with party link no change}}
Winning
[edit]- {{Election box winning candidate no change}}
- {{Election box winning candidate with party link}}
- {{Election box winning candidate with party link no change}}
- {{Election box unopposed candidate with party link}} - for races where no votes are tallied
Inline
[edit]- {{Election box inline candidate}}
- {{Election box inline candidate no change}}
- {{Election box inline candidate with party link}}
- {{Election box inline candidate with party link no change}}
- {{Election box inline incumbent}}
Election summary
[edit]For parties without an article on Wikipedia.
Election box gain, hold, loss, etc.
[edit]- {{Election box gain}}
- {{Election box gain with party link}}
- {{Election box hold with party link}}
- {{Election box hold with party link no change}}
- {{Election box hold with party link no swing}}
- {{Election box void}}
- {{Election box new seat win}}
- {{Election box new boundary win}}
Election box majority
[edit]- {{Election box majority}}
- {{Election box majority no change}}
- {{Election box majority no party}}
- {{Election box majority no party no change}}
- {{Election box margin of victory}}
Election box turnout
[edit]- {{Election box turnout}}
- {{Election box turnout no change}}
- {{Election box turnout no change with votes}}
- {{Election box turnout no party}}
Election box total and related
[edit]- {{Election box total}}
- {{Election box total ballots}}
- {{Election box total no change}}
- {{Election box total no change with delegates}}
- {{Election box total no party}}
- {{Election box total no party no change}}
- {{Election box total valid}}
- {{Election box total valid no change}}
- {{Election box formal}}
- {{Election box informal}}
- {{Election box necessary no change}}
- {{Election box necessary no party no change}}
- {{Election box registered electors}}
- {{Election box rejected}}
Election box end
[edit]- {{Election box inline end}}
- {{Election box end}}
- {{Election box end 1918}} - if using {{Election box candidate with party link coalition 1918}} this is needed.
- {{End}}