Difference between revisions of "Template:Infobox cricketer/testcases"
Jump to navigation
Jump to search
imported>The-Pope |
imported>Spike 'em |
||
| Line 528: | Line 528: | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
| + | ==Multiple teams== | ||
| + | ===Nowiki workaround=== | ||
| + | {{Testcase table <!--Infobox cricketer--> | ||
| + | |_caption= | ||
| + | | 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= | ||
| + | | 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
| This is the template test cases page for the sandbox of Template:Infobox cricketer. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Darren Gough
(one)
(two)
(three)
{{{source}}} without "http"
Height
Automatic conversion
{{Infobox cricketer | name =
| height = 5 ft 10 in
}}
{{Infobox cricketer | name =
| height = 180 cm
}}
Conversion via template
{{Infobox cricketer | name =
| height = {{convert|5|ft|10|in|cm|abbr=on}}
}}
{{Infobox cricketer | name =
| height = {{convert|180|cm|ftin|abbr=on}}
}}
Manually entered conversion
{{Infobox cricketer | name =
| height = 5 ft 10 in (178 cm)
}}
{{Infobox cricketer | name =
| height = 180 cm (5 ft 11 in)
}}
Conversion via additional parameters
{{Infobox cricketer | name =
| heightft = 5 | heightinch = 10
}}
{{Infobox cricketer | name =
| heightcm = 180
}}
{{Infobox cricketer | name =
| heightm = 1.80
}}
Prefix/Suffix
{{Infobox cricketer
| honorific_prefix = Prefix
| name = Name
| honorific_suffix = Suffix
}}