Template:Infobox bodybuilder/testcases

Example

edit
{{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

edit

child=yes

edit
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
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
Political partyTrue Finns
Residence(s)Masku, Finland
Websitewww.kikeelomaa.com
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
Women's bodybuilding
Representing  Finland
World Games
Gold medal – first place 1981 Santa Clara Middleweight
Ritva Elomaa
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
Political partyTrue Finns
Residence(s)Masku, Finland
Websitewww.kikeelomaa.com
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

edit
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

edit
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

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

child=0

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

Height/weight

edit

Automatic conversion

edit
{{Infobox bodybuilder | name = 
| height = 6 ft 2 in
| weight = 265 lb
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height6 ft 2 in (188 cm)
Weight265 lb (120 kg)
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height6 ft 2 in (188 cm)
Weight265 lb (120 kg)
{{Infobox bodybuilder | name = 
| height = 188 cm
| weight = 120 kg
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height188 cm (6 ft 2 in)
Weight120 kg (265 lb)
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height188 cm (6 ft 2 in)
Weight120 kg (265 lb)

Conversion via template

edit
{{Infobox bodybuilder | name = 
| height = {{convert|6|ft|2|in|cm|abbr=on}}
| weight = {{convert|265|lb|kg|0|abbr=on}}
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height6 ft 2 in (188 cm)
Weight265 lb (120 kg)
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height6 ft 2 in (188 cm)
Weight265 lb (120 kg)
{{Infobox bodybuilder | name = 
| height = {{convert|188|cm|ftin|abbr=on}}
| weight = {{convert|120|kg|lb|0|abbr=on}}
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height188 cm (6 ft 2 in)
Weight120 kg (265 lb)
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height188 cm (6 ft 2 in)
Weight120 kg (265 lb)

Manually entered conversion

edit
{{Infobox bodybuilder | name = 
| height = 6 ft 2 in (188 cm)
| weight = 265 lb (120 kg)
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height6 ft 2 in (188 cm)
Weight265 lb (120 kg)
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height6 ft 2 in (188 cm)
Weight265 lb (120 kg)
{{Infobox bodybuilder | name = 
| height = 188 cm (6 ft 2 in)
| weight = 120 kg (265 lb)
}}
Side by side comparison
{{Infobox bodybuilder}}{{Infobox bodybuilder/sandbox}}
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height188 cm (6 ft 2 in)
Weight120 kg (265 lb)
Infobox bodybuilder/testcases
Bodybuilder
Personal info
Height188 cm (6 ft 2 in)
Weight120 kg (265 lb)