Difference between revisions of "Template:Infobox AFL biography/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add tests for "height" and "weight" parameters)
imported>Zyxw
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

All parameters

Template:Testcase table

Test1

{{Infobox AFL biography}} {{Infobox AFL biography}} {{Infobox AFL biography/sandbox}}
Average Joe
Personal information
Date of birth (1900-04-01) 1 April 1900 (age 125)
Place of birth Atlantis
Date of death 1 April 1955(1955-04-01) (aged 55)
Place of death on the Rocks
Original team(s) Atlantis Tigers
Debut 1.4.1905, Atlantis Bows
vs. Atlantis Joes, at Under the Water
Height / weight 200
Playing career1
1
1 Playing statistics correct to the end of 2004.
Career highlights


Sources: AFL Tables, AustralianFootball.com
Average Joe
Personal information
Date of birth (1900-04-01) 1 April 1900 (age 125)
Place of birth Atlantis
Date of death 1 April 1955(1955-04-01) (aged 55)
Place of death on the Rocks
Original team(s) Atlantis Tigers
Debut 1.4.1905, Atlantis Bows
vs. Atlantis Joes, at Under the Water
Height / weight 200
Sources: AFL Tables, AustralianFootball.com
Average Joe
Personal information
Nickname(s) Joey Joe Joe Jr Shabadoo
Date of birth (1900-04-01) 1 April 1900 (age 125)
Place of birth Atlantis
Date of death 1 April 1955(1955-04-01) (aged 55)
Place of death On the rocks
Original team(s) Atlantis (UNFL)
Height / weight 168cm / 80kg
Position(s) Rover
Career highlights
  • 4x Atlantis Best & Fairest 1940, 1941, 1942, 1945
  • Atlantis-Sea Bed Premiership Player 1943
  • Atlantis Football Club Captain 1945-52
  • 3x Atlantis Premiership Captain-Coach 1945, 1948, 1950
  • 7x Pirate Cove Premiership Coach 1966-70, 1974, 1976
  • 7 Representative games for Underwater (Captain: 1949-50)
  • Underwater Representative Coach 1950, 1959
  • Atlantis Football Club Life Member
  • Pirate Cove Football Club Life Member 1971
  • Order of Underwater (UM) for services to the sport of Australian football 1978
  • UNFL Life Member 1981
  • Average Joe Medal (UNFL Grand Final BoG) named in honour 1981
  • Only person to coach over 500 wins in UNFL League Football (513)
  • Atlantis Football Club Hall of Fame Member
  • Atlantis Football Club Team of the Century - Rover
  • Pirate Cove Football Club Hall of Fame Member
  • Pirate Cove Football Club Team of the Century - Coach
  • Australian Football Hall of Fame Inaugural Inductee 1996
  • Underwater Football Hall of Fame Inaugural Inductee 2002
Sources: AFL Tables, AustralianFootball.com

Parameters for height and weight

Automatic conversion

{{Infobox AFL biography | name = 
| height = 180 cm
| weight = 110 kg
}}

Template:Testcase table

Conversion via template

{{Infobox AFL biography | name = 
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|110|kg|lb|0|abbr=on}}
}}

Template:Testcase table

Manually entered conversion

{{Infobox AFL biography | name = 
| height = 180 cm (5 ft 11 in)
| weight = 110 kg (243 lb)
}}

Template:Testcase table

Single parameter

{{Infobox AFL biography | name = 
| heightweight = 180 cm / 110 kg
}}

Template:Testcase table