Difference between revisions of "Template:Infobox NCAA athlete"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m (|upright=1)
imported>Frietjes
(use infobox)
Line 1: Line 1:
<includeonly>{| class="infobox vcard" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em"
+
{{Infobox
! colspan=2 class="fn" style="font-size: 125%; text-align: center; border-bottom: #aaa 1px solid" | {{{name|{{PAGENAME}} }}}
+
| bodyclass = vcard
|-
+
| aboveclass = fn
{{#if:{{{image|}}}|
+
| abovestyle = {{#if:{{{image|}}}||border-bottom:#aaa 1px solid}}
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}}
+
| above = {{{name| <includeonly>{{PAGENAME}}</includeonly> }}}
{{!}}-
+
 
{{#if:{{{caption|}}}|
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}}
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}}
+
| caption = {{{caption|}}}
{{!}}-
+
 
}}
+
| headerstyle = background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}}
}}
+
| datastyle = text-align:left;
{{#if:{{{college|}}}|
+
 
! College
+
| label1 = College
{{!}} {{{college}}}
+
| data1 = {{{college|}}}
{{!}}-
+
 
}}
+
| label2 = [[List of NCAA conferences|Conference]]
{{#if:{{{conference|}}}|
+
| data2 = {{{conference|}}}
! [[List of NCAA conferences|Conference]]
+
 
{{!}} {{{conference}}}
+
| label3 = Sport
{{!}}-
+
| class3 = category
}}
+
| data3 = {{{sport|}}}
{{#if:{{{sport|}}}|
+
 
! Sport
+
| label4 = Position
{{!}} class="category" {{!}} {{{sport}}}
+
| class4 = category
{{!}}-
+
| data4 = {{{position|}}}
}}
+
 
{{#if:{{{position|}}}|
+
| label5 = Jersey #
! Position
+
| data5 =  {{{jersey|}}}
{{!}} class="category" {{!}} {{{position}}}
+
 
{{!}}-
+
| label6 = Class
}}
+
| class6 = category
{{#if:{{{jersey|}}}|
+
| data6 = {{{class|}}}
! Jersey #
+
 
{{!}} {{{jersey}}}
+
| label7 = [[Academic major|Major]]
{{!}}-
+
| data7 = {{{major|}}}
}}
+
 
{{#if:{{{class|}}}|
+
| label8 =  Minor
! Class
+
| data8 = {{{minor|}}}
{{!}} class="category" {{!}} {{{class}}}
+
 
{{!}}-
+
| label9 =  Nickname
}}
+
| class9 = nickname
{{#if:{{{major|}}}|
+
| data9 = {{{nickname|}}}
! [[Academic major|Major]]
+
 
{{!}} {{{major}}}
+
| label10 =  Career
{{!}}-
+
| data10 = {{#if:{{{career_start|}}}{{{year|}}}|{{{career_start|{{{year|{{{career_start}}} }}} }}}–{{#if:{{{career_end|}}}|{{{career_end}}}|''present''}}}}
}}
+
 
{{#if:{{{minor|}}}|
+
| label11 = Height
! Minor
+
| data11 = {{#if:{{{height_ft|}}}{{{height_in|}}}|{{convert|{{{height_ft|0}}}|ft|{{{height_in|0}}}|in|m|2|abbr=on}}|{{{height|}}} }}
{{!}} {{{minor}}}
+
 
{{!}}-
+
| label12 = Weight
}}
+
| data12 = {{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg|0|abbr=on}}|{{{weight|}}} }}
{{#if:{{{nickname|}}}|
+
 
! Nickname
+
| label13 = Nationality
{{!}} class="nickname" {{!}} {{{nickname}}}
+
| class13 = category
{{!}}-
+
| data13 = {{{nationality|}}}
}}
+
 
{{#if:{{{career_start|}}}{{{year|}}}|
+
| label14 = Born
! Career
+
| data14 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
{{!}} {{{career_start|{{{year|{{{career_start}}} }}} }}}–{{#if:{{{career_end|}}}|{{{career_end}}}|''present''}}
+
 
{{!}}-
+
| label15 = Died
}}
+
| data15 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
{{#if:{{{height_ft|}}}{{{height_in|}}}{{{height|}}}|
+
 
! Height
+
| label16 = High school
{{!}} {{#if:{{{height_ft|}}}{{{height_in|}}}|{{convert|{{{height_ft|0}}}|ft|{{{height_in|0}}}|in|m|2|abbr=on}}|{{{height|}}} }}
+
| data16 = {{{highschool|}}}
{{!}}-
+
 
}}
+
| label17 = Former school(s)
{{#if:{{{weight_lbs|}}}{{{weight_lb|}}}{{{weight|}}}|
+
| data17 = {{{former_school(s)|}}}
! Weight
+
 
{{!}} {{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg|0|abbr=on}}|{{{weight|}}} }}
+
| header18 = {{#if:{{{career_highlights|}}}| Career highlights}}
{{!}}-
+
 
}}
+
| label19 = Awards
{{#if:{{{nationality|}}}|
+
| data19 = {{#if:{{{awards|}}}|<nowiki />}}
! Nationality
+
| data20 = {{{awards|}}}
{{!}} class="category" {{!}} {{{nationality}}}
+
 
{{!}}-
+
| label21 = Honors
}}
+
| data21 = {{#if:{{{honors|}}}|<nowiki />}}
{{#if:{{{birth_date|}}}|
+
| data22 = {{{honors|}}}
! Born
+
 
{{!}} {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
+
| label23 = Records
{{!}}-
+
| data23 = {{#if:{{{records|}}}|<nowiki />}}
}}
+
| data24 = {{{records|}}}
{{#if:{{{death_date|}}}|
+
 
! Died
+
| header25 = {{#if:{{{championships|}}}| Championships }}
{{!}} {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
+
| data26 = {{{championship_list|}}}
{{!}}-
+
 
}}
+
| header27 = {{#if:{{{bowl_games|}}}| Bowl games}}
{{#if:{{{highschool|}}}|
+
| data28 = {{{bowl_list|}}}
! High school
+
 
{{!}} {{{highschool}}}
+
| header29 = {{#if:{{{tournaments|}}}| Tournaments}}
{{!}}-
+
| data30 = {{{tournament_list|}}}
}}
+
 
{{#if:{{{former_school(s)|}}}|
+
| header31 = {{#if:{{{medal_templates|{{{medaltemplates|}}}}}}
! Former school(s)
+
|{{Infobox medal templates
{{!}} {{{former_school(s)}}}
 
{{!}}-
 
}}
 
{{#if:{{{career_highlights|}}}|
 
! colspan=2 style="text-align: center; background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}}" {{!}} Career highlights
 
{{!}}-
 
}}
 
{{#if:{{{awards|}}}|
 
! Awards
 
{{!}}-
 
{{!}} colspan=2 {{!}} {{{awards}}}
 
{{!}}-
 
}}
 
{{#if:{{{honors|}}}|
 
! Honors
 
{{!}}-
 
{{!}} colspan=2 {{!}} {{{honors}}}
 
{{!}}-
 
}}
 
{{#if:{{{records|}}}|
 
! Records
 
{{!}}-
 
{{!}} colspan=2 {{!}} {{{records}}}
 
{{!}}-
 
}}
 
{{#if:{{{championships|}}}|
 
! colspan=2 style="text-align: center; background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}}" {{!}} Championships
 
{{!}}-
 
}}
 
{{#if:{{{championship_list|}}}|
 
{{!}} colspan=2 {{!}} {{{championship_list}}}
 
{{!}}-
 
}}
 
{{#if:{{{bowl_games|}}}|
 
! colspan=2 style="text-align: center; background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}}" {{!}} Bowl games
 
{{!}}-
 
}}
 
{{#if:{{{bowl_list|}}}|
 
{{!}} colspan=2 {{!}} {{{bowl_list}}}
 
{{!}}-
 
}}
 
{{#if:{{{tournaments|}}}|
 
! colspan=2 style="text-align: center; background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}}" {{!}} Tournaments
 
{{!}}-
 
}}
 
{{#if:{{{tournament_list|}}}|
 
{{!}} colspan=2 {{!}} {{{tournament_list}}}
 
{{!}}-
 
}}
 
{{#if:{{{medal_templates|{{{medaltemplates|}}}}}}|
 
! colspan=2 style="text-align: center; background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}}" {{!}} {{Infobox medal templates
 
 
  |medals = {{{medal_templates|{{{medaltemplates|}}}}}}
 
  |medals = {{{medal_templates|{{{medaltemplates|}}}}}}
 
  |expand = {{{medal_templates-expand|{{{medaltemplates-expand|}}}}}}
 
  |expand = {{{medal_templates-expand|{{{medaltemplates-expand|}}}}}}
}}
+
}}}}
{{!}}-
+
 
}}
+
}}<noinclude>{{documentation}}</noinclude>
|}</includeonly><noinclude>{{documentation}}</noinclude>
 

Revision as of 19:36, 20 January 2015

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

Usage

{{Infobox NCAA athlete
| color = LightSteelBlue
| fontcolor = Black
| name =
| image =  
| image_size = 
| caption = 
| college =
| conference =
| sport =
| jersey =
| position =
| class =
| major = 
| minor = 
| nickname = 
| career_start = <!-- REQUIRED -->
| career_end = 
| height_ft = <!-- REQUIRED -->
| height_in =
| weight_lb = <!-- REQUIRED -->
| nationality =
| birth_date = {{birth date and age|YYYY|MM|DD}} <!-- REQUIRED -->
| birth_place =
| death_date = 
| death_place = 
| highschool =
| former_school(s)= 
| career_highlights =
| awards = 
| honors = 
| records = 
| championships =
| championship_list =
| bowl_games =
| bowl_list = 
| tournaments =
| tournament_list =
| medal_templates =
| medal_templates-expand =
}}

Example

{{Infobox NCAA athlete
| color = LightSteelBlue
| fontcolor = Black
| name = Evan Turner
| image = 20091112 Evan Turner cropped.jpg
| image_size = 250px
| caption = Turner on November 12, 2009
| college = [[Ohio State University|Ohio State]]
| conference = [[Big Ten Conference|Big Ten]]
| sport = [[Basketball]]
| jersey = 21
| position = [[shooting guard|Guard]]/[[small forward|Forward]]
| class = Junior
| major = Consumer and Family Financial Services
| minor = 
| nickname = The Villain
| career_start = 2007
| height_ft = 6
| height_in = 7
| weight_lb = 205
| nationality = American
| birth_date = {{birth date and age|mf=yes|1988|10|27}}
| birth_place = [[Chicago]]
| highschool = St. Joseph,<br />[[Westchester, Illinois]]
| former_school(s)= 
| career_highlights = y
| awards = 
*[[2009–10 Big Ten Conference men's basketball season|2009–10]] [[Big Ten Conference Men's Basketball Player of the Year|Big Ten Men's Basketball Player of the Year]]
*2010 National Player of the Year ([[Associated Press|AP]], [[Fox Sports (USA)|FOX]], [[NABC Player of the Year|NABC]], [[Naismith Award|Naismith]], ''[[Sporting News|TSN]]'', [[Oscar Robertson Trophy|USBWA-Robertson]], [[John R. Wooden Award|Wooden]]), 
*[[2010 Big Ten Conference Men's Basketball Tournament|2010 Big Ten Tournament Most Outstanding Player]]
| honors = 
*2006–2007 First-team [[Associated Press|AP]] Class AA All-state (Illinois)
*All-[[Big Ten Conference]] (Unanimous 1st team: [[2008–09 Big Ten Conference men's basketball season|2009]] [[2009–10 Big Ten Conference men's basketball season|2010]])
*All-[[Big Ten Conference Men's Basketball Tournament|Big Ten Tournament]] ([[2009 Big Ten Conference Men's Basketball Tournament|2009]], [[2010 Big Ten Conference Men's Basketball Tournament|2010]])
*[[2009 NCAA Men's Basketball All-Americans|2009 All-American]] honorable mention ([[Associated Press|AP]])
*2009 [[Oscar Robertson Trophy]] Finalist
*2010 [[Bob Cousy Award]] Finalist
*[[2010 NCAA Men's Basketball All-Americans|2010 All-American]] first-team ([[Associated Press|AP]], [[Fox Sports (USA)|FOX]], [[National Association of Basketball Coaches|NABC]], ''[[Sporting News|TSN]]'', [[John R. Wooden Award|Wooden]] (10-man team), [[United States Basketball Writers Association|USBWA]], [[Yahoo! Sports|YS]])
| records = 
*Career [[Big Ten Conference|Big Ten]] Player of the Week awards (10)
*Single-season [[Big Ten Conference|Big Ten]] Player of the Week awards (7, [[2009–10 Big Ten Conference men's basketball season|2009–10]])
*[[Big Ten Conference Men's Basketball Tournament|Big Ten Tournament]] Championship Game Points (31, [[2010 Big Ten Conference Men's Basketball Tournament|2010]])
| championships = Y
| championship_list = 
;Team
*[[2008 National Invitation Tournament]]
*[[2009–10 Big Ten Conference men's basketball season|2009–10 Big Ten Conference season Co-champions]]
*[[2010 Big Ten Conference Men's Basketball Tournament|2010 Big Ten Conference Tournament]]
;Individual
*2008–09 Big Ten Scoring Champion
*2009–10 Big Ten Scoring Champion
*2009–10 Big Ten Defensive Rebounds Champion
| tournaments = Y
| tournament_list = [[2008 National Invitation Tournament|2008 NIT]], [[2009 NCAA Men's Division I Basketball Tournament|2009 NCAA]], [[2009 Summer Universiade]], [[2010 NCAA Men's Division I Basketball Tournament|2010 NCAA]]
}}
Evan Turner
20091112 Evan Turner cropped.jpg
Turner on November 12, 2009
CollegeOhio State
ConferenceBig Ten
SportBasketball
PositionGuard/Forward
Jersey #21
ClassJunior
MajorConsumer and Family Financial Services
NicknameThe Villain
Career2007–present
Height6 ft 7 in (2.01 m)
Weight205 lb (93 kg)
NationalityAmerican
Born (1988-10-27) October 27, 1988 (age 37)
Chicago
High schoolSt. Joseph,
Westchester, Illinois
Career highlights
Awards
Honors
Records
Championships
Team
Individual
  • 2008–09 Big Ten Scoring Champion
  • 2009–10 Big Ten Scoring Champion
  • 2009–10 Big Ten Defensive Rebounds Champion
Tournaments
2008 NIT, 2009 NCAA, 2009 Summer Universiade, 2010 NCAA
[[Category:Infobox templates|Template:Remove first word]]

Microformat

Template:UF-hcard-person