Padron:Election box candidate with party link no change
|- class="vcard" | style="background-color: {{Template:{{{party}}}/meta/color}}; width: 2px;" | | class="org" style="width: 130px" | [[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]] | class="fn" | {{{candidate}}} | style="text-align:right;" | {{{votes}}} | style="text-align:right;" | {{{percentage}}}
|-
Usage
baguhinSee Template talk:Election box
Microformat
baguhinThe 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. For more information about the use of microformats on Wikipedia, please see the microformat project.
Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.
hCard uses HTML classes including:
- adr
- bday
- county-name
- fn (required)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
Please do not rename or remove these classes.
Template data
baguhinTemplateData ng 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.
Pangalan | Paglalarawan | Type | Katayuan | |
---|---|---|---|---|
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 |