Difference between revisions of "Template:Infobox officeholder/testcases"

From blackwiki
Jump to navigation Jump to search
(awards -> mawards)
imported>Number 57
(Subterm/office)
 
(17 intermediate revisions by 6 users not shown)
Line 5: Line 5:
 
|bodyclass          = plainlist
 
|bodyclass          = plainlist
 
|honorific-prefix  = Dr.
 
|honorific-prefix  = Dr.
 +
|honorific-suffix  = Suffix Test
 
|name              = Goh Keng Swee
 
|name              = Goh Keng Swee
 
|image              =  
 
|image              =  
Line 67: Line 68:
 
|children          = Goh Kian Chee
 
|children          = Goh Kian Chee
 
|alma_mater        = [[Raffles College]] (Dip. A.), [[London School of Economics|LSE]] ([[Bachelor's degree#Business and management degrees|B.Sc. (Econ.)]], 1951; [[Doctor of Philosophy|Ph.D.]], 1954)
 
|alma_mater        = [[Raffles College]] (Dip. A.), [[London School of Economics|LSE]] ([[Bachelor's degree#Business and management degrees|B.Sc. (Econ.)]], 1951; [[Doctor of Philosophy|Ph.D.]], 1954)
|portfolio          =  
+
|portfolio          = <!--
|religion          = [[Methodism|Methodist]]
+
|religion          = [[Methodism|Methodist]] (this parameter does not exist) -->
 +
|awards            =
 
|signature          =  
 
|signature          =  
 
|signature_alt      =  
 
|signature_alt      =  
Line 74: Line 76:
 
<!--Military service-->
 
<!--Military service-->
 
|branch            =  
 
|branch            =  
 +
|mawards            =
 
|serviceyears      =  
 
|serviceyears      =  
 
|rank              = [[Corporal]]
 
|rank              = [[Corporal]]
 
|unit              = [[Singapore Volunteer Corps]]
 
|unit              = [[Singapore Volunteer Corps]]
 +
|date = date for source
 +
|source = Source for test case
 
}}
 
}}
  
Line 84: Line 89:
 
|name=Harry S. Truman
 
|name=Harry S. Truman
 
|image=Harry-truman.jpg
 
|image=Harry-truman.jpg
|alt=Head and shoulders portait of 60-year-old man in 1940s business suit, wearing round horn-rimmed glasses and looking directly at camera.
+
|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=[[List of Presidents of the United States|33rd]] [[President of the United States]]
 
|order=[[List of Presidents of the United States|33rd]] [[President of the United States]]
 
|term_start=April 12, 1945
 
|term_start=April 12, 1945
Line 111: Line 116:
 
|occupation=[[Small business|Small]] [[Businessperson|businessman]] ([[haberdasher]]), [[farmer]]
 
|occupation=[[Small business|Small]] [[Businessperson|businessman]] ([[haberdasher]]), [[farmer]]
 
|religion=[[Baptists|Baptist]]
 
|religion=[[Baptists|Baptist]]
 +
|awards=
 
|signature=Harry Truman Signature.svg
 
|signature=Harry Truman Signature.svg
 
|signature_alt="Harry S. Truman" signature
 
|signature_alt="Harry S. Truman" signature
|rank=[[Captain (United States)|Captain]]
+
|rank=[[Captain (United States O-3)|Captain]]
 
|branch=[[Missouri National Guard]]<br />[[United States Army]]
 
|branch=[[Missouri National Guard]]<br />[[United States Army]]
 
|serviceyears=1905-1911<br />1917-1919
 
|serviceyears=1905-1911<br />1917-1919
Line 121: Line 127:
 
|mawards=
 
|mawards=
 
}}
 
}}
 +
 
== Samuel Adams ==
 
== Samuel Adams ==
  
Line 140: Line 147:
 
|party= [[Democratic-Republican Party|Democratic-Republican]] (1790s)
 
|party= [[Democratic-Republican Party|Democratic-Republican]] (1790s)
 
|religion= [[Congregational church|Congregationalist]]
 
|religion= [[Congregational church|Congregationalist]]
 +
|awards=
 
|signature=Samuel Adams Signature.svg
 
|signature=Samuel Adams Signature.svg
 
|signature_alt=Handwritten "Saml Adams", with the "l" a raised curlicue
 
|signature_alt=Handwritten "Saml Adams", with the "l" a raised curlicue
Line 155: Line 163:
 
|term_end5 = 1774
 
|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 ==
 
== State Rep and Speaker ==
 
{{Testcase table
 
{{Testcase table
Line 172: Line 214:
 
| party = [[Republican Party (United States)|Republican]]
 
| party = [[Republican Party (United States)|Republican]]
 
| religion =  
 
| religion =  
 +
|awards=
 
| alma_mater  = [[Oklahoma State University]], [[Vanderbilt University]]
 
| alma_mater  = [[Oklahoma State University]], [[Vanderbilt University]]
 
| constituency = 96th House District
 
| constituency = 96th House District
Line 220: Line 263:
 
}}
 
}}
  
 +
== Native name ==
 +
{{Testcase table<!-- Infobox officeholder -->
 +
|name      = Yang Gang
 +
|native_name = {{lang|zh-Hans-CN|杨刚}}
 +
}}
 
== List test ==
 
== List test ==
 
{{Testcase table<!-- Infobox officeholder -->
 
{{Testcase table<!-- Infobox officeholder -->
Line 358: Line 406:
 
| succeeding = Foo
 
| succeeding = Foo
 
}}
 
}}
 +
==Sub term/office==
 +
{{Testcase table
 +
|name=Name
 +
|image= Example.svg
 +
|birth_date = {{Birth date and age|1949|10|28|df=yes}}
 +
|birth_place = [[Saint Petersburg|Leningrad]], [[Soviet Union]]
 +
|death_date =
 +
|death_place =
 +
|office1 = Ministerial positions
 +
|suboffice1 = [[Immigrant Absorption Minister of Israel|Minister of Immigrant Absorption]]
 +
|subterm1 = 2009–2015
 +
|suboffice2 = {{nowrap|[[Ministry of Aliyah and Integration|Minister of Aliyah and Integration]]}}
 +
|subterm2 = 2016–2018
 +
|office3 = Faction represented in the [[Knesset]]
 +
|suboffice3 = [[Israeli Labor Party|Labor Party]]
 +
|subterm3 = 1996–1999
 +
|suboffice4 = [[One Israel]]
 +
|subterm4 = 1999–2001
 +
|suboffice5 = [[Israeli Labor Party|Labor Party]]
 +
|subterm5 = 2001–2003
 +
|suboffice6 = [[Israeli Labor Party|Labor Party]]
 +
|subterm6 = 2006
 +
|suboffice7 = [[Yisrael Beiteinu]]
 +
|subterm7 = 2006–
 +
}}
 +
 
== All blank ==
 
== All blank ==
 
{{Testcase table
 
{{Testcase table
Line 1,538: Line 1,612:
 
| nationality =  
 
| nationality =  
 
| otherparty =  
 
| otherparty =  
 +
| height =
 
| spouse =  
 
| spouse =  
 
| partner =  
 
| partner =  
Line 1,553: Line 1,628:
 
| portfolio =  
 
| portfolio =  
 
| religion =  
 
| religion =  
 +
| awards =
 
| blank1 =  
 
| blank1 =  
 
| data1 =  
 
| data1 =  
Line 2,776: Line 2,852:
 
| nationality = {{{nationality}}}
 
| nationality = {{{nationality}}}
 
| otherparty = {{{otherparty}}}
 
| otherparty = {{{otherparty}}}
 +
| height = {{{height}}}
 
| spouse = {{{spouse}}}
 
| spouse = {{{spouse}}}
 
| partner = {{{partner}}}
 
| partner = {{{partner}}}
Line 2,791: Line 2,868:
 
| portfolio = {{{portfolio}}}
 
| portfolio = {{{portfolio}}}
 
| religion = {{{religion}}}
 
| religion = {{{religion}}}
 +
| awards = {{{awards}}}
 
| blank1 = {{{blank1}}}
 
| blank1 = {{{blank1}}}
 
| data1 = {{{data1}}}
 
| data1 = {{{data1}}}
Line 2,832: Line 2,910:
 
| year = {{{year}}}
 
| year = {{{year}}}
 
| source = {{{source}}}
 
| source = {{{source}}}
 +
}}
 +
== Embedding ==
 +
{{col-begin|width=auto}}
 +
{{col-2}}
 +
{{Infobox person
 +
| name = officeholder
 +
| image = Example.svg
 +
| module = {{Infobox officeholder|embed=yes
 +
| image = Example.svg
 +
| title1 = Mayor of Wikipedia
 +
}}
 +
}}
 +
{{col-2}}
 +
{{Infobox person
 +
| name = officeholder/sandbox
 +
| image = Example.svg
 +
| module = {{Infobox officeholder/sandbox|embed=yes
 +
| image = Example.svg
 +
| title1 = Mayor of Wikipedia
 +
}}
 +
}}
 +
{{col-end}}
 +
 +
== Religion/denomination ==
 +
{{Infobox officeholder/sandbox
 +
| native_name = John Just-Religion
 +
| religion = Pastafarian
 +
| spouse = Mrs Just-Religion
 +
}}
 +
{{Infobox officeholder/sandbox
 +
| native_name = John Just-Denomination
 +
| denomination = Gluten Free
 +
| spouse = Mrs Just-Denomination
 +
}}
 +
{{Infobox officeholder/sandbox
 +
| native_name = John Both
 +
| religion = Pastafarian
 +
| denomination = Gluten Free
 +
| spouse = Mrs Both
 
}}
 
}}

Latest revision as of 14:12, 8 February 2021

Goh Keng Swee

Template:Testcase table

Harry Truman

Template:Testcase table

Samuel Adams

Template:Testcase table

Order / Office / Title

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

State Rep and Speaker

Template:Testcase table

Past & future dates

Template:Testcase table

Native name

Template:Testcase table

List test

Template:Testcase table

Congressmen

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Speaker

Template:Testcase table Template:Testcase table Template:Testcase table

Template:Testcase table

Template:Testcase table

Template:Testcase table

Succeeding/Term/Term_start/Term_end

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table

Sub term/office

Template:Testcase table

All blank

Template:Testcase table

All non-blank

Template:Testcase table

Embedding

Religion/denomination

John Just-Religion
Personal details
Spouse(s)Mrs Just-Religion
John Just-Denomination
Personal details
Spouse(s)Mrs Just-Denomination
John Both
Personal details
Spouse(s)Mrs Both