Difference between revisions of "Template:Infobox AFL biography/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add test showing all parameters) |
imported>Zyxw (add tests for "height" and "weight" parameters) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Testcases notice <!--|toc=on-->}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | ! | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== All parameters == | == All parameters == | ||
| 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 | ||
| + | | 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}} | ||
| + | |||
| + | == 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}} | ||
| + | |||
| + | <!-- | ||
| + | {{clear}} | ||
| + | == References == | ||
| + | {{reflist}} | ||
| + | --> | ||
Revision as of 01:41, 17 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)
}}