Templat:Infobox officeholder/example
This page is to aid users in the application of {{Infobox officeholder}}.
General office
sunting{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Ambassador
sunting{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Assembly Member
suntingNick Bourne AM | |
---|---|
Member of the Welsh Assembly for Mid and West Wales | |
Incumbent | |
Assumed office 6 May 1999 | |
Preceded by | (new constituency) |
Personal details | |
Born | 1952 |
Nationality | British |
Political party | Conservative |
Alma mater | University of Wales, Aberystwyth |
Website | Nick Bourne's Blog |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Governor
suntingGray Davis | |
---|---|
37th Governor of California | |
In office January 4, 1999 – November 17, 2003 | |
Lieutenant | Cruz Bustamante |
Preceded by | Pete Wilson |
Succeeded by | Arnold Schwarzenegger |
Personal details | |
Born | Templat:Birth date and age New York, New York |
Nationality | American |
Political party | Democratic |
Spouse(s) | Sharon Ryer Davis |
Profession | Politician |
Religion | Roman Catholic |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Judge
sunting{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Nominee/Candidate
suntingRalph Nader | |
---|---|
Independent candidate for President of the United States | |
Running mate | Matt Gonzalez |
Opponent(s) | John McCain (R), Barack Obama (D) and numerous others. |
Incumbent | George W. Bush |
Personal details | |
Born | Templat:Birth date and age Winsted, Connecticut United States |
Political party | Independent |
Other political affiliations |
Green (affiliated non-member) Reform (affiliated non-member) American Communist Party (affiliated non-member) |
Occupation | Attorney and political activist |
Religion | Maronite Catholic Church |
Website | http://www.votenader.org/ |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Member of Parliament
suntingDiane Abbott | |
---|---|
Member of the United Kingdom Parliament for Hackney North and Stoke Newington | |
Incumbent | |
Assumed office 11 June 1987 | |
Preceded by | Ernie Roberts |
Majority | 7,427 (25.3%) |
Personal details | |
Born | Templat:Birth date and age Paddington, London |
Nationality | British |
Political party | Labour |
Alma mater | Newnham College, Cambridge |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
US Congressman
suntingDennis Hastert | |
---|---|
59th Speaker of the U.S. House of Representatives | |
In office January 6, 1999 – January 3, 2007 | |
Preceded by | Newt Gingrich |
Succeeded by | Nancy Pelosi |
Member of the U.S. House of Representatives from Illinois's 14th district | |
Incumbent | |
Assumed office January 6, 1987 | |
Preceded by | John E. Grotberg |
Personal details | |
Born | Templat:Birth date and age Aurora, Illinois |
Nationality | American |
Political party | Republican |
Spouse(s) | Jean Kahl |
Occupation | Mentoring |
Religion | Methodist |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
State Representative
sunting{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
US Senator
suntingJohn Sidney McCain III | |
---|---|
United States Senator from Arizona | |
Incumbent | |
Assumed office January 3, 1987 Serving with Jon Kyl | |
Preceded by | Barry Goldwater |
Member of the U.S. House of Representatives from Arizona's 1st district | |
In office 1983–1987 | |
Preceded by | John Jacob Rhodes |
Succeeded by | John Jacob Rhodes III |
Personal details | |
Born | Templat:Birth date and age Panama Canal Zone (U.S. Territory) |
Nationality | American |
Political party | Republican |
Spouse(s) | (1) Carol Shepp, divorced;
(2) Cindy Hensley McCain |
Profession | Naval Aviator |
Religion | Episcopalian |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
State Senator
suntingDave Syverson | |
---|---|
Member of the Illinois Senate from the 34th district | |
Incumbent | |
Assumed office 1993 | |
Personal details | |
Born | Templat:Birth date and age Chicago, Illinois |
Nationality | American |
Political party | Republican |
Spouse(s) | Shirley Syverson |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}
Multiple terms
sunting- Place the most recent terms at the top. When both a start and an end term are given, you can instead specify the complete term using using the parameters
|term=
,|terms2=
, etc., as is done with|term3=
in the example below. This can be helpful with complicated terms that cannot be given as simple starting or ending dates, or if you prefer something other than the default term separator (an en dash, with spaces around it if the start or end is not a simple integer date).
Samuel Adams | |
---|---|
In this 1772 portrait by John Singleton Copley, Adams points at the Massachusetts Charter, which he viewed as a constitution that protected the people's rights. | |
4th Governor of Massachusetts | |
In office October 8, 1793 – June 2, 1797 | |
Lieutenant | Moses Gill |
3rd Lieutenant Governor of Massachusetts | |
In office 1789–1793 | |
Governor | John Hancock |
President of the Massachusetts Senate | |
In office 1782–1785 1787–1788 | |
Delegate from Massachusetts to the Continental Congress | |
In office 1774–1781 | |
Clerk of the Massachusetts House of Representatives | |
In office 1766–1774 | |
Personal details | |
Born | Templat:OldStyleDate Boston, Massachusetts |
Died | Templat:Death date and age Cambridge, Massachusetts |
Political party | Democratic-Republican (1790s) |
Spouse(s) | Elizabeth Checkley, Elizabeth Wells |
Religion | Congregationalist |
Signature |
{{#switch:{{{2}}}|nowiki|nw={{#tag:nowiki|{{{3}}}}}|{{{2}}}}}|white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;{{{style|}}}">{{#switch:{{{1}}}|nowiki|nw={{#tag:nowiki|{{{2}}}}}|{{{1}}}}} }}