Usage

edit

Any parameters left blank or omitted will not be displayed

{{Election results (U.S. Presidential)
|template_name=
|name=
|date=
|total1=
|total2=
|count=
|not_count
|turnout1=
|turnout2=
|image=
|imagesize=
|
|c1_party=
|c1_name=
|c1_color=
|c1_count=
|c1_percentage=
|c1_ev=
|
|c2_party=
|c2_name=
|c2_color=
|c2_count=
|c2_percentage=
|c2_ev=

<!-- Can be extended to 25 candidates maximum in this order -->

|c25_party=
|c25_name=
|c25_color=
|c25_count=
|c25_percentage=
|c25_ev=
}}

Mechnism

edit

The unit that represents the percent (%) does not need to be filled. The template will automatically include it.

  • template_name:Template name (Optional)
  • name:Election name
  • date:Election date
  • total1:Registered voters
  • total1:Eligible voters
  • count:Valid vote
  • not_count: Invalid vote
  • turnout1:Turnout rate by registered voters
  • turnout2:Turnout rate by voting age population (eligible population)
  • image:Election map
  • imagesize:Map size (Optional)
  • cN series:replace "N" with the order that matches with the candidate's order
    • _party:Presidential candidate's party
    • _name:Presidential candidate's name
    • _color:the color of the party that the candidate belongs to
    • _count:votes counted and acquire by the candidate
    • _percentage:counted votes percentage
    • _ev: electoral vote received by the candidate