Template:Infobox rugby biography/testcases: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>PeeJay
(fixed link)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:07, 18 January 2023

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

manual conversion
| 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

manual conversion
| 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

manual conversion
| 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

manual conversion
| 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

manual conversion
| 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

manual conversion
| 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}}
via module parameter
Full nameScript error: No such module "If empty".
Date of birth (1988-05-28) 28 May 1988 (age 36)
Place of birthBulli, New South Wales, Australia
Rugby union career
Script error: No such module "infobox3cols".
via medals parameter
Full nameScript error: No such module "If empty".
Date of birth (1988-05-28) 28 May 1988 (age 36)
Place of birthBulli, New South Wales, Australia
Rugby union career
Script error: No such module "infobox3cols".
via medals parameter
Full nameScript error: No such module "If empty".
Date of birth (1988-05-28) 28 May 1988 (age 36)
Place of birthBulli, New South Wales, Australia
Rugby union career
Script error: No such module "infobox3cols".

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".

See also