Template:Infobox rugby biography/testcases
File:Gnome-applications-science.svg | This is the template test cases page for the sandbox of Template:Infobox rugby 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: |
- Also see Template:Infobox rugby biography/testcases2 for additional test cases which could not be included here due to a template include size is too large warning.
Test case
Script error: No such module "Template test case".
Everything filled in
rugby bio params Script error: No such module "Template test case".
RU bio params Script error: No such module "Template test case".
Height and weight
height: cm, weight: kg
| height = 180 cm (5 ft 11 in) | weight = 110 kg (243 lb; 17 st 5 lb)
Script error: No such module "Template test case".
conversion via template, |0
in second example prevents rounding of lb
| height = {{cvt|180|cm|ftin}} | weight = {{cvt|110|kg|lb stlb}}
Script error: No such module "Template test case".
| height = {{cvt|180|cm|ftin}} | weight = {{cvt|110|kg|lb stlb|0}}
Script error: No such module "Template test case".
automatic conversion, template uses {{Infobox person/height}}
and {{Infobox person/weight}}
| height = 180 cm | weight = 110 kg
Script error: No such module "Template test case".
conversion via other parameters, template uses {{Convinfobox}}
| height_cm = 180 | weight_kg = 110
Script error: No such module "Template test case".
height: ft/in, weight: lb
| height = 5 ft 10 in (178 cm) | weight = 240 lb (109 kg; 17 st 2 lb)
Script error: No such module "Template test case".
conversion via template, |0
in second example prevents rounding of kg
| height = {{cvt|5|ft|10|in|cm}} | weight = {{cvt|240|lb|kg stlb}}
Script error: No such module "Template test case".
| height = {{cvt|5|ft|10|in|cm}} | weight = {{cvt|240|lb|kg stlb|0}}
Script error: No such module "Template test case".
automatic conversion, template uses {{Infobox person/height}}
and {{Infobox person/weight}}
| height = 5 ft 10 in | weight = 240 lb
Script error: No such module "Template test case".
conversion via other parameters, template uses {{Convinfobox}}
| height_ft = 5 | height_in = 10 | weight_lb = 240
Script error: No such module "Template test case".
height: ft
| height = 10 ft (305 cm)
Script error: No such module "Template test case".
conversion via template, |0
in second example prevents rounding of cm
| height = {{cvt|10|ft|cm}}
Script error: No such module "Template test case".
| height = {{cvt|10|ft|cm|0}}
Script error: No such module "Template test case".
automatic conversion, template uses {{Infobox person/height}}
| height = 10 ft
Script error: No such module "Template test case".
conversion via other parameters, template uses {{Convinfobox}}
| height_ft = 10
Script error: No such module "Template test case".
height: in
| height = 100 in (254 cm)
Script error: No such module "Template test case".
conversion via template, |0
in second example prevents rounding of cm
| height = {{cvt|100|in|cm}}
Script error: No such module "Template test case".
| height = {{cvt|100|in|cm|0}}
Script error: No such module "Template test case".
automatic conversion, template uses {{Infobox person/height}}
| height = 100 in
Script error: No such module "Template test case".
conversion via other parameters, template uses {{Convinfobox}}
| height_in = 100
Script error: No such module "Template test case".
weight: st/lb
| weight = 17 st 3 lb (241 lb; 109 kg)
Script error: No such module "Template test case".
conversion via template
| weight = {{cvt|17|st|3|lb|lb kg}}
Script error: No such module "Template test case".
automatic conversion, template uses {{Infobox person/weight}}
| weight = 17 st 3 lb
Script error: No such module "Template test case".
conversion via other parameters, template uses {{Convinfobox}}
| weight_st = 17 | weight_lb = 3
Script error: No such module "Template test case".
weight: st
| weight = 17 st (238 lb; 108 kg)
Script error: No such module "Template test case".
conversion via template, |0
in second example prevents rounding of lb and kg
| weight = {{cvt|17|st|lb kg}}
Script error: No such module "Template test case".
| weight = {{cvt|17|st|lb kg|0}}
Script error: No such module "Template test case".
automatic conversion, template uses {{Infobox person/weight}}
| weight = 17 st
Script error: No such module "Template test case".
conversion via other parameters, template uses {{Convinfobox}}
| weight_st = 17
Script error: No such module "Template test case".
Using embed parameter
Script error: No such module "Template test case".
Using module parameter
Script error: No such module "Template test case".
Medal templates
{{Infobox rugby biography}} | {{Infobox rugby biography}} | {{Infobox rugby biography/sandbox}} | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
Position and current team
In the following tests, the third column shows this template's output prior to it being converted to use {{Infobox}} and {{Infobox3cols}}.
rX_currentposition and rX_position both contain text
Script error: No such module "Template test case".
rX_currentposition is missing, rX_position contains text
Script error: No such module "Template test case".
rX_currentposition is empty, rX_position contains text
Script error: No such module "Template test case".
ru_position is missing, position contains text
Script error: No such module "Template test case".
ru_position is empty, position contains text
Script error: No such module "Template test case".
ru_currentteam is missing, currentclub contains text
Script error: No such module "Template test case".
ru_currentteam is empty, currentclub contains text
Script error: No such module "Template test case".
ru_currentclub (different from ru_currentteam and currentclub)
Script error: No such module "Template test case".
rX_position and rX_currentposition without team/club below
Script error: No such module "Template test case".
rX_currentteam without team/club below
Script error: No such module "Template test case".