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
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 field===
 +
{{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
 +
}}

Revision as of 10:56, 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 field

Template:Testcase table