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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add testcase for {{{source}}} not starting with http)
imported>Frietjes
(use testcase table)
Line 2: Line 2:
  
 
== Test cases ==
 
== Test cases ==
{|
+
{{testcase table<!--Infobox cricketer-->
! Main template
 
! Sandbox
 
|- valign=top
 
| {{Infobox cricketer
 
 
|                name = Darren Gough
 
|                name = Darren Gough
 
|              female =  
 
|              female =  
Line 117: Line 113:
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
}}
 
}}
| {{Infobox cricketer/sandbox
 
|                name = Darren Gough
 
|              female =
 
|              image = Darren_Gough_portrait.jpg
 
|            country = England
 
|            fullname = Darren Gough
 
|          birth_date = {{birth date and age|1970|09|18}}
 
|        birth_place = [[Barnsley]], [[England]]
 
|          death_date =
 
|        death_place =
 
|            nickname = Rhino, Dazzler
 
|            heightft = 5
 
|          heightinch = 11
 
|            heightm =
 
|            batting = Right-handed
 
|            bowling = Right-arm [[Fast bowling|fast-medium]]
 
|                role = [[Bowler (cricket)|Bowler]]
 
 
|      international = true
 
|      testdebutdate = 5 June
 
|      testdebutyear = 1994
 
|    testdebutagainst = New Zealand
 
|            testcap = 568
 
|        lasttestdate = 31 July
 
|        lasttestyear = 2003
 
|    lasttestagainst = South Africa
 
|        odidebutdate = 19 May
 
|        odidebutyear = 1994
 
|    odidebutagainst = New Zealand
 
|              odicap = 126
 
|            odishirt = 8
 
|        lastodidate = 2 September
 
|        lastodiyear = 2006
 
|      lastodiagainst = Pakistan
 
 
|              club1 = [[Yorkshire County Cricket Club|Yorkshire]]
 
|              year1 = 2007–present
 
|        clubnumber1 = 8
 
|              club2 = [[Essex County Cricket Club|Essex]]
 
|              year2 = 2004–2006
 
|              club3 = [[Yorkshire County Cricket Club|Yorkshire]]
 
|              year3 = 1989–2003
 
|              club4 =
 
|              year4 =
 
|              club5 =
 
|              year5 =
 
|              club6 =
 
|              year6 =
 
|              club7 =
 
|              year7 =
 
|              club8 =
 
|              year8 =
 
 
|            columns = 4
 
|            column1 = [[Test cricket|Test]]
 
|            matches1 = 58
 
|              runs1 = 855
 
|            bat avg1 = 12.57
 
|          100s/50s1 = 0/2
 
|          top score1 = 65
 
|        deliveries1 = 11821
 
|            wickets1 = 229
 
|          bowl avg1 = 28.39
 
|            fivefor1 = 9
 
|            tenfor1 = 0
 
|      best bowling1 = 6/42
 
|  catches/stumpings1 = 13/0
 
|            column2 = [[One Day International|ODI]]
 
|            matches2 = 159
 
|              runs2 = 609
 
|            bat avg2 = 12.42
 
|          100s/50s2 = 0/0
 
|          top score2 = 46*
 
|        deliveries2 = 8470
 
|            wickets2 = 235
 
|          bowl avg2 = 26.42
 
|            fivefor2 = 2
 
|            tenfor2 = 0
 
|      best bowling2 = 5/44
 
|  catches/stumpings2 = 21/0
 
|            column3 = [[First-class cricket|FC]]
 
|            matches3 = 237
 
|              runs3 = 4434
 
|            bat avg3 = 17.45
 
|          100s/50s3 = 1/20
 
|          top score3 = 121
 
|        deliveries3 = 42796
 
|            wickets3 = 840
 
|          bowl avg3 = 26.77
 
|            fivefor3 = 32
 
|            tenfor3 = 3
 
|      best bowling3 = 7/28
 
|  catches/stumpings3 = 46/0
 
|            column4 = [[List A cricket|LA]]
 
|            matches4 = 399
 
|              runs4 = 1996
 
|            bat avg4 = 13.48
 
|          100s/50s4 = 0/2
 
|          top score4 = 72*
 
|        deliveries4 = 19883
 
|            wickets4 = 571
 
|          bowl avg4 = 24.24
 
|            fivefor4 = 7
 
|            tenfor4 = 0
 
|      best bowling4 = 7/27
 
|  catches/stumpings4 = 69/0
 
 
|                date = 15 August
 
|                year = 2007
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
}}
 
|- valign=top
 
| {{Infobox cricketer
 
|                name = Darren Gough
 
|              female =
 
|              image = Darren_Gough_portrait.jpg
 
|            country = England
 
|            fullname = Darren Gough
 
|          birth_date = {{birth date and age|1970|09|18}}
 
|        birth_place = [[Barnsley]], [[England]]
 
|          death_date =
 
|        death_place =
 
|            nickname = Rhino, Dazzler
 
|            heightft = 5
 
|          heightinch = 11
 
|            heightm =
 
|            batting = Right-handed
 
|            bowling = Right-arm [[Fast bowling|fast-medium]]
 
|                role = [[Bowler (cricket)|Bowler]]
 
 
|      international = true
 
|      testdebutdate = 5 June
 
|      testdebutyear = 1994
 
|    testdebutagainst = New Zealand
 
|            testcap = 568
 
|        lasttestdate = 31 July
 
|        lasttestyear = 2003
 
|    lasttestagainst = South Africa
 
|        odidebutdate = 19 May
 
|        odidebutyear = 1994
 
|    odidebutagainst = New Zealand
 
|              odicap = 126
 
|            odishirt = 8
 
|        lastodidate = 2 September
 
|        lastodiyear = 2006
 
|      lastodiagainst = Pakistan
 
 
|              club1 = [[Yorkshire County Cricket Club|Yorkshire]]
 
|              year1 = 2007–present
 
|        clubnumber1 = 8
 
|              club2 = [[Essex County Cricket Club|Essex]]
 
|              year2 = 2004–2006
 
|              club3 = [[Yorkshire County Cricket Club|Yorkshire]]
 
|              year3 = 1989–2003
 
|              club4 =
 
|              year4 =
 
|              club5 =
 
|              year5 =
 
|              club6 =
 
|              year6 =
 
|              club7 =
 
|              year7 =
 
|              club8 =
 
|              year8 =
 
 
|            columns = 3
 
|            column1 = [[Test cricket|Test]]
 
|            matches1 = 58
 
|              runs1 = 855
 
|            bat avg1 = 12.57
 
|          100s/50s1 = 0/2
 
|          top score1 = 65
 
|        deliveries1 = 11821
 
|            wickets1 = 229
 
|          bowl avg1 = 28.39
 
|            fivefor1 = 9
 
|            tenfor1 = 0
 
|      best bowling1 = 6/42
 
|  catches/stumpings1 = 13/0
 
|            column2 = [[One Day International|ODI]]
 
|            matches2 = 159
 
|              runs2 = 609
 
|            bat avg2 = 12.42
 
|          100s/50s2 = 0/0
 
|          top score2 = 46*
 
|        deliveries2 = 8470
 
|            wickets2 = 235
 
|          bowl avg2 = 26.42
 
|            fivefor2 = 2
 
|            tenfor2 = 0
 
|      best bowling2 = 5/44
 
|  catches/stumpings2 = 21/0
 
|            column3 = [[First-class cricket|FC]]
 
|            matches3 = 237
 
|              runs3 = 4434
 
|            bat avg3 = 17.45
 
|          100s/50s3 = 1/20
 
|          top score3 = 121
 
|        deliveries3 = 42796
 
|            wickets3 = 840
 
|          bowl avg3 = 26.77
 
|            fivefor3 = 32
 
|            tenfor3 = 3
 
|      best bowling3 = 7/28
 
|  catches/stumpings3 = 46/0
 
  
|                date = 15 August
+
{{testcase table<!--Infobox cricketer-->
|                year = 2007
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
}}
 
| {{Infobox cricketer/sandbox
 
 
|                name = Darren Gough
 
|                name = Darren Gough
 
|              female =  
 
|              female =  
Line 425: Line 212:
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
}}
 
}}
|- valign=top
 
| {{Infobox cricketer
 
|                name = Darren Gough
 
|              female =
 
|              image = Darren_Gough_portrait.jpg
 
|            country = England
 
|            fullname = Darren Gough
 
|          birth_date = {{birth date and age|1970|09|18}}
 
|        birth_place = [[Barnsley]], [[England]]
 
|          death_date =
 
|        death_place =
 
|            nickname = Rhino, Dazzler
 
|            heightft = 5
 
|          heightinch = 11
 
|            heightm =
 
|            batting = Right-handed
 
|            bowling = Right-arm [[Fast bowling|fast-medium]]
 
|                role = [[Bowler (cricket)|Bowler]]
 
 
|      international = true
 
|      testdebutdate = 5 June
 
|      testdebutyear = 1994
 
|    testdebutagainst = New Zealand
 
|            testcap = 568
 
|        lasttestdate = 31 July
 
|        lasttestyear = 2003
 
|    lasttestagainst = South Africa
 
|        odidebutdate = 19 May
 
|        odidebutyear = 1994
 
|    odidebutagainst = New Zealand
 
|              odicap = 126
 
|            odishirt = 8
 
|        lastodidate = 2 September
 
|        lastodiyear = 2006
 
|      lastodiagainst = Pakistan
 
  
|              club1 = [[Yorkshire County Cricket Club|Yorkshire]]
+
{{testcase table<!--Infobox cricketer-->
|              year1 = 2007–present
 
|        clubnumber1 = 8
 
|              club2 = [[Essex County Cricket Club|Essex]]
 
|              year2 = 2004–2006
 
|              club3 = [[Yorkshire County Cricket Club|Yorkshire]]
 
|              year3 = 1989–2003
 
|              club4 =
 
|              year4 =
 
|              club5 =
 
|              year5 =
 
|              club6 =
 
|              year6 =
 
|              club7 =
 
|              year7 =
 
|              club8 =
 
|              year8 =
 
 
 
|            columns = 2
 
|            column1 = [[Test cricket|Test]]
 
|            matches1 = 58
 
|              runs1 = 855
 
|            bat avg1 = 12.57
 
|          100s/50s1 = 0/2
 
|          top score1 = 65
 
|        deliveries1 = 11821
 
|            wickets1 = 229
 
|          bowl avg1 = 28.39
 
|            fivefor1 = 9
 
|            tenfor1 = 0
 
|      best bowling1 = 6/42
 
|  catches/stumpings1 = 13/0
 
|            column2 = [[One Day International|ODI]]
 
|            matches2 = 159
 
|              runs2 = 609
 
|            bat avg2 = 12.42
 
|          100s/50s2 = 0/0
 
|          top score2 = 46*
 
|        deliveries2 = 8470
 
|            wickets2 = 235
 
|          bowl avg2 = 26.42
 
|            fivefor2 = 2
 
|            tenfor2 = 0
 
|      best bowling2 = 5/44
 
|  catches/stumpings2 = 21/0
 
|            column3 = [[First-class cricket|FC]]
 
 
 
|                date = 15 August
 
|                year = 2007
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
}}
 
|{{Infobox cricketer/sandbox
 
 
|                name = Darren Gough
 
|                name = Darren Gough
 
|              female =  
 
|              female =  
Line 598: Line 299:
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
|              source = http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive
 
}}
 
}}
|}
 
  
 
== {{{source}}} not starting with http ==
 
== {{{source}}} not starting with http ==
  
{|
+
{{testcase table<!--Infobox cricketer-->
! Main template
 
! Sandbox
 
|- valign=top
 
| {{Infobox cricketer
 
| name                = Darren Gough
 
| female              =
 
| image              = Darren_Gough_portrait.jpg
 
| country            = England
 
| fullname            = Darren Gough
 
| birth_date          = {{birth date and age|1970|09|18}}
 
| birth_place        = [[Barnsley]], [[England]]
 
| death_date          =
 
| death_place        =
 
| nickname            = Rhino, Dazzler
 
| heightft            = 5
 
| heightinch          = 11
 
| heightm            =
 
| batting            = Right-handed
 
| bowling            = Right-arm [[Fast bowling|fast-medium]]
 
| role                = [[Bowler (cricket)|Bowler]]
 
| international      = true
 
| testdebutdate      = 5 June
 
| testdebutyear      = 1994
 
| testdebutagainst    = New Zealand
 
| testcap            = 568
 
| lasttestdate        = 31 July
 
| lasttestyear        = 2003
 
| lasttestagainst    = South Africa
 
| odidebutdate        = 19 May
 
| odidebutyear        = 1994
 
| odidebutagainst    = New Zealand
 
| odicap              = 126
 
| odishirt            = 8
 
| lastodidate        = 2 September
 
| lastodiyear        = 2006
 
| lastodiagainst      = Pakistan
 
| club1              = [[Yorkshire County Cricket Club|Yorkshire]]
 
| year1              = 2007–present
 
| clubnumber1        = 8
 
| club2              = [[Essex County Cricket Club|Essex]]
 
| year2              = 2004–2006
 
| club3              = [[Yorkshire County Cricket Club|Yorkshire]]
 
| year3              = 1989–2003
 
| club4              =
 
| year4              =
 
| club5              =
 
| year5              =
 
| club6              =
 
| year6              =
 
| club7              =
 
| year7              =
 
| club8              =
 
| year8              =
 
| columns            = 4
 
| column1            = [[Test cricket|Test]]
 
| matches1            = 58
 
| runs1              = 855
 
| bat avg1            = 12.57
 
| 100s/50s1          = 0/2
 
| top score1          = 65
 
| deliveries1        = 11821
 
| wickets1            = 229
 
| bowl avg1          = 28.39
 
| fivefor1            = 9
 
| tenfor1            = 0
 
| best bowling1      = 6/42
 
| catches/stumpings1  = 13/0
 
| column2            = [[One Day International|ODI]]
 
| matches2            = 159
 
| runs2              = 609
 
| bat avg2            = 12.42
 
| 100s/50s2          = 0/0
 
| top score2          = 46*
 
| deliveries2        = 8470
 
| wickets2            = 235
 
| bowl avg2          = 26.42
 
| fivefor2            = 2
 
| tenfor2            = 0
 
| best bowling2      = 5/44
 
| catches/stumpings2  = 21/0
 
| column3            = [[First-class cricket|FC]]
 
| matches3            = 237
 
| runs3              = 4434
 
| bat avg3            = 17.45
 
| 100s/50s3          = 1/20
 
| top score3          = 121
 
| deliveries3        = 42796
 
| wickets3            = 840
 
| bowl avg3          = 26.77
 
| fivefor3            = 32
 
| tenfor3            = 3
 
| best bowling3      = 7/28
 
| catches/stumpings3  = 46/0
 
| column4            = [[List A cricket|LA]]
 
| matches4            = 399
 
| runs4              = 1996
 
| bat avg4            = 13.48
 
| 100s/50s4          = 0/2
 
| top score4          = 72*
 
| deliveries4        = 19883
 
| wickets4            = 571
 
| bowl avg4          = 24.24
 
| fivefor4            = 7
 
| tenfor4            = 0
 
| best bowling4      = 7/27
 
| catches/stumpings4  = 69/0
 
| date                = 15 August
 
| year                = 2007
 
| source              = [http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive]
 
}}
 
| {{Infobox cricketer/sandbox
 
 
| name                = Darren Gough
 
| name                = Darren Gough
 
| female              =  
 
| female              =  
Line 820: Line 409:
 
| source              = [http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive]
 
| source              = [http://www.cricketarchive.com/Archive/Players/2/2159/2159.html CricketArchive]
 
}}
 
}}
|}
 

Revision as of 14:58, 16 January 2014

Test cases

Template:Testcase table

Template:Testcase table

Template:Testcase table

{{{source}}} not starting with http

Template:Testcase table