Difference between revisions of "Template:Infobox U.S. federal election campaign/doc"
Jump to navigation
Jump to search
imported>BD2412 m (One-time conversion of links from moved articles to improve ease of automated parsing.) |
imported>MrX (updated docs) |
||
| Line 71: | Line 71: | ||
; campaign : General election campaign article (abbreviate "United States" as "U.S.") <br />Example: [[2008 United States presidential election|U.S. presidential election, 2008]] | ; campaign : General election campaign article (abbreviate "United States" as "U.S.") <br />Example: [[2008 United States presidential election|U.S. presidential election, 2008]] | ||
; candidate : Candidate's first and last names | ; candidate : Candidate's first and last names | ||
| − | ; cand_id : FEC candidate identification number. To locate, open | + | ; cand_id : FEC candidate identification number. To locate, open [https://www.fec.gov/data/browse-data/?tab=candidates] at FEC, search for the candidate name, then click on the candidate name. The cand_ID number will be below the name in the header and in the url.<br /> Example: P80003411 |
; fec_date : Date of most recent FEC quarterly statistics in [[ISO 8601|[YYYY]-[MM]-[DD]]] format. <br /> Example: 2007-09-30 | ; fec_date : Date of most recent FEC quarterly statistics in [[ISO 8601|[YYYY]-[MM]-[DD]]] format. <br /> Example: 2007-09-30 | ||
; status : Indicate if campaign is no longer active. <br /> Example: <nowiki>Withdrawn</nowiki> | ; status : Indicate if campaign is no longer active. <br /> Example: <nowiki>Withdrawn</nowiki> | ||
| Line 77: | Line 77: | ||
; headquarters : Location of campaign headquarters | ; headquarters : Location of campaign headquarters | ||
; key_people : Individuals most closely associated with the campaign. Limit to at most two or three people. To avoid [[Wikipedia:Red link|red link]]s, only link names with existing Wikipedia articles. | ; key_people : Individuals most closely associated with the campaign. Limit to at most two or three people. To avoid [[Wikipedia:Red link|red link]]s, only link names with existing Wikipedia articles. | ||
| − | ; receipts : Total campaign contributions as indicated by the most recent [ | + | ; receipts : Total campaign contributions as indicated by the most recent statistics from the FEC[https://www.fec.gov/data/browse-data/?tab=candidates] in millions of US$ (do not add dollar sign). <br /> Example: <nowiki>18.5</nowiki> |
; slogan : Slogan used by the campaign. | ; slogan : Slogan used by the campaign. | ||
; themesong : Theme song | ; themesong : Theme song | ||
Revision as of 11:47, 20 October 2019
| This is a documentation subpage for Template:Infobox U.S. federal election campaign. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Template:Parameter names example
{{Infobox U.S. federal election campaign
| committee =
| logo =
| logo_alt =
| campaign =
| candidate =
| affiliation =
| status =
| headquarters =
| key_people =
| receipts =
| receipts_footnote =
| fec_date =
| slogan =
| themesong =
| chant =
| successor =
| website =
}}
Example
| Richardson for President | |
|---|---|
| Campaign | U.S. presidential election, 2008 |
| Candidate | Bill Richardson |
| Affiliation | Democratic Party |
| Status | Withdrawn |
| Headquarters | Santa Fe, New Mexico |
| Key people | Template:Ubl |
| Receipts | Template:US$ (2007-12-31) |
| Slogan | Real Experience, Real Accomplishments |
| Website | |
| Template:URL | |
{{Infobox U.S. federal election campaign
| committee = Richardson for President
| logo =
| campaign = [[2008 United States presidential election|U.S. presidential election, 2008]]
| candidate = [[Bill Richardson]]
| cand_id = P80003411
| fec_date = 2007-09-30
| status = Withdrawn
| affiliation = [[Democratic Party (United States)|Democratic Party]]
| headquarters = [[Santa Fe, New Mexico]]
| key_people = {{Ubl|Dave Contarino (Manager)|Amanda Cooper (Deputy Manager)}}
| receipts = 18.7
| slogan = Real experience, <br />Real Accomplishments
| themesong =
| website = {{URL|http://www.richardsonforpresident.com/}}
}}
Parameters
All fields are optional.
- committee
- Name of campaign's authorized committee, as listed with the FEC. Drop candidate's first name, "2008", or "Inc."), if preferred.
- logo
- Campaign logo
- campaign
- General election campaign article (abbreviate "United States" as "U.S.")
Example: U.S. presidential election, 2008 - candidate
- Candidate's first and last names
- cand_id
- FEC candidate identification number. To locate, open [1] at FEC, search for the candidate name, then click on the candidate name. The cand_ID number will be below the name in the header and in the url.
Example: P80003411 - fec_date
- Date of most recent FEC quarterly statistics in [YYYY]-[MM]-[DD] format.
Example: 2007-09-30 - status
- Indicate if campaign is no longer active.
Example: Withdrawn - affiliation
- Political party affiliation
- headquarters
- Location of campaign headquarters
- key_people
- Individuals most closely associated with the campaign. Limit to at most two or three people. To avoid red links, only link names with existing Wikipedia articles.
- receipts
- Total campaign contributions as indicated by the most recent statistics from the FEC[2] in millions of US$ (do not add dollar sign).
Example: 18.5 - slogan
- Slogan used by the campaign.
- themesong
- Theme song
- website
- Campaign website