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

From blackwiki
Jump to navigation Jump to search
imported>The-Pope
(Undid revision 861846730 by The-Pope (talk))
imported>Spike 'em
 
(2 intermediate revisions by the same user not shown)
Line 528: Line 528:
 
}}
 
}}
 
{{clear}}
 
{{clear}}
 +
==Multiple teams==
 +
===Nowiki workaround===
 +
{{Testcase table <!--Infobox cricketer-->
 +
|_caption=&nbsp;
 +
| name        = Gregory Strydom
 +
| birth_date        = {{birth date and age|1984|03|26}}
 +
| international      = true
 +
| country            = Zimbabwe
 +
| country2          = Cayman Islands
 +
| internationalspan = 2006
 +
| internationalspan2 = 2019
 +
| batting            = Right-hand bat
 +
| bowling            = Right-arm medium
 +
| columns            = 2
 +
| column1            = [[Twenty20 International|T20Is]]
 +
| matches1          = -
 +
| runs1              = -
 +
| bat avg1          = -
 +
| 100s/50s1          = -/-
 +
| top score1        = -
 +
| deliveries1        = -
 +
| wickets1          = -
 +
| bowl avg1          = -
 +
| fivefor1          = -
 +
| tenfor1            = -
 +
| best bowling1      = -
 +
| catches/stumpings1 = -/-
 +
| column2            = [[One Day International|ODIs]]
 +
| matches2          = 12
 +
| runs2              = 147
 +
| bat avg2          = 14.70
 +
| 100s/50s2          = 0/1
 +
| top score2        = 58
 +
| deliveries2        = 5
 +
| wickets2          = 1
 +
| bowl avg2          = 61.00
 +
| fivefor2          = 0
 +
| tenfor2            = n/a
 +
| best bowling2      = 1/28
 +
| catches/stumpings2 = 4/-
 +
 +
| odidebutdate = 25 February
 +
| odidebutyear = 2006
 +
| odidebutfor = Zimbabwe
 +
| odidebutagainst = Kenya
 +
| odicap = 93
 +
| lastodifor = Zimbabwe
 +
| lastodidate = 13 October
 +
| lastodiyear = 2006
 +
| lastodiagainst = Bangladesh
 +
 +
| T20Idebutdate = 18 August
 +
| T20Idebutyear = 2019
 +
| T20Idebutfor = Cayman Islands
 +
| T20Idebutagainst = Canada
 +
| T20Icap = <nowiki></nowiki>
 +
| T20Icap2 = 8
 +
|      lastT20Idate = 19 August
 +
|      lastT20Iyear = 2019
 +
|    lastT20Iagainst = United States
 +
| lastT20Ifor = Cayman Islands
 +
 +
|              date = 19 August 2019
 +
| source            = http://www.espncricinfo.com/ci/content/player/55782.html Cricinfo
 +
}}
 +
===empty t20icap ===
 +
{{Testcase table <!--Infobox cricketer-->
 +
|_caption=&nbsp;
 +
| name        = Gregory Strydom
 +
| birth_date        = {{birth date and age|1984|03|26}}
 +
| international      = true
 +
| country            = Zimbabwe
 +
| country2          = Cayman Islands
 +
| internationalspan = 2006
 +
| internationalspan2 = 2019
 +
| batting            = Right-hand bat
 +
| bowling            = Right-arm medium
 +
| columns            = 2
 +
| column1            = [[Twenty20 International|T20Is]]
 +
| matches1          = -
 +
| runs1              = -
 +
| bat avg1          = -
 +
| 100s/50s1          = -/-
 +
| top score1        = -
 +
| deliveries1        = -
 +
| wickets1          = -
 +
| bowl avg1          = -
 +
| fivefor1          = -
 +
| tenfor1            = -
 +
| best bowling1      = -
 +
| catches/stumpings1 = -/-
 +
| column2            = [[One Day International|ODIs]]
 +
| matches2          = 12
 +
| runs2              = 147
 +
| bat avg2          = 14.70
 +
| 100s/50s2          = 0/1
 +
| top score2        = 58
 +
| deliveries2        = 5
 +
| wickets2          = 1
 +
| bowl avg2          = 61.00
 +
| fivefor2          = 0
 +
| tenfor2            = n/a
 +
| best bowling2      = 1/28
 +
| catches/stumpings2 = 4/-
 +
 +
| odidebutdate = 25 February
 +
| odidebutyear = 2006
 +
| odidebutfor = Zimbabwe
 +
| odidebutagainst = Kenya
 +
| odicap = 93
 +
| lastodifor = Zimbabwe
 +
| lastodidate = 13 October
 +
| lastodiyear = 2006
 +
| lastodiagainst = Bangladesh
 +
 +
| T20Idebutdate = 18 August
 +
| T20Idebutyear = 2019
 +
| T20Idebutfor = Cayman Islands
 +
| T20Idebutagainst = Canada
 +
| T20Icap =
 +
| T20Icap2 = 8
 +
|      lastT20Idate = 19 August
 +
|      lastT20Iyear = 2019
 +
|    lastT20Iagainst = United States
 +
| lastT20Ifor = Cayman Islands
 +
 +
|              date = 19 August 2019
 +
| source            = http://www.espncricinfo.com/ci/content/player/55782.html Cricinfo
 +
}}
 +
 +
===Kepler Wessels===
 +
{{Testcase table <!--Infobox cricketer-->
 +
|_caption=&nbsp;
 +
|                name = Kepler Wessels
 +
|              image =
 +
|            fullname = Kepler Christoffel Wessels
 +
|          birth_date = {{Birth date and age|1957|9|14|df=yes}}
 +
|        birth_place = [[Bloemfontein]], [[Orange Free State Province]], [[Union of South Africa]]
 +
|            nickname =
 +
|            heightft =
 +
|          heightinch =
 +
|            heightm =
 +
|            batting = Left-handed
 +
|            bowling = Right arm [[off spin|off break]]<br />Right arm [[fast bowling|medium]]
 +
|                role = [[Batsman]]
 +
|              family = [[Riki Wessels]] (son)
 +
|      international = true
 +
|            country = Australia
 +
|            country2 = South Africa
 +
|      testdebutdate = 26 November
 +
|      testdebutyear = 1982
 +
|        testdebutfor = Australia
 +
|    testdebutagainst = England
 +
|            testcap = 317
 +
|            testcap2 = 246
 +
|        lasttestdate = 18 August
 +
|        lasttestyear = 1994
 +
|        lasttestfor = South Africa
 +
|    lasttestagainst = England
 +
|        odidebutdate = 9 January
 +
|        odidebutyear = 1983
 +
|        odidebutfor = Australia
 +
|    odidebutagainst = New Zealand
 +
|              odicap = 71
 +
|            odicap2 = 11
 +
|        lastodidate = 28 October
 +
|        lastodiyear = 1994
 +
|        lastodifor = South Africa
 +
|      lastodiagainst = Pakistan
 +
|            odishirt =
 +
|              club7 = [[Griqualand West cricket team|Griqualand West]]
 +
|              year7 = 1998/99–1999/00
 +
|              club6 = [[Eastern Province cricket team|Eastern Province]]
 +
|              year6 = 1986/87–1997/98
 +
|              club5 = [[Queensland cricket team|Queensland]]
 +
|              year5 = 1979/80–198586
 +
|              club2 = [[Sussex County Cricket Club|Sussex]]
 +
|              year2 = 1976–1980
 +
|              club4 = [[Transvaal cricket team|Northern Transvaal]]
 +
|              year4 = 1977/78
 +
|              club3 = [[Western Province cricket team (South Africa)|Western Province]]
 +
|              year3 = 1976/77
 +
|              club1 = [[Orange Free State cricket team|Orange Free State]]
 +
|              year1 = {{nowrap|1973/74–1975/76}}
 +
|            columns = 4
 +
|            column1 = [[Test cricket|Test]]
 +
|            column2 = [[One Day International|ODI]]
 +
|            column3 = [[First-class cricket|FC]]
 +
|            column4 = [[List A cricket|LA]]
 +
|            matches1 = 40<ref>24 Tests for Australia, 16 for South Africa</ref>
 +
|            matches2 = 109<ref>54 ODIs for Australia, 55 for South Africa</ref>
 +
|            matches3 = 316
 +
|            matches4 = 337
 +
|              runs1 = 2,788
 +
|              runs2 = 3,367
 +
|              runs3 = 24,738
 +
|              runs4 = 12,503
 +
|            bat avg1 = 41.00
 +
|            bat avg2 = 34.35
 +
|            bat avg3 = 50.58
 +
|            bat avg4 = 41.53
 +
|          100s/50s1 = 6/15
 +
|          100s/50s2 = 1/26
 +
|          100s/50s3 = 66/132
 +
|          100s/50s4 = 15/90
 +
|          top score1 = 179
 +
|          top score2 = 107
 +
|          top score3 = 254
 +
|          top score4 = 146
 +
|        deliveries1 = 90
 +
|        deliveries2 = 90
 +
|        deliveries3 = 1,416
 +
|        deliveries4 = 1,327
 +
|            wickets1 = 0
 +
|            wickets2 = 18
 +
|            wickets3 = 13
 +
|            wickets4 = 36
 +
|          bowl avg1 = –
 +
|          bowl avg2 = 37.00
 +
|          bowl avg3 = 44.15
 +
|          bowl avg4 = 31.11
 +
|            fivefor1 = –
 +
|            fivefor2 = 0
 +
|            fivefor3 = 0
 +
|            fivefor4 = 0
 +
|            tenfor1 = –
 +
|            tenfor2 = 0
 +
|            tenfor3 = 0
 +
|            tenfor4 = 0
 +
|      best bowling1 = –
 +
|      best bowling2 = 2/16
 +
|      best bowling3 = 2/25
 +
|      best bowling4 = 4/24
 +
|  catches/stumpings1 = 30/–
 +
|  catches/stumpings2 = 49/–
 +
|  catches/stumpings3 = 268/–
 +
|  catches/stumpings4 = 151/–
 +
|              source = https://cricketarchive.com/Archive/Players/1/1692/1692.html CricketArchive
 +
|                date = 10 November
 +
|                year = 2008
 +
}}

Latest revision as of 11:29, 20 August 2019

Darren Gough

(one)

Template:Testcase table

(two)

Template:Testcase table

(three)

Template:Testcase table

{{{source}}} without "http"

Template:Testcase table

Height

Automatic conversion

{{Infobox cricketer | name = 
| height = 5 ft 10 in
}}

Template:Testcase table

{{Infobox cricketer | name = 
| height = 180 cm
}}

Template:Testcase table

Conversion via template

{{Infobox cricketer | name = 
| height = {{convert|5|ft|10|in|cm|abbr=on}}
}}

Template:Testcase table

{{Infobox cricketer | name = 
| height = {{convert|180|cm|ftin|abbr=on}}
}}

Template:Testcase table

Manually entered conversion

{{Infobox cricketer | name = 
| height = 5 ft 10 in (178 cm)
}}

Template:Testcase table

{{Infobox cricketer | name = 
| height = 180 cm (5 ft 11 in)
}}

Template:Testcase table

Conversion via additional parameters

{{Infobox cricketer | name = 
| heightft = 5 | heightinch = 10
}}

Template:Testcase table

{{Infobox cricketer | name = 
| heightcm = 180
}}

Template:Testcase table

{{Infobox cricketer | name = 
| heightm = 1.80
}}

Template:Testcase table

Prefix/Suffix

{{Infobox cricketer
| honorific_prefix = Prefix
| name = Name
| honorific_suffix = Suffix
}}

Template:Testcase table

Multiple teams

Nowiki workaround

Template:Testcase table

empty t20icap

Template:Testcase table

Kepler Wessels

Template:Testcase table