Difference between revisions of "Template:Infobox national political convention"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>BrownHairedGirl (year first) |
imported>Jon698 |
||
| Line 9: | Line 9: | ||
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
| − | |headerstyle = {{#ifeq:{{{party|}}}|Democratic|background:#34AAE0; color:#000;}}{{#ifeq:{{{party|}}}|Republican|background:#AE1C23; color:#ffffff;}}{{#ifeq:{{{party|}}}|National Union|background:#153E7E; color:#ffffff;}}{{#ifeq:{{{party|}}}|Reform Party|background:#153E7E; color:#ffffff;}}{{#ifeq:{{{party|}}}|Whig|background:#F0DC82; color:#153E7E;}}{{#ifeq:{{{party|}}}|Libertarian|background:#FFBF00; color:#000000;}} {{#ifeq:{{{party|}}}|Green|background:#18AC5D; color:#000;}}{{#ifeq:{{{party|}}}|Progressive|background:#a2ed70; color:#153E7E;}} | + | |headerstyle = {{#ifeq:{{{party|}}}|Democratic|background:#34AAE0; color:#000;}}{{#ifeq:{{{party|}}}|Republican|background:#AE1C23; color:#ffffff;}}{{#ifeq:{{{party|}}}|National Union|background:#153E7E; color:#ffffff;}}{{#ifeq:{{{party|}}}|Reform Party|background:#153E7E; color:#ffffff;}}{{#ifeq:{{{party|}}}|Whig|background:#F0DC82; color:#153E7E;}}{{#ifeq:{{{party|}}}|Libertarian|background:#FFBF00; color:#000000;}} {{#ifeq:{{{party|}}}|Green|background:#18AC5D; color:#000;}}{{#ifeq:{{{party|}}}|Progressive|background:#a2ed70; color:#153E7E;}} {{#ifeq:{{{party|}}}|Prohibition|background:#FF00FF; color:#000;}} |
|header1 = {{#if:{{{date|}}}|Convention{{#if:{{{city2|}}}|s}}}} | |header1 = {{#if:{{{date|}}}|Convention{{#if:{{{city2|}}}|s}}}} | ||
Revision as of 15:46, 25 March 2020
[[Category:Infobox templates|Template:Remove first word]]
Usage
Template:Parameter names example
{{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
![]() Nominees Dole and Kemp | |
| Convention | |
|---|---|
| Date(s) | August 12–August 15, 1996 |
| City | San Diego, California |
| Venue | San Diego Convention Center |
| Keynote speaker | Susan Molinari |
| Candidates | |
| Presidential nominee | Bob Dole of Kansas |
| Vice Presidential nominee | Jack Kemp of New York |
| Voting | |
| Total delegates | 1,975 |
| Votes needed for nomination | 1,007 |
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
Template:Organization infoboxes
| The above documentation is transcluded from Template:Infobox national political convention/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
