Template:Infobox cyclist/testcases

From blackwiki
Jump to navigation Jump to search

Height/weight

Automatic conversion

{{Infobox cyclist | name = 
| height = 5 ft 10 in
| weight = 130 lb
}}

Template:Testcase table

{{Infobox cyclist | name = 
| height = 180 cm
| weight = 60 kg
}}

Template:Testcase table

Conversion via template

{{Infobox cyclist | name = 
| height = {{convert|5|ft|10|in|cm|abbr=on}}
| weight = {{convert|130|lb|kg|0|abbr=on}}
}}

Template:Testcase table

{{Infobox cyclist | name = 
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|60|kg|lb|0|abbr=on}}
}}

Template:Testcase table

Manually entered conversion

{{Infobox cyclist | name = 
| height = 5 ft 10 in (178 cm)
| weight = 130 lb (59 kg)
}}

Template:Testcase table

{{Infobox cyclist | name = 
| height = 180 cm (5 ft 11 in)
| weight = 60 kg (132 lb)
}}

Template:Testcase table

Embedded as child

Use as "child" for column widths the same as parent infobox (see Template:Infobox/doc#Embedding).

Live version Sandbox version
Marty Nothstein
Board of Commissioners of Lehigh County, Pennsylvania
Assumed office
2015
Personal details
Born
Martin Wayne Nothstein

(1971-02-10) February 10, 1971 (age 51)
Allentown, Pennsylvania, U.S.
Political partyRepublican
Cycling career
Script error: No such module "Wikidata".
Script error: No such module "Wikidata".
Personal information
NicknameThe Blade
Height6 ft 1 12 in (187 cm)
Weight212 lb (96 kg)
Team information
DisciplineTrack & Road
RoleRider
Rider typeSprinter
Professional teams
2001Mercury Viatel
2002–2006Navigators Insurance Cycling Team
Collapse
Medal record
Marty Nothstein
Board of Commissioners of Lehigh County, Pennsylvania
Assumed office
2015
Personal details
Born
Martin Wayne Nothstein

(1971-02-10) February 10, 1971 (age 51)
Allentown, Pennsylvania, U.S.
Political partyRepublican
Cycling career
Script error: No such module "Wikidata".
Script error: No such module "Wikidata".
Personal information
NicknameThe Blade
Height6 ft 1 12 in (187 cm)
Weight212 lb (96 kg)
Team information
DisciplineTrack & Road
RoleRider
Rider typeSprinter
Professional team(s)
2001Mercury Viatel
2002–2006Navigators Insurance Cycling Team
Collapse
Medal record
{{Infobox officeholder
| name           = Marty Nothstein
| office         = Board of Commissioners of [[Lehigh County, Pennsylvania]]
| term_start     = 2015
| birth_name     = Martin Wayne Nothstein
| birth_date     = {{birth date and age|1971|2|10}}
| birth_place    = [[Allentown, Pennsylvania]], U.S.
| death_date     = 
| death_place    = 
| party          = [[Republican Party (United States)|Republican]]
| module         = 
  {{Infobox cyclist
  | child          = yes
  | name           = '''Cycling career'''
  | nickname       = The Blade
  | height         = 6 ft 1+1/2 in
  | weight         = 212 lb
  | discipline     = Track & Road
  | role           = Rider
  | ridertype      = Sprinter
  | proyears1      = 2001
  | proteam1       = Mercury Viatel
  | proyears2      = 2002–2006
  | proteam2       = Navigators Insurance Cycling Team
  | show-medals    = yes
  | medaltemplates =
  {{MedalSport|Men's [[track cycling]]}}
  {{MedalCountry|the {{USA}}}}
  {{MedalCompetition|[[Cycling at the Summer Olympics|Olympic Games]]}}
  {{MedalGold|[[2000 Summer Olympics|2000 Sydney]]|[[Cycling at the 2000 Summer Olympics – Men's sprint|Sprint]]}}
  {{MedalSilver|[[1996 Summer Olympics|1996 Atlanta]]|[[Cycling at the 1996 Summer Olympics – Men's sprint|Sprint]]}}
  {{MedalCompetition|[[UCI Track Cycling World Championships|World Championships]]}}
  {{MedalGold|[[1996 UCI Track Cycling World Championships|1996 Manchester]]|Keirin}}
  {{MedalSilver|1996 Manchester|Sprint}}
  {{MedalBronze|[[1995 UCI Track Cycling World Championships|1995 Bogota]]|Team sprint}}
  }}
}}

Embedded as subbox

Use as "subbox" for column widths independent of parent infobox (see Template:Infobox/doc#Subboxes).

Live version Sandbox version
Marty Nothstein
Board of Commissioners of Lehigh County, Pennsylvania
Assumed office
2015
Personal details
Born
Martin Wayne Nothstein

(1971-02-10) February 10, 1971 (age 51)
Allentown, Pennsylvania, U.S.
Political partyRepublican
Script error: No such module "If empty".
Script error: No such module "Wikidata".
Script error: No such module "Wikidata".
Personal information
NicknameThe Blade
Height6 ft 1 12 in (187 cm)
Weight212 lb (96 kg)
Team information
DisciplineTrack & Road
RoleRider
Rider typeSprinter
Professional teams
2001Mercury Viatel
2002–2006Navigators Insurance Cycling Team
Collapse
Medal record
Marty Nothstein
Board of Commissioners of Lehigh County, Pennsylvania
Assumed office
2015
Personal details
Born
Martin Wayne Nothstein

(1971-02-10) February 10, 1971 (age 51)
Allentown, Pennsylvania, U.S.
Political partyRepublican
Script error: No such module "If empty".
Script error: No such module "Wikidata".
Script error: No such module "Wikidata".
Personal information
NicknameThe Blade
Height6 ft 1 12 in (187 cm)
Weight212 lb (96 kg)
Team information
DisciplineTrack & Road
RoleRider
Rider typeSprinter
Professional team(s)
2001Mercury Viatel
2002–2006Navigators Insurance Cycling Team
Collapse
Medal record
{{Infobox officeholder
| name           = Marty Nothstein
| office         = Board of Commissioners of [[Lehigh County, Pennsylvania]]
| term_start     = 2015
| birth_name     = Martin Wayne Nothstein
| birth_date     = {{birth date and age|1971|2|10}}
| birth_place    = [[Allentown, Pennsylvania]], U.S.
| death_date     = 
| death_place    = 
| party          = [[Republican Party (United States)|Republican]]
| module         = 
  {{Infobox cyclist
  | subbox         = yes
  | name           = Cycling career
  | nickname       = The Blade
  | height         = 6 ft 1+1/2 in
  | weight         = 212 lb
  | discipline     = Track & Road
  | role           = Rider
  | ridertype      = Sprinter
  | proyears1      = 2001
  | proteam1       = Mercury Viatel
  | proyears2      = 2002–2006
  | proteam2       = Navigators Insurance Cycling Team
  | show-medals    = yes
  | medaltemplates =
  {{MedalSport|Men's [[track cycling]]}}
  {{MedalCountry|the {{USA}}}}
  {{MedalCompetition|[[Cycling at the Summer Olympics|Olympic Games]]}}
  {{MedalGold|[[2000 Summer Olympics|2000 Sydney]]|[[Cycling at the 2000 Summer Olympics – Men's sprint|Sprint]]}}
  {{MedalSilver|[[1996 Summer Olympics|1996 Atlanta]]|[[Cycling at the 1996 Summer Olympics – Men's sprint|Sprint]]}}
  {{MedalCompetition|[[UCI Track Cycling World Championships|World Championships]]}}
  {{MedalGold|[[1996 UCI Track Cycling World Championships|1996 Manchester]]|Keirin}}
  {{MedalSilver|1996 Manchester|Sprint}}
  {{MedalBronze|[[1995 UCI Track Cycling World Championships|1995 Bogota]]|Team sprint}}
  }}
}}