Template:Infobox bodybuilder/testcases

From blackwiki
Jump to navigationJump to search

Example

{{Infobox bodybuilder
| name             = Sergio Oliva
| nickname         = The Myth
| birth_date       = {{birth date|1941|07|04}}
| birth_place      = [[Cuba]]
| death_date       = {{death date and age|2012|11|12|1941|07|04}}
| death_place      = [[Chicago]], [[Illinois]], U.S.
| height           = 5 ft 8 in
| weight           = 225 lb
| firstproshow     = Mr. World
| firstproshowyear = 1966
| bestwin          = IFBB Mr. Olympia 1967–1969, three consecutive times
| bestwinyear      = 1968 uncontested and unchallenged
| predecessor      = [[Larry Scott (bodybuilder)|Larry Scott]]
| successor        = [[Arnold Schwarzenegger#Bodybuilding career|Arnold Schwarzenegger]]
| yesorretiredyear = 1962–1985
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Sergio Oliva
Bodybuilder
Personal info
NicknameThe Myth
Born(1941-07-04)July 4, 1941
Cuba
DiedNovember 12, 2012(2012-11-12) (aged 71)
Chicago, Illinois, U.S.
Height5 ft 8 in (173 cm)
Weight225 lb (102 kg)
Professional career
Pro-debut
  • Mr. World
  • 1966
Best win
  • IFBB Mr. Olympia 1967–1969, three consecutive times
  • 1968 uncontested and unchallenged
PredecessorLarry Scott
SuccessorArnold Schwarzenegger
Active1962–1985
Sergio Oliva
Bodybuilder
Personal info
NicknameThe Myth
Born(1941-07-04)July 4, 1941
Cuba
DiedNovember 12, 2012(2012-11-12) (aged 71)
Chicago, Illinois, U.S.
Height5 ft 8 in (173 cm)
Weight225 lb (102 kg)
Professional career
Pro-debut
  • Mr. World
  • 1966
Best win
  • IFBB Mr. Olympia 1967–1969, three consecutive times
  • 1968 uncontested and unchallenged
PredecessorLarry Scott
SuccessorArnold Schwarzenegger
Active1962–1985

child/embed parameters

child=yes

Template code Embedded: Infobox bodybuilder Embedded: Infobox bodybuilder/sandbox
{{Infobox officeholder
| name          = Ritva Elomaa
| image         = Kike Elomaa Vihreillä Niityillä.jpg
| office        = Member of [[Finnish Parliament]] <br> for [[Finland Proper (electoral district)|Finland Proper]]
| term_start    = 20 April 2011
| birth_date    = {{Birth date and age|1955|7|16|df=y}}
| birth_place   = [[Uusikaupunki|Lokalahti]], Finland
| nationality   = [[Finland|Finnish]]
| party         = [[True Finns]]
| residence     = [[Masku]], Finland
| website       = {{URL|www.kikeelomaa.com}}
| module        = 
  {{Infobox bodybuilder | child = yes
  | nickname         = Kike
  | height           = 5 ft 5 in
  | weight           = 117 lb
  | firstproshow     = [[International Federation of BodyBuilders|IFBB]] [[Ms. Olympia]]
  | firstproshowyear = 1981
  | bestwin          = IFBB Ms. Olympia champion
  | bestwinyear      = 1981
  | predecessor      = [[Rachel McLish]]
  | successor        = Rachel McLish
  | yesorretiredyear = Retired 1983
  | medaltemplates   =
  {{MedalSport | Women's [[bodybuilding]] }}
  {{MedalCountry | {{FIN}} }}
  {{MedalCompetition | [[World Games]] }}
  {{MedalGold | [[1981 World Games|1981 Santa Clara]] | [[Bodybuilding at the 1981 World Games|Middleweight]] }}
  }}
}}
Ritva Elomaa
Kike Elomaa Vihreillä Niityillä.jpg
Member of Finnish Parliament
for Finland Proper
Assumed office
20 April 2011
Personal details
Born (1955-07-16) 16 July 1955 (age 69)
Lokalahti, Finland
NationalityFinnish
Political partyTrue Finns
ResidenceMasku, Finland
WebsiteTemplate:URL
Bodybuilder
Personal info
NicknameKike
Height5 ft 5 in (165 cm)
Weight117 lb (53 kg)
Professional career
Pro-debut
Best win
  • IFBB Ms. Olympia champion
  • 1981
PredecessorRachel McLish
SuccessorRachel McLish
ActiveRetired 1983
Medal record
Ritva Elomaa
Kike Elomaa Vihreillä Niityillä.jpg
Member of Finnish Parliament
for Finland Proper
Assumed office
20 April 2011
Personal details
Born (1955-07-16) 16 July 1955 (age 69)
Lokalahti, Finland
NationalityFinnish
Political partyTrue Finns
ResidenceMasku, Finland
WebsiteTemplate:URL
Bodybuilder
Personal info
NicknameKike
Height5 ft 5 in (165 cm)
Weight117 lb (53 kg)
Professional career
Pro-debut
Best win
  • IFBB Ms. Olympia champion
  • 1981
PredecessorRachel McLish
SuccessorRachel McLish
ActiveRetired 1983
Medal record

embed=Y

Template code Embedded: Infobox bodybuilder Embedded: Infobox bodybuilder/sandbox
{{Infobox officeholder
| name   = Infobox officeholder
| module = {{Infobox bodybuilder|embed=Y}}
}}
Infobox officeholder
Bodybuilder
Infobox officeholder
Bodybuilder

child=1

Template code Embedded: Infobox bodybuilder Embedded: Infobox bodybuilder/sandbox
{{Infobox officeholder
| name   = Infobox officeholder
| module = {{Infobox bodybuilder|child=1}}
}}
Infobox officeholder
Bodybuilder
Infobox officeholder
Bodybuilder

embed=NO

Template code Embedded: Infobox bodybuilder Embedded: Infobox bodybuilder/sandbox
{{Infobox officeholder
| name   = Infobox officeholder
| module = {{Infobox bodybuilder|embed=NO}}
}}
Infobox officeholder
Template:PAGENAMEBASE
Bodybuilder
Infobox officeholder
Template:PAGENAMEBASE
Bodybuilder

child=0

Template code Embedded: Infobox bodybuilder Embedded: Infobox bodybuilder/sandbox
{{Infobox officeholder
| name   = Infobox officeholder
| module = {{Infobox bodybuilder|child=0}}
}}
Infobox officeholder
Template:PAGENAMEBASE
Bodybuilder
Infobox officeholder
Template:PAGENAMEBASE
Bodybuilder

Height/weight

Automatic conversion

{{Infobox bodybuilder | name = 
| height = 6 ft 2 in
| weight = 265 lb
}}

Template:Testcase table

{{Infobox bodybuilder | name = 
| height = 188 cm
| weight = 120 kg
}}

Template:Testcase table

Conversion via template

{{Infobox bodybuilder | name = 
| height = {{convert|6|ft|2|in|cm|abbr=on}}
| weight = {{convert|265|lb|kg|0|abbr=on}}
}}

Template:Testcase table

{{Infobox bodybuilder | name = 
| height = {{convert|188|cm|ftin|abbr=on}}
| weight = {{convert|120|kg|lb|0|abbr=on}}
}}

Template:Testcase table

Manually entered conversion

{{Infobox bodybuilder | name = 
| height = 6 ft 2 in (188 cm)
| weight = 265 lb (120 kg)
}}

Template:Testcase table

{{Infobox bodybuilder | name = 
| height = 188 cm (6 ft 2 in)
| weight = 120 kg (265 lb)
}}

Template:Testcase table