Difference between revisions of "Template:Infobox tennis biography/testcases"
Jump to navigation
Jump to search
imported>ScottDavis (add a test case for embedding an MLA in a tennis infobox) |
imported>Zyxw (add test case for "height" parameter) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Template test cases notice}} |
== Test 1 == | == Test 1 == | ||
− | {{ | + | {{Testcase table |
| name=Just Testing | | name=Just Testing | ||
| AustralianOpenresult = QF 1994 | | AustralianOpenresult = QF 1994 | ||
Line 19: | Line 19: | ||
==Test 2== | ==Test 2== | ||
− | + | {{Testcase table | |
− | {{ | ||
| name=Testing module | | name=Testing module | ||
| AustralianOpenresult = QF 1994 | | AustralianOpenresult = QF 1994 | ||
Line 52: | Line 51: | ||
| term_end2 = {{end date|1920|2|18|df=y}} | | term_end2 = {{end date|1920|2|18|df=y}} | ||
}} | }} | ||
+ | }} | ||
+ | |||
+ | == Height == | ||
+ | |||
+ | === Automatic conversion === | ||
+ | <pre style="float:left;"> | ||
+ | {{Infobox tennis biography | name = | ||
+ | | height = 5 ft 10 in | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Testcase table | name = | ||
+ | | height = 5 ft 10 in | ||
+ | }} | ||
+ | {{clear}} | ||
− | == | + | <pre style="float:left;"> |
+ | {{Infobox tennis biography | name = | ||
+ | | height = 180 cm | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Testcase table | name = | ||
+ | | height = 180 cm | ||
+ | }} | ||
+ | {{clear}} | ||
+ | |||
+ | === Conversion via template === | ||
+ | <pre style="float:left;"> | ||
+ | {{Infobox tennis biography | name = | ||
+ | | height = {{convert|5|ft|10|in|cm|abbr=on}} | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Testcase table | name = | ||
+ | | height = {{convert|5|ft|10|in|cm|abbr=on}} | ||
+ | }} | ||
+ | {{clear}} | ||
+ | |||
+ | <pre style="float:left;"> | ||
+ | {{Infobox tennis biography | name = | ||
+ | | height = {{convert|180|cm|ftin|abbr=on}} | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Testcase table | name = | ||
+ | | height = {{convert|180|cm|ftin|abbr=on}} | ||
+ | }} | ||
+ | {{clear}} | ||
+ | |||
+ | === Manually entered conversion === | ||
+ | <pre style="float:left;"> | ||
+ | {{Infobox tennis biography | name = | ||
+ | | height = 5 ft 10 in (178 cm) | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Testcase table | name = | ||
+ | | height = 5 ft 10 in (178 cm) | ||
+ | }} | ||
+ | {{clear}} | ||
+ | |||
+ | <pre style="float:left;"> | ||
+ | {{Infobox tennis biography | name = | ||
+ | | height = 180 cm (5 ft 11 in) | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Testcase table | name = | ||
+ | | height = 180 cm (5 ft 11 in) | ||
}} | }} | ||
+ | {{clear}} |
Revision as of 20:08, 4 December 2016
- 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
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) }}