Template:Conbox/doc

From Ballotpedia
Jump to: navigation, search

This is a usage page for the {{Conbox}}.

If the parameters are appropriately filled in, total votes will compute automatically.

Usage

Here is the basic code to copy and fill in:


{{Conbox
|Nominee=
|Date=
|DYes=
|DNo=
|RYes=
|RNo=
|IYes=
|INo=
}}

Here is the code with explanations.

{{Conbox
Nominee= The nominee
Date= Date of the confirmation vote
DYes= Number of Democratic votes in favor
DNo= Number of Democratic votes opposed
RYes= Number of Republican votes in favor
RNo= Number of Republican votes opposed
IYes= Number of Independent votes in favor
INo= Number of Independent votes opposed
}}

Here is an example implemented:

{{Conbox
|Nominee=John Kerry
|Date=January 23, 2013
|DYes=32
|DNo=23
|RYes=15
|RNo=30
}}
John Kerry confirmation vote, January 23, 2013
Party Votes for Approveda Votes against Defeatedd Total votes
Democratic Party Democrats 32 23 55
Republican Party Republicans 15 30 45
Independent Independents 0 0 0
Total Votes 47 53 100