Template:ElectionResult/doc

This template is used to add information on election articles or lists on Wikipedia. It provides an easier input for election data inside a table.

Usage
The template must be placed inside the table in the article as this:

Fields
The template has 4 non-designated fields that may vary on each table and an specific parameter to designate the winning candidate. The first four parameter of the table have no name and can be stablished differently depending on the info that will be shown. To determine the winning candidate, add a  as the last parameter on the template, as this:

Example with dummy data
Since this template produces only individual rows within a table, you will need to add (or already have) the table's framework in the article. Here is an example using an already stablished table with its corresponding output:

Will produce this:

Example with realistic data
Example using chart data from Venezuelan regional elections, 2008:

Expands into: