Template:Infobox bodybuilder/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Infobox bodybuilder. 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
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
}}
| {{Infobox bodybuilder}} | {{Infobox bodybuilder/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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]] }}
}}
}}
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
embed=Y
| Template code | Embedded: Infobox bodybuilder | Embedded: Infobox bodybuilder/sandbox | ||||||||||||
{{Infobox officeholder
| name = Infobox officeholder
| module = {{Infobox bodybuilder|embed=Y}}
}}
|
|
| ||||||||||||
child=1
| Template code | Embedded: Infobox bodybuilder | Embedded: Infobox bodybuilder/sandbox | ||||||||||||
{{Infobox officeholder
| name = Infobox officeholder
| module = {{Infobox bodybuilder|child=1}}
}}
|
|
| ||||||||||||
embed=NO
| Template code | Embedded: Infobox bodybuilder | Embedded: Infobox bodybuilder/sandbox | ||||||||||||||||
{{Infobox officeholder
| name = Infobox officeholder
| module = {{Infobox bodybuilder|embed=NO}}
}}
|
|
| ||||||||||||||||
child=0
| Template code | Embedded: Infobox bodybuilder | Embedded: Infobox bodybuilder/sandbox | ||||||||||||||||
{{Infobox officeholder
| name = Infobox officeholder
| module = {{Infobox bodybuilder|child=0}}
}}
|
|
| ||||||||||||||||
Height/weight
Automatic conversion
{{Infobox bodybuilder | name =
| height = 6 ft 2 in
| weight = 265 lb
}}
{{Infobox bodybuilder | name =
| height = 188 cm
| weight = 120 kg
}}
Conversion via template
{{Infobox bodybuilder | name =
| height = {{convert|6|ft|2|in|cm|abbr=on}}
| weight = {{convert|265|lb|kg|0|abbr=on}}
}}
{{Infobox bodybuilder | name =
| height = {{convert|188|cm|ftin|abbr=on}}
| weight = {{convert|120|kg|lb|0|abbr=on}}
}}
Manually entered conversion
{{Infobox bodybuilder | name =
| height = 6 ft 2 in (188 cm)
| weight = 265 lb (120 kg)
}}
{{Infobox bodybuilder | name =
| height = 188 cm (6 ft 2 in)
| weight = 120 kg (265 lb)
}}