Difference between revisions of "Template:Infobox AFL biography/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add tests for "height" and "weight" parameters) |
imported>Zyxw (→Parameters for height and weight: add test) |
||
| Line 339: | Line 339: | ||
| height = 180 cm (5 ft 11 in) | | height = 180 cm (5 ft 11 in) | ||
| weight = 110 kg (243 lb) | | weight = 110 kg (243 lb) | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | === Single parameter === | ||
| + | <pre style="float:left; font-size:90%; width:28em;"> | ||
| + | {{Infobox AFL biography | name = | ||
| + | | heightweight = 180 cm / 110 kg | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | name = | ||
| + | | heightweight = 180 cm / 110 kg | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
Revision as of 01:30, 21 April 2017
| This is the template test cases page for the sandbox of Template:Infobox AFL biography. 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
All parameters
Test1
| {{Infobox AFL biography}} | {{Infobox AFL biography}} | {{Infobox AFL biography/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters for height and weight
Automatic conversion
{{Infobox AFL biography | name =
| height = 180 cm
| weight = 110 kg
}}
Conversion via template
{{Infobox AFL biography | name =
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|110|kg|lb|0|abbr=on}}
}}
Manually entered conversion
{{Infobox AFL biography | name =
| height = 180 cm (5 ft 11 in)
| weight = 110 kg (243 lb)
}}
Single parameter
{{Infobox AFL biography | name =
| heightweight = 180 cm / 110 kg
}}