Template:Infobox officeholder/testcases#Use of subterm and suboffice parameters
{{see also|Template:Infobox officeholder/testcases2|Template:Infobox officeholder/testcases3}}
{{Testcases}}
Goh Keng Swee
{{Testcase table
|bodyclass = plainlist
|honorific-prefix = Dr.
|honorific-suffix = Suffix Test
|name = Goh Keng Swee
|image =
|imagesize =
|alt = Black and white photograph of the head and shoulders of a balding Chinese man in a suit and tie, smiling broadly
|caption =
|order = 2nd
|office = Deputy Prime Minister of Singapore
|term_start = March 1973
|term_end = December 1984
|primeminister = Lee Kuan Yew
|predecessor = Toh Chin Chye
|successor = S. Rajaratnam
|constituency = Kreta Ayer
|order2 =
|office2 = Minister for Education
|term2 = 12 February 1979 – 31 May 1980,
1 June 1981 – 1 January 1985
|predecessor2 =
|successor2 =
|order3 = 3rd
|office3 = Minister for Defence
|term_start3 = 11 August 1970
|term_end3 = 11 February 1979
|predecessor3 =
|successor3 =
|order4 = 3rd
|office4 = Minister for Finance
|term_start4 = 17 August 1967
|term_end4 = 10 August 1970
|predecessor4 = Lim Kim San
|successor4 = Hon Sui Sen
|order5 = 1st
|office5 = Minister for Home Affairs and Defence
|term_start5 = 9 August 1965
|term_end5 = 16 August 1967
|predecessor5 =
|successor5 =
|order6 = 1st
|office6 = Minister for Finance
|term_start6 = 5 June 1959
|term_end6 = 8 August 1965
|predecessor6 =
|successor6 = Lim Kim San
|birthname = Robert Goh Keng Swee
|birth_date = 6 October 1918
|birth_place = Malacca, Straits Settlements
|death_date = {{Death date and age|2010|5|14|1918|10|6|df=yes}}
|death_place = Singapore
|restingplace =
|restingplacecoordinates =
|nationality = Singaporean
|party = People's Action Party
|spouse =
- Alice Woon (1942–1986)
- Dr. Phua Swee Liang (from 1991)
|children = Goh Kian Chee
|alma_mater = Raffles College (Dip. A.), LSE (B.Sc. (Econ.), 1951; Ph.D., 1954)
|portfolio =
|awards =
|signature =
|signature_alt =
|footnotes =
|branch =
|mawards =
|serviceyears =
|rank = Corporal
|unit = Singapore Volunteer Corps
|date = date for source
|source = Source for test case
}}
Harry Truman
{{Testcase table
|name=Harry S. Truman
|image=Harry-truman.jpg
|alt=Head and shoulders portrait of 60-year-old man in 1940s business suit, wearing round horn-rimmed glasses and looking directly at camera.
|order=33rd President of the United States
|term_start=April 12, 1945
|term_end=January 20, 1953
|vicepresident=None (1945–1949)
Alben Barkley (1949–1953)
|predecessor=Franklin D. Roosevelt
|successor=Dwight D. Eisenhower
|birth_date={{birth date|1884|5|8|mf=y}}
|birth_place=Lamar, Missouri
|death_date={{death date and age|1972|12|26|1884|5|8}}
|death_place=Kansas City, Missouri
|order2=34th Vice President of the United States
|term_start2=January 20, 1945
|term_end2=April 12, 1945
|president2=Franklin D. Roosevelt
|predecessor2=Henry A. Wallace
|successor2=Alben W. Barkley
|order3=United States Senator
from Missouri
|term_start3=January 3, 1935
|term_end3 =January 17, 1945
|predecessor3=Roscoe C. Patterson
|successor3=Frank P. Briggs
|party=Democratic
|spouse=Bess Wallace Truman
|children=Mary Margaret Truman
|occupation=Small businessman (haberdasher), farmer
|awards=
|signature=Harry Truman Signature.svg
|signature_alt="Harry S. Truman" signature
|rank=Captain
|branch=Missouri National Guard
United States Army
|serviceyears=1905-1911
1917-1919
|commands=Battery D, 129th Field Artillery, 60th Brigade, 35th Infantry Division
|battles=World War I
|mawards=
}}
Samuel Adams
{{Testcase table
|name= Samuel Adams
|image= J S Copley - Samuel Adams.jpg
|caption=In this 1772 portrait by John Singleton Copley, Adams points at the Massachusetts Charter, which he viewed as a constitution that protected the peoples' rights.
|alt=A stern middle-aged man with gray hair is wearing a dark red suit. He is standing behind a table, holding a rolled up document in one hand, and pointing with the other hand to a large document on the table.
|order=4th
|office= Governor of Massachusetts
|term_start= October 8, 1793
|term_end= June 2, 1797
|lieutenant= Moses Gill
|birth_date= {{OldStyleDate|September 27|1722|September 16}}
|birth_place= Boston, Massachusetts
|death_date= {{death date and age|1803|10|2|1722|9|27|}}
|death_place= Cambridge, Massachusetts
|spouse= Elizabeth Checkley,
Elizabeth Wells
|party= Democratic-Republican (1790s)
|awards=
|signature=Samuel Adams Signature.svg
|signature_alt=Handwritten "Saml Adams", with the "l" a raised curlicue
|order2 = 3rd Lieutenant Governor of Massachusetts
|term_start2 = 1789
|term_end2 = 1793
|governor2 = John Hancock
|order3 = President of the Massachusetts Senate
|term3 = 1782–1785
1787–1788
|order4= Delegate from Massachusetts to the Continental Congress
|term_start4= 1774
|term_end4= 1781
|order5 = Clerk of the Massachusetts House of Representatives
|term_start5 = 1766
|term_end5 = 1774
}}
Order / Office / Title
{{Testcase table
| name = Office
| order =
| office = President of Harvard University
}}
{{Testcase table
| name = Title
| order =
| title = President of Harvard University
}}
{{Testcase table
| name = Order + Office
| order = 1st
| office = President of Harvard University
}}
{{Testcase table
| name = Order + Title
| order = 1st
| title = President of Harvard University
}}
{{Testcase table
| name = Order + Office + Title
| order = 1st
| title = President of Harvard University
| office = President of Harvard University
}}
{{Testcase table
| name = Office + Title
| order =
| title = President of Harvard University
| office = President of Harvard University
}}
State Rep and Speaker
{{Testcase table
|name = Lance Cargill
|image =
|speaker = 39th
|term_start2 = 2007
|term_end2 = 2008
|predecessor2 = Todd Hiett
|successor2 = Chris Benge
|state_house = Oklahoma
|district = 96th
|term_start = 2001
|term_end = 2008
|preceded = Mark Seikel
|succeeded = Lewis Moore
| party = Republican
|awards=
| alma_mater = Oklahoma State University, Vanderbilt University
| constituency = 96th House District
| majority =
| spouse = Amber
| children = Jackson
Henry
}}
Past & future dates
{{Testcase table
|name= Name
|image= Example.svg
|order=Order 1
|office= Office
|term_start = {{#time:j F Y|now-10 days}}
|term_end = {{#time:j F Y|now-5 days}}
|predecessor = Predecessor
|successor = Successor
|order2 = Order 2
|term_start2 = {{#time:j F Y|now-5 days}}
|term_end2 = {{#time:j F Y|now+5 days}}
|predecessor2 = Predecessor
|successor2 = Successor
|order3 = Order 3
|term_start3 = {{#time:j F Y|now+5 days}}
|predecessor3 = Predecessor
|successor3 = Successor
|order4= Order 4
|term_start4 = {{#time:j F Y|now-5 days}}
|term_end4 = {{#time:j F Y|now}}
|predecessor4 = Predecessor
|successor4 = Successor
|order5 = Order 5
|term_start5 = {{#time:j F Y|now}}
|predecessor5 = Predecessor
|successor5 = Successor
|order6 = Order 6
|term_start6 = {{#time:F Y|now-1 month}}
|term_end6 = {{#time:F Y|now}}
|predecessor6 = Predecessor
|successor6 = Successor
|order7 = Order 7
|term_start7 = {{#time:Y|now}}
|term_end7 = {{#time:Y|now+1 year}}
|predecessor7 = Predecessor
|successor7 = Successor
}}
Native name
{{Testcase table
|name = Yang Gang
|native_name = {{lang|zh-Hans-CN|杨刚}}
}}
List test
{{Testcase table
|bodyclass = plainlist
|name= List Test
|office = A
|deputy =
- 1
- 2
|office2 = B
|deputy2 =
- 1
- 2
|spouse=
- 1
- 2
|alma_mater=
- 1111111111111
- 2222222222222
}}
Congressmen
{{Testcase table
| name = Nevada 1 Test
| district = 1st
| state_assembly = Nevada
| assuming = y
| term_start = 2016
| predecessor = Foo Bar
}}
{{Testcase table
| name = Nevada 3 Test
| district = 1st
| state_assembly = Nevada
| term_start = 2016
| status= Status
}}
{{Testcase table
| name = Nevada 3 Test
| district = 1st
| state_assembly = Nevada
| term_start = January 30, 2016
| status= Status
}}
{{Testcase table
| name = Missouri 1 Test
| district = 1st
| state_house = Missouri
| predecessor = Foo Bar
}}
{{Testcase table
| name = Franklin Pierce Test
| constituency = Hillsborough
| state_house = New Hampshire
}}
Dash format changes when adding reference
{{testcase table
| office = Office
| term_start = 31 October 2014
| term_end = 4 June 2016
| name = Name
| constituency_AM1 = test
| assembly1 = test
| term_start1 = 1989
| term_end1 = 2019
| office3 = office3
| term_start3 = 1995
| term_end3 = 1999
| office4 = office4
| term_start4 = 2009
| term_end4 = 2014
}}
{{testcase table
| office = Office
| term_start = 31 October 2014
| term_end = 4 June 2016
| name = Name
| constituency_AM1 = test
| assembly1 = test
| term_start1 = 1989
| term_end1 = 2019test
| office3 = office3
| term_start3 = 1995
| term_end3 = 1999test
| office4 = office4
| term_start4 = 2009
| term_end4 = 2014test
}}
{{testcase table
| office = Office
| term_start = 31 October 2014
| term_end = 4 June 2016
| name = Name
| constituency_AM1 = test
| assembly1 = test
| term_start1 = 1989
| term_end1 = 2019
| office3 = office3
| term_start3 = 1995
| term_end3 = 1999test
| office4 = office4
| term_start4 = 2009
| term_end4 = 2014
}}
{{testcase table
| office = Office
| term_start = 31 October 2014
| term_end = 4 June 2016
| name = Name
| constituency_AM1 = test
| assembly1 = test
| term_start1 = 1989
| term_end1 = 2019
| office3 = office3
| term_start3 = 1995
| term_end3 = 1999test
| office4 = office4
| term_start4 = 2009
| term_end4 = present
}}
Use of subterm and suboffice parameters
{{testcase table
| office = President
| term_start = 31 October 2014
| term_end = 4 June 2016
| name = Jane Doe
| subterm = First Vice President
| suboffice = Mary Smith
| term_end1 = 2019
| office3 = office3
| term_start3 = 1995
| term_end3 = 1999
| office4 = office4
| term_start4 = 2009
| term_end4 = 2014
}}