Difference between revisions of "Template:Infobox tennis biography/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add test case for "height" parameter) |
imported>Wolbo (Test) |
||
| Line 1: | Line 1: | ||
{{Template test cases notice}} | {{Template test cases notice}} | ||
| + | |||
| + | ==Example== | ||
| + | {{Infobox tennis biography | ||
| + | | name = Ronald Agénor | ||
| + | | image = Ronald Agenor.jpg | ||
| + | | country = {{HAI}}<br>{{USA}} | ||
| + | | residence = [[Beverly Hills]], [[California]], USA | ||
| + | | birth_date = {{birth date and age|mf=yes|1964|11|13}} | ||
| + | | birth_place = [[Rabat]], [[Morocco]] | ||
| + | | height = {{height|m=1.80}} | ||
| + | | turnedpro = 1983 | ||
| + | | retired = 2012 | ||
| + | | plays = Right-handed (one-handed backhand) | ||
| + | | careerprizemoney = [[US$|$]]2,014,601 | ||
| + | | singlesrecord = 221–257 | ||
| + | | singlestitles = 3 | ||
| + | | highestsinglesranking = No. 22 (May 8, 1989) | ||
| + | | AustralianOpenresult = 2R ([[1990 Australian Open - Men's Singles|1990]]) | ||
| + | | FrenchOpenresult = QF ([[1989 French Open - Men's Singles|1989]]) | ||
| + | | Wimbledonresult = 2R ([[1989 Wimbledon Championships - Men's Singles|1989]], [[1993 Wimbledon Championships - Men's Singles|1993]]) | ||
| + | | USOpenresult = 4R ([[1988 US Open - Men's Singles|1988]]) | ||
| + | | Othertournaments = yes | ||
| + | | Olympicsresult = 1R ([[Tennis at the 1984 Summer Olympics – Men's singles|1984<sup>DE</sup>]], [[Tennis at the 1988 Summer Olympics – Men's Singles|1988]], [[Tennis at the 1996 Summer Olympics – Men's Singles|1996]]) | ||
| + | | doublesrecord = 26–58 | ||
| + | | doublestitles = 0 | ||
| + | | highestdoublesranking = No. 111 (July 14, 1986) | ||
| + | }} | ||
| + | |||
== Test 1 == | == Test 1 == | ||
Revision as of 20:19, 14 September 2019
- REDIRECT Template:Testcases notice
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
Contents
Example
| File:Ronald Agenor.jpg Script error: No such module "Wikidata". | |
| Country (sports) | Template:USA |
|---|---|
| Residence | Beverly Hills, California, USA |
| Born | November 13, 1964 Rabat, Morocco |
| Height | 1.80 m (5 ft 11 in) |
| Turned pro | 1983 |
| Retired | 2012 |
| Plays | Right-handed (one-handed backhand) |
| Prize money | $2,014,601 |
| Singles | |
| Career record | 221–257 |
| Career titles | 3 |
| Highest ranking | No. 22 (May 8, 1989) |
| Grand Slam Singles results | |
| Australian Open | 2R (1990) |
| French Open | QF (1989) |
| Wimbledon | 2R (1989, 1993) |
| US Open | 4R (1988) |
| Other tournaments | |
| Olympic Games | 1R (1984DE, 1988, 1996) |
| Doubles | |
| Career record | 26–58 |
| Career titles | 0 |
| Highest ranking | No. 111 (July 14, 1986) |
Test 1
Test 2
Height
Automatic conversion
{{Infobox tennis biography | name =
| height = 5 ft 10 in
}}
{{Infobox tennis biography | name =
| height = 180 cm
}}
Conversion via template
{{Infobox tennis biography | name =
| height = {{convert|5|ft|10|in|cm|abbr=on}}
}}
{{Infobox tennis biography | name =
| height = {{convert|180|cm|ftin|abbr=on}}
}}
Manually entered conversion
{{Infobox tennis biography | name =
| height = 5 ft 10 in (178 cm)
}}
{{Infobox tennis biography | name =
| height = 180 cm (5 ft 11 in)
}}