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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add test showing all parameters)
imported>Zyxw
(full_name)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template test cases notice}}
+
{{Testcases notice <!--|toc=on-->}}
 
 
== Test1 ==
 
{|
 
|- style="vertical-align:top;"
 
!{{tl|Infobox AFL biography}}
 
!{{tl|Infobox AFL biography}}
 
!{{tl|Infobox AFL biography/sandbox}}
 
|- style="vertical-align:top;"
 
|{{Infobox AFL biography
 
| name = Average Joe
 
| image = example.jpg
 
| image_size = 200
 
| caption = Average Joe in Atlantis
 
| birth_date = {{birth date and age|1900|04|01|df=yes}}
 
| birth_place = Atlantis
 
| originalteam = Atlantis Tigers
 
| heightweight = 200
 
| death_date = {{death date and age|1955|04|01|1900|04|01|df=y}}
 
| death_place = on the Rocks
 
| debutdate = 1.4.1905
 
| debutteam = Atlantis Bows
 
| debutopponent = Atlantis Joes
 
| debutstadium = Under the Water
 
| playingteams = 1
 
| coachingteams =
 
| statsend = 2004
 
| careerhighlights = <BR>
 
*
 
}}
 
|{{Infobox AFL biography
 
| name = Average Joe
 
| image = example.jpg
 
| image_size = 200
 
| caption = Average Joe in Atlantis
 
| birth_date = {{birth date and age|1900|04|01|df=yes}}
 
| birth_place = Atlantis
 
| originalteam = Atlantis Tigers
 
| heightweight = 200
 
| death_date = {{death date and age|1955|04|01|1900|04|01|df=y}}
 
| death_place = on the Rocks
 
| debutdate = 1.4.1905
 
| debutteam = Atlantis Bows
 
| debutopponent = Atlantis Joes
 
| debutstadium = Under the Water
 
| fullname            =
 
| nickname            =
 
| draftpick            =
 
| position            =
 
| currentclub          =
 
| guernsey            =
 
| years                =
 
| clubs                =
 
| games(goals)        =
 
| sooyears            =
 
| sooteams            =
 
| soogames(goals)      =
 
| nationalyears        =
 
| nationalteams        =
 
| nationalgames(goals) =
 
| coachyears          =
 
| coachclubs          =
 
| coachgames(wins)    =
 
| statsend            =
 
| pcupdate            =
 
| repstatsend          =
 
| coachstatsend        =
 
| careerhighlights    =
 
}}
 
|{{Infobox AFL biography/sandbox
 
| name = Average Joe
 
| image =
 
| caption = Average Joe in Atlantis
 
| fullname =
 
| nickname = Joey Joe Joe Jr Shabadoo
 
| birth_date = {{birth date and age|1900|04|01|df=yes}}
 
| birth_place = Atlantis
 
| death_date = {{death date and age|1955|04|01|1900|04|01|df=y}}
 
| death_place = On the rocks
 
| originalteam = Atlantis ([[Underwater National Football League|UNFL]])
 
| heightweight = 168cm / 80kg
 
| position = [[Follower (Australian rules football)|Rover]]
 
| years = 1940-43, 1945-52<br>1944
 
| clubs = Atlantis (UNFL)<br>Lighthouse ([[On Land National Football League|OLNFL]])
 
| games(goals) = 181 (233)<br>5 (4)<br>'''186 (237)'''
 
| coachyears = 1945-56<br>1957-60<br>1962-82<br>'''Total -'''
 
| coachclubs = Atlantis (UNFL)<br>Marianas Trench (UNFL)<br>Pirate Cove (UNFL)
 
| coachgames(wins) = 229 (147-81-1)<br>78 (52-26-0)<br>470 (314-152-4)<br>'''777 (513-259-5)'''
 
| statsend = 1952
 
| careerhighlights =
 
*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 [[Interstate matches in Australian Football|Representative games]] for [[Underwater Australian rules football team|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
 
*[[Underwater National Football League|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 - [[Follower (Australian rules football)|Rover]]
 
*Pirate Cove Football Club Hall of Fame Member
 
*Pirate Cove Football Club Team of the Century - [[coach (sport)|Coach]]
 
*[[Australian Football Hall of Fame]] Inaugural Inductee 1996
 
*[[Underwater Football Hall of Fame]] Inaugural Inductee 2002
 
}}
 
|}
 
{{clear}}
 
  
 
== All parameters ==
 
== All parameters ==
Line 119: Line 8:
 
| alt = {{{alt}}}
 
| alt = {{{alt}}}
 
| caption = {{{caption}}}
 
| caption = {{{caption}}}
| fullname = {{{fullname}}}
+
| full_name = {{{full_name}}}
 
| nickname = {{{nickname}}}
 
| nickname = {{{nickname}}}
 
| birth_date = {{{birth_date}}}
 
| birth_date = {{{birth_date}}}
Line 300: Line 189:
 
| careerhighlights = {{{careerhighlights}}}
 
| careerhighlights = {{{careerhighlights}}}
 
}}
 
}}
 +
 +
== Test1 ==
 +
{|
 +
|- style="vertical-align:top;"
 +
!{{tl|Infobox AFL biography}}
 +
!{{tl|Infobox AFL biography}}
 +
!{{tl|Infobox AFL biography/sandbox}}
 +
|- style="vertical-align:top;"
 +
|{{Infobox AFL biography
 +
| name = Average Joe
 +
| image = example.jpg
 +
| image_size = 200
 +
| caption = Average Joe in Atlantis
 +
| birth_date = {{birth date and age|1900|04|01|df=yes}}
 +
| birth_place = Atlantis
 +
| originalteam = Atlantis Tigers
 +
| heightweight = 200
 +
| death_date = {{death date and age|1955|04|01|1900|04|01|df=y}}
 +
| death_place = on the Rocks
 +
| debutdate = 1.4.1905
 +
| debutteam = Atlantis Bows
 +
| debutopponent = Atlantis Joes
 +
| debutstadium = Under the Water
 +
| playingteams = 1
 +
| coachingteams =
 +
| statsend = 2004
 +
| careerhighlights = <BR>
 +
*
 +
}}
 +
|{{Infobox AFL biography
 +
| name = Average Joe
 +
| image = example.jpg
 +
| image_size = 200
 +
| caption = Average Joe in Atlantis
 +
| birth_date = {{birth date and age|1900|04|01|df=yes}}
 +
| birth_place = Atlantis
 +
| originalteam = Atlantis Tigers
 +
| heightweight = 200
 +
| death_date = {{death date and age|1955|04|01|1900|04|01|df=y}}
 +
| death_place = on the Rocks
 +
| debutdate = 1.4.1905
 +
| debutteam = Atlantis Bows
 +
| debutopponent = Atlantis Joes
 +
| debutstadium = Under the Water
 +
| full_name            =
 +
| nickname            =
 +
| draftpick            =
 +
| position            =
 +
| currentclub          =
 +
| guernsey            =
 +
| years                =
 +
| clubs                =
 +
| games(goals)        =
 +
| sooyears            =
 +
| sooteams            =
 +
| soogames(goals)      =
 +
| nationalyears        =
 +
| nationalteams        =
 +
| nationalgames(goals) =
 +
| coachyears          =
 +
| coachclubs          =
 +
| coachgames(wins)    =
 +
| statsend            =
 +
| pcupdate            =
 +
| repstatsend          =
 +
| coachstatsend        =
 +
| careerhighlights    =
 +
}}
 +
|{{Infobox AFL biography/sandbox
 +
| name = Average Joe
 +
| image =
 +
| caption = Average Joe in Atlantis
 +
| full_name =
 +
| nickname = Joey Joe Joe Jr Shabadoo
 +
| birth_date = {{birth date and age|1900|04|01|df=yes}}
 +
| birth_place = Atlantis
 +
| death_date = {{death date and age|1955|04|01|1900|04|01|df=y}}
 +
| death_place = On the rocks
 +
| originalteam = Atlantis ([[Underwater National Football League|UNFL]])
 +
| heightweight = 168cm / 80kg
 +
| position = [[Follower (Australian rules football)|Rover]]
 +
| years = 1940-43, 1945-52<br>1944
 +
| clubs = Atlantis (UNFL)<br>Lighthouse ([[On Land National Football League|OLNFL]])
 +
| games(goals) = 181 (233)<br>5 (4)<br>'''186 (237)'''
 +
| coachyears = 1945-56<br>1957-60<br>1962-82<br>'''Total -'''
 +
| coachclubs = Atlantis (UNFL)<br>Marianas Trench (UNFL)<br>Pirate Cove (UNFL)
 +
| coachgames(wins) = 229 (147-81-1)<br>78 (52-26-0)<br>470 (314-152-4)<br>'''777 (513-259-5)'''
 +
| statsend = 1952
 +
| careerhighlights =
 +
*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 [[Interstate matches in Australian Football|Representative games]] for [[Underwater Australian rules football team|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
 +
*[[Underwater National Football League|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 - [[Follower (Australian rules football)|Rover]]
 +
*Pirate Cove Football Club Hall of Fame Member
 +
*Pirate Cove Football Club Team of the Century - [[coach (sport)|Coach]]
 +
*[[Australian Football Hall of Fame]] Inaugural Inductee 1996
 +
*[[Underwater Football Hall of Fame]] Inaugural Inductee 2002
 +
}}
 +
|}
 +
{{clear}}
 +
 +
== Parameters for height and weight ==
 +
 +
=== Automatic conversion ===
 +
<pre style="float:left; font-size:90%; width:28em;">
 +
{{Infobox AFL biography | name =
 +
| height = 180 cm
 +
| weight = 110 kg
 +
}}
 +
</pre>
 +
{{Testcase table | name =
 +
| height = 180 cm
 +
| weight = 110 kg
 +
}}
 +
{{clear}}
 +
 +
=== Conversion via template ===
 +
<pre style="float:left; font-size:90%; width:28em;">
 +
{{Infobox AFL biography | name =
 +
| height = {{convert|180|cm|ftin|abbr=on}}
 +
| weight = {{convert|110|kg|lb|0|abbr=on}}
 +
}}
 +
</pre>
 +
{{Testcase table | name =
 +
| height = {{convert|180|cm|ftin|abbr=on}}
 +
| weight = {{convert|110|kg|lb|0|abbr=on}}
 +
}}
 +
{{clear}}
 +
 +
=== Manually entered conversion ===
 +
<pre style="float:left; font-size:90%; width:28em;">
 +
{{Infobox AFL biography | name =
 +
| height = 180 cm (5 ft 11 in)
 +
| weight = 110 kg (243 lb)
 +
}}
 +
</pre>
 +
{{Testcase table | name =
 +
| height = 180 cm (5 ft 11 in)
 +
| 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}}
 +
== References ==
 +
{{reflist}}
 +
-->

Latest revision as of 07:33, 17 November 2018

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