Difference between revisions of "Template:Infobox national political convention/doc"
Jump to navigation
Jump to search
imported>Vanisaac |
|||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Documentation subpage}}<pre> | + | {{Documentation subpage}} |
− | {{Infobox national political convention | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
− | |year = | + | == Usage == |
− | |party = | + | {{Parameter names example|_template=|year|party|alternate|image|image_size|image2|image_size2|image3|image_size3|caption|logo|logo_size|election_year|election_year |date|city2|city|venue|chair|keynote_speaker|speakers|presidential_nominee|presidential_nominee_state|vice_presidential_nominee|vice_presidential_nominee_state|vice_presidential_nominee_state |othercandidates|totaldelegates|votesneeded|presidenttotals|vicepresidenttotals|ballots|previous_year|next_year}} |
− | |election_year = | + | <pre style="overflow: auto;">{{Infobox national political convention |
+ | |year = | ||
+ | |party = | ||
+ | |election_year = | ||
|logo = | |logo = | ||
|image = | |image = | ||
Line 10: | Line 13: | ||
|image_size2 = | |image_size2 = | ||
|caption = | |caption = | ||
− | |date = | + | |date = |
− | |city = | + | |city = |
− | |venue = | + | |venue = |
− | | | + | |convention_chair = |
− | |keynote_speaker = | + | |keynote_speaker = |
− | |presidential_nominee = | + | |presidential_nominee = |
− | |presidential_nominee_state = | + | |presidential_nominee_state = |
− | |vice_presidential_nominee = | + | |vice_presidential_nominee = |
− | |vice_presidential_nominee_state = | + | |vice_presidential_nominee_state = |
|othercandidates = | |othercandidates = | ||
− | |totaldelegates = | + | |totaldelegates = |
− | |votesneeded = | + | |votesneeded = |
− | |ballots = | + | |ballots = |
− | }} | + | }}</pre> |
− | + | == Parameters == | |
− | |||
<pre> | <pre> | ||
|logo = Convention logo (optional) Note: Width is automatically set to 50px. | |logo = Convention logo (optional) Note: Width is automatically set to 50px. | ||
Line 52: | Line 54: | ||
|ballots = Number of ballots taken for the presidential nomination. | |ballots = Number of ballots taken for the presidential nomination. | ||
</pre> | </pre> | ||
− | {{Infobox | + | |
+ | == Example == | ||
+ | {{Infobox National Political Convention | ||
| year = 1996 | | year = 1996 | ||
| party = Republican | | party = Republican | ||
− | + | | logo = | |
− | | logo = | ||
| image = Bob_Dole,_PCCWW_photo_portrait.JPG | | image = Bob_Dole,_PCCWW_photo_portrait.JPG | ||
− | | image2 = | + | | image2 = Jack Kemp official portrait.jpg |
| image_size2 = 92 | | image_size2 = 92 | ||
− | + | | caption = Nominees <br> Dole and Kemp | |
− | | date = August | + | | date = August 12–August 15, 1996 |
+ | | keynote_speaker = [[Susan Molinari]] | ||
| venue = [[San Diego Convention Center]] | | venue = [[San Diego Convention Center]] | ||
| city = [[San Diego, California]] | | city = [[San Diego, California]] | ||
− | + | | presidential_nominee = [[Bob Dole]] | |
− | | presidential_nominee = | ||
| presidential_nominee_state = [[Kansas]] | | presidential_nominee_state = [[Kansas]] | ||
| vice_presidential_nominee = [[Jack Kemp]] | | vice_presidential_nominee = [[Jack Kemp]] | ||
− | | vice_presidential_nominee_state = [[New York]] | + | | vice_presidential_nominee_state = [[New York (state)|New York]] |
− | |||
| totaldelegates = 1,975 | | totaldelegates = 1,975 | ||
| votesneeded = 1,007 | | votesneeded = 1,007 | ||
+ | | previous_year = 1992 | ||
+ | | next_year = 2000 | ||
}} | }} | ||
Here's an example using information for the [[1996 Republican National Convention]]: | Here's an example using information for the [[1996 Republican National Convention]]: | ||
<pre> | <pre> | ||
− | | year | + | | year = 1996 |
− | | party | + | | party = Republican |
− | | image | + | | logo = |
− | | image2 | + | | image = Bob_Dole,_PCCWW_photo_portrait.JPG |
+ | | image2 = Jack Kemp official portrait.jpg | ||
| image_size2 = 92 | | image_size2 = 92 | ||
− | | date | + | | caption = Nominees <br> Dole and Kemp |
− | | venue | + | | date = August 12–August 15, 1996 |
− | | city | + | | keynote_speaker = [[Susan Molinari]] |
− | | presidential_nominee | + | | venue = [[San Diego Convention Center]] |
− | | presidential_nominee_state | + | | city = [[San Diego, California]] |
− | | vice_presidential_nominee | + | | presidential_nominee = [[Bob Dole]] |
− | | vice_presidential_nominee_state = [[New York]] | + | | presidential_nominee_state = [[Kansas]] |
− | | totaldelegates | + | | vice_presidential_nominee = [[Jack Kemp]] |
− | | votesneeded | + | | vice_presidential_nominee_state = [[New York (state)|New York]] |
+ | | totaldelegates = 1,975 | ||
+ | | votesneeded = 1,007 | ||
+ | | previous_year = 1992 | ||
+ | | next_year = 2000 | ||
</pre> | </pre> | ||
{{Organization infoboxes}} | {{Organization infoboxes}} | ||
+ | |||
+ | <includeonly>{{Sandbox other|| | ||
+ | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
+ | [[Category:Politics and government infobox templates|National political convention]] | ||
+ | }}</includeonly> |
Latest revision as of 20:33, 25 April 2020
![]() | This is a documentation subpage for Template:Infobox national political convention. It contains usage information, categories and other content that is not part of the original template page. |
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