Difference between revisions of "Template:Infobox NASCAR driver/testcases"
Jump to navigation
Jump to search
imported>Zyxw (show examples used as "child" and as "subbox") |
imported>Zyxw (update) |
||
| Line 46: | Line 46: | ||
}} | }} | ||
|} | |} | ||
| + | |||
| + | == Height/weight == | ||
| + | |||
| + | === Automatic conversion === | ||
| + | <pre style="float:left;"> | ||
| + | {{Infobox NASCAR driver | name = | ||
| + | | height = 5 ft 10 in | ||
| + | | weight = 130 lb | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | height = 5 ft 10 in | ||
| + | | weight = 130 lb | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | <pre style="float:left;"> | ||
| + | {{Infobox NASCAR driver | name = | ||
| + | | height = 180 cm | ||
| + | | weight = 60 kg | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | height = 180 cm | ||
| + | | weight = 60 kg | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | === Conversion via template === | ||
| + | <pre style="float:left;"> | ||
| + | {{Infobox NASCAR driver | name = | ||
| + | | height = {{convert|5|ft|10|in|cm|abbr=on}} | ||
| + | | weight = {{convert|130|lb|kg|0|abbr=on}} | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | height = {{convert|5|ft|10|in|cm|abbr=on}} | ||
| + | | weight = {{convert|130|lb|kg|0|abbr=on}} | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | <pre style="float:left;"> | ||
| + | {{Infobox NASCAR driver | name = | ||
| + | | height = {{convert|180|cm|ftin|abbr=on}} | ||
| + | | weight = {{convert|60|kg|lb|0|abbr=on}} | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | height = {{convert|180|cm|ftin|abbr=on}} | ||
| + | | weight = {{convert|60|kg|lb|0|abbr=on}} | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | === Manually entered conversion === | ||
| + | <pre style="float:left;"> | ||
| + | {{Infobox NASCAR driver | name = | ||
| + | | height = 5 ft 10 in (178 cm) | ||
| + | | weight = 130 lb (59 kg) | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | height = 5 ft 10 in (178 cm) | ||
| + | | weight = 130 lb (59 kg) | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | <pre style="float:left;"> | ||
| + | {{Infobox NASCAR driver | name = | ||
| + | | height = 180 cm (5 ft 11 in) | ||
| + | | weight = 60 kg (132 lb) | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | height = 180 cm (5 ft 11 in) | ||
| + | | weight = 60 kg (132 lb) | ||
| + | }} | ||
| + | {{clear}} | ||
Latest revision as of 00:36, 16 February 2017
Contents
Sandbox testing
| NASCAR details as child box for column widths the same as parent infobox (see Template:Infobox/doc#Embedding) | NASCAR details as "subbox" for column widths independent of parent infobox (see Template:Infobox/doc#Subboxes) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Height/weight
Automatic conversion
{{Infobox NASCAR driver | name =
| height = 5 ft 10 in
| weight = 130 lb
}}
{{Infobox NASCAR driver | name =
| height = 180 cm
| weight = 60 kg
}}
Conversion via template
{{Infobox NASCAR driver | name =
| height = {{convert|5|ft|10|in|cm|abbr=on}}
| weight = {{convert|130|lb|kg|0|abbr=on}}
}}
{{Infobox NASCAR driver | name =
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|60|kg|lb|0|abbr=on}}
}}
Manually entered conversion
{{Infobox NASCAR driver | name =
| height = 5 ft 10 in (178 cm)
| weight = 130 lb (59 kg)
}}
{{Infobox NASCAR driver | name =
| height = 180 cm (5 ft 11 in)
| weight = 60 kg (132 lb)
}}