Template:Infobox national political convention/doc

From IxWiki
Revision as of 15:33, 25 April 2020 by >Vanisaac (→‎Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{year}}} {{{party}}} National Convention
(Alternate)
[[File:{{{logo}}}|{{{logo_size}}}]]
[[File:{{{image}}}|{{{image_size}}}px]] [[File:{{{image2}}}|{{{image_size2}}}px]][[File:{{{image3}}}|{{{image_size3}}}px]]
{{{caption}}}
Conventions
Date(s){{{date}}}
City{{{city}}}
Venue{{{venue}}}
Chair{{{chair}}}
Keynote speaker{{{keynote_speaker}}}
Notable speakers{{{speakers}}}
Candidates
Presidential nominee{{{presidential_nominee}}} of {{{presidential_nominee_state}}}
Vice presidential nominee{{{vice_presidential_nominee}}} of {{{vice_presidential_nominee_state}}}
Other candidates{{{othercandidates}}}
Voting
Total delegates{{{totaldelegates}}}
Votes needed for nomination{{{votesneeded}}}
Results (President){{{presidenttotals}}}
Results (Vice President){{{vicepresidenttotals}}}
Ballots{{{ballots}}}
‹ [[{{{previous_year}}} {{{party}}} National Convention|{{{previous_year}}}]]  ·  [[{{{next_year}}} {{{party}}} National Convention|{{{next_year}}}]] ›
{{Infobox national political convention
|year          = 
|party         =
|election_year = 
|logo          = 
|image         = 
|image_size    = 
|image2        = 
|image_size2   = 
|caption       = 
|date          = 
|city          = 
|venue         = 
|convention_chair         = 
|keynote_speaker                 = 
|presidential_nominee            =
|presidential_nominee_state      =
|vice_presidential_nominee       =
|vice_presidential_nominee_state =
|othercandidates                 =
|totaldelegates                  = 
|votesneeded                     = 
|ballots                         = 
}}

Parameters

|logo          = Convention logo (optional) Note: Width is automatically set to 50px.
|year          = Year in which the convention was held
|party         = Political party holding the convention. Do not link this!
|election_year = Year in which the election for which the nominated candidates at the convention will run (if different from the convention year)
|image         = Image of the presidential nominee.  (optional)
image_size = Width of the presidential nominee's photo. (optional) Note: Default is 100px.
|caption       = Caption for the presidential nominee's photo. (optional)
|image2        = Image of the vice presidential nominee. (optional) 
|image_size2   = Width of the presidential nominee's photo. (optional) Note: Default is 100px. This should be changed so that the heights of image and image2 match!
|caption2      = Caption for the vice presidential nominee's photo (optional)
|date          = Date(s) on which the convention was held. If a range of dates, format should be month day-month day, year. (optional)
|city          = Location where the convention was held.  (optional)
|venue         = Specific venue where the convention was held. (optional)
|chair         = Name of the chairperson for the convention. (optional)
|keynote_speaker            = Name of the keynote speaker for the convention. (optional)
|presidential_nominee       = Name of the presidential nominee. (optional) Note: This may be omitted if the convention failed to nominate a candidate.
|presidential_nominee_state = Home state of the presidential nominee. Note: Required if "presidential_nominee" is filled in.
|vice_presidential_nominee  = Name of the vice presidential nominee (optional) Note: This may be omitted if the convention failed to nominate a candidate.
|vice_presidential_nominee_state = Home state of the vice presidential nominee Note: Required if "vice_presidential_nominee" is filled in.
|othercandidates       = Other candidates that were significant contenders at the convention. (optional)
|totaldelegates        = Total number of delegates voting at the convention. (optional) Note: This must be filled out for the "Voting" section header to appear in the Infobox.
|votesneeded           = Number of votes needed for the nomination. (optional)
|ballots               = Number of ballots taken for the presidential nomination.

Example

1996 Republican National Convention
Nominees
Dole and Kemp
Convention
Date(s)August 12–August 15, 1996
CitySan Diego, California
VenueSan Diego Convention Center
Keynote speakerSusan Molinari
Candidates
Presidential nomineeBob Dole of Kansas
Vice presidential nomineeJack Kemp of New York
Voting
Total delegates1,975
Votes needed for nomination1,007
‹ 1992  ·  2000 ›

Here's an example using information for the 1996 Republican National Convention:

| year = 1996
| party = Republican
| logo = 
| image = Bob_Dole,_PCCWW_photo_portrait.JPG
| image2 = Jack Kemp official portrait.jpg
| image_size2 = 92
| caption = Nominees <br> Dole and Kemp
| date = August 12–August 15, 1996
| keynote_speaker = [[Susan Molinari]]
| venue = [[San Diego Convention Center]]
| city = [[San Diego, California]]
| presidential_nominee = [[Bob Dole]]
| presidential_nominee_state = [[Kansas]]
| vice_presidential_nominee = [[Jack Kemp]]
| vice_presidential_nominee_state = [[New York (state)|New York]]
| totaldelegates = 1,975
| votesneeded = 1,007
| previous_year = 1992
| next_year = 2000