Template:Infobox NCAA athlete: Difference between revisions
''present'' unnessesary - if an article requires it, than it should be filled in by an editor. |
Zackmann08 (talk | contribs) Adding unknown parameter tracking through Category:Pages using infobox NCAA athlete with unknown parameters using Module:check for unknown parameters |
||
(45 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox |
|||
<noinclude>{{esoteric}}</noinclude> |
|||
| bodyclass = vcard |
|||
<onlyinclude>{| class="infobox" style="width: 22em; text-align: left; font-size: 90%;" cellspacing="3"" |
|||
| aboveclass = fn |
|||
! colspan="2" style="text-align: center; background-color: {{{Color|{{{color|LightSteelBlue}}}}}}; " | <font color="{{{fontcolor|black}}}">{{#if:{{{name|}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}}</font> |
|||
| abovestyle = {{#if:{{{image|}}}||border-bottom:#aaa 1px solid}} |
|||
|- |
|||
{{ |
| above = {{{name| <includeonly>{{PAGENAMEBASE}}</includeonly> }}} |
||
<!-- -->{{!}} colspan="2" style="text-align: center; border-bottom: 1px solid DimGray;" {{!}} [[Image:{{{image<noinclude>|Placeholder.png</noinclude>}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|200x250}}px|center|{{{caption| }}}]]{{#if:{{{caption<includeonly>|</includeonly>}}}|<small>''{{{caption}}}''</small>|<br/>}} |
|||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} |
|||
}} |
|||
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}} |
|||
|- |
|||
{{#if:{{{college<includeonly>|</includeonly>}}}| |
|||
| headerstyle = background-color: {{{color|{{{Color|#b0c4de}}}}}}; color: {{{fontcolor|black}}} |
|||
<!-- -->! [[List of colleges and universities in the United States|College]] |
|||
| datastyle = text-align:left; |
|||
<!-- -->{{!}} {{{college}}} |
|||
}} |
|||
| label1 = College |
|||
|- |
|||
| data1 = {{{college|}}} |
|||
{{#if:{{{conference<includeonly>|</includeonly>}}}| |
|||
<!-- -->! [[List of college athletic conferences|Conference]] |
|||
| label2 = [[List of NCAA conferences|Conference]] |
|||
<!-- -->{{!}} {{{conference}}} |
|||
| data2 = {{{conference|}}} |
|||
}} |
|||
|- |
|||
| label3 = Sport |
|||
{{#if:{{{sport<includeonly>|</includeonly>}}}| |
|||
| class3 = category |
|||
<!-- -->! Sport |
|||
| data3 = {{{sport|}}} |
|||
}} |
|||
| label4 = Position |
|||
|- |
|||
| class4 = category |
|||
{{#if:{{{position<includeonly>|</includeonly>}}}| |
|||
| data4 = {{{position|}}} |
|||
<!-- -->! Position |
|||
<!-- -->{{!}} {{{position}}} |
|||
| label5 = Jersey # |
|||
}} |
|||
| data5 = {{{jersey|}}} |
|||
|- |
|||
{{#if:{{{jersey<includeonly>|</includeonly>}}}| |
|||
| label6 = Class |
|||
<!-- -->! Jersey # |
|||
| class6 = category |
|||
<!-- -->{{!}} {{{jersey}}} |
|||
| data6 = {{{class|}}} |
|||
}} |
|||
|- |
|||
| label7 = [[Academic major|Major]] |
|||
{{#if:{{{class<includeonly>|</includeonly>}}}| |
|||
| data7 = {{{major|}}} |
|||
<!-- -->! Class |
|||
<!-- -->{{!}} {{{class}}} |
|||
| label8 = Minor |
|||
}} |
|||
| data8 = {{{minor|}}} |
|||
|- |
|||
{{#if:{{{major<includeonly>|</includeonly>}}}| |
|||
| label9 = Nickname |
|||
<!-- -->! [[Academic major|Major]] |
|||
| class9 = nickname |
|||
<!-- -->{{!}} {{{major}}} |
|||
| data9 = {{{nickname|}}} |
|||
}} |
|||
|- |
|||
| label10 = Career |
|||
{{#if:{{{minor<includeonly>|</includeonly>}}}| |
|||
| data10 = {{#if:{{{career_start|}}}{{{year|}}}|{{{career_start|{{{year|{{{career_start}}} }}} }}}–{{#if:{{{career_end|}}}|{{{career_end}}}|''present''}}}} |
|||
<!-- -->! Minor |
|||
<!-- -->{{!}} {{{minor}}} |
|||
| label11 = Height |
|||
}} |
|||
| data11 = {{#if:{{{height_ft|}}}{{{height_in|}}}|{{convert|{{{height_ft|0}}}|ft|{{{height_in|0}}}|in|m|2|abbr=on}}|{{{height|}}} }} |
|||
|- |
|||
{{#if:{{{nickname<includeonly>|</includeonly>}}}| |
|||
| label12 = Weight |
|||
<!-- -->! [[Nickname]] |
|||
| data12 = {{#if:{{{weight_lbs|}}}{{{weight_lb|}}}|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg|0|abbr=on}}|{{{weight|}}} }} |
|||
<!-- -->{{!}} {{{nickname}}} |
|||
}} |
|||
| label13 = Nationality |
|||
|- |
|||
| class13 = category |
|||
<!-- -->! Career |
|||
| data13 = {{{nationality|}}} |
|||
<!-- -->{{!}} {{{career_start|{{{year|{{{career_start}}}}}} }}} – {{#if:{{{career_end|}}} |
|||
| {{{career_end}}} |
|||
| label14 = Born |
|||
}} |
|||
| data14 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}} |
|||
|- |
|||
<!-- -->! Height |
|||
| label15 = Died |
|||
<!-- -->{{!}}{{#if:{{{height_ft|}}}{{{height_in|}}} |
|||
| {{ |
| data15 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} |
||
| {{{height|}}} |
|||
| label16 = High school |
|||
}} |
|||
| data16 = {{{highschool|}}} |
|||
|- |
|||
<!-- -->! Weight |
|||
| label17 = Former school(s) |
|||
<!-- -->{{!}}{{#if:{{{weight_lbs|{{{weight_lb|}}}}}} |
|||
| data17 = {{{former_school(s)|}}} |
|||
| {{weight|lbs = {{{weight_lbs|{{{weight_lb|0}}}}}} | }}| {{{weight|}}} |
|||
}} |
|||
| header18 = {{#if:{{{career_highlights|}}}| Career highlights}} |
|||
|- |
|||
{{#if:{{{nationality<includeonly>|</includeonly>}}}| |
|||
| label19 = Awards |
|||
<!-- -->! [[Nationality]] |
|||
| data19 = {{#if:{{{awards|}}}|<nowiki />}} |
|||
<!-- -->{{!}}{{flagcountry|{{{nationality|}}}|}}{{#if:{{{nationality_2|}}} |
|||
| data20 = {{{awards|}}} |
|||
|  /<br/>{{flagcountry|{{{nationality_2}}}|}}}} |
|||
}} |
|||
| label21 = Honors |
|||
|- |
|||
| data21 = {{#if:{{{honors|}}}|<nowiki />}} |
|||
<!-- -->! Born |
|||
| data22 = {{{honors|}}} |
|||
<!-- -->{{!}}{{{birth_date}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}} |
|||
}} |
|||
| label23 = Records |
|||
|- |
|||
{{#if:{{{ |
| data23 = {{#if:{{{records|}}}|<nowiki />}} |
||
| data24 = {{{records|}}} |
|||
<!-- -->! Died |
|||
<!-- -->{{!}}{{{death_date}}}{{#if:{{{death_place|}}}| <br/>{{{death_place}}}}} |
|||
| header25 = {{#if:{{{championships|}}}| Championships }} |
|||
}} |
|||
| data26 = {{{championship_list|}}} |
|||
|- |
|||
{{#if:{{{highschool<includeonly>|</includeonly>}}}| |
|||
| header27 = {{#if:{{{bowl_games|}}}| Bowl games}} |
|||
<!-- -->! High school |
|||
| data28 = {{{bowl_list|}}} |
|||
}} |
|||
| header29 = {{#if:{{{tournaments|}}}| Tournaments}} |
|||
|- |
|||
| data30 = {{{tournament_list|}}} |
|||
{{#if:{{{former_school(s)<includeonly>|</includeonly>}}}| |
|||
<!-- -->! Former school(s) |
|||
| header31 = {{#if:{{{medal_templates|{{{medaltemplates|}}}}}} |
|||
<!-- -->{{!}} {{{former_school(s)}}} |
|||
|{{Infobox medal templates |
|||
}} |
|||
|medals = {{{medal_templates|{{{medaltemplates|}}}}}} |
|||
|- |
|||
|expand = {{{medal_templates-expand|{{{medaltemplates-expand|}}}}}} |
|||
{{#if:{{{career_highlights<includeonly>|</includeonly>}}}| |
|||
}}}} |
|||
{{!}} colspan="2" style="text-align: left; background:{{{color|{{{Color|LightSteelBlue}}}}}};" {{!}} <font color="{{{fontcolor|black}}}">'''Career highlights'''</font> |
|||
}} |
|||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox NCAA athlete with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox NCAA athlete]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | awards | birth_date | birth_place | bowl_games | bowl_list | caption | career_end | career_highlights | career_start | championship_list | championships | class | college | Color | color | conference | death_date | death_place | fontcolor | former_school(s) | height | height_ft | height_in | highschool | honors | image | image_size | jersey | major | medal_templates | medal_templates-expand | medaltemplates | medaltemplates-expand | minor | name | nationality | nickname | position | records | sport | tournament_list | tournaments | weight | weight_lb | weight_lbs | year }}<noinclude>{{documentation}}</noinclude> |
|||
|- |
|||
{{#if:{{{awards<includeonly>|</includeonly>}}}| |
|||
<!-- -->! Awards}} |
|||
|- style="text-align: left;" |
|||
{{#if:{{{awards<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2"{{!}}<small>{{{awards}}}</small> |
|||
}} |
|||
|- |
|||
{{#if:{{{honors<includeonly>|</includeonly>}}}| |
|||
<!-- -->! Honors}} |
|||
|- style="text-align: left;" |
|||
{{#if:{{{honors<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2"{{!}}<small>{{{honors}}}</small> |
|||
}} |
|||
|- |
|||
{{#if:{{{records<includeonly>|</includeonly>}}}| |
|||
<!-- -->! Records}} |
|||
|- style="text-align: left;" |
|||
{{#if:{{{records<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2"{{!}}<small>{{{records}}}</small> |
|||
}} |
|||
|- |
|||
{{#if:{{{championships<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2" style="text-align: left; background:{{{color|{{{Color|LightSteelBlue}}}}}};" {{!}} <font color="{{{fontcolor|black}}}">'''Championships'''</font> |
|||
}} |
|||
|- style="text-align: left;" |
|||
{{#if:{{{championship_list<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2"{{!}}<small>{{{championship_list}}}</small> |
|||
}} |
|||
|- |
|||
{{#if:{{{bowl_games<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2" style="text-align: left; background:{{{color|{{{Color|LightSteelBlue}}}}}};" {{!}} <font color="{{{fontcolor|black}}}">'''Bowl games'''</font> |
|||
}} |
|||
|- style="text-align: left;" |
|||
{{#if:{{{bowl_list<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2"{{!}}<small>{{{bowl_list}}}</small> |
|||
}} |
|||
|- |
|||
{{#if:{{{tournaments<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2" style="text-align: left; background:{{{color|{{{Color|LightSteelBlue}}}}}};" {{!}} <font color="{{{fontcolor|black}}}">'''Tournaments'''</font> |
|||
}} |
|||
|- style="text-align: left;" |
|||
{{#if:{{{tournament_list<includeonly>|</includeonly>}}}| |
|||
{{!}} colspan="2"{{!}}<small>{{{tournament_list}}}}}</small> |
|||
|} |
|||
</onlyinclude> |
|||
<noinclude> |
|||
:''See [[{{TALKPAGENAME}}|talk page]] for example usage.'' |
|||
[[Category:Templates using ParserFunctions|NCAA Athlete]] |
|||
[[Category:Athlete infobox templates|NCAA Athlete]] |
|||
[[Category:College sports infobox templates|NCAA Athlete]] |
|||
</noinclude> |
Latest revision as of 00:47, 25 January 2023
![]() | This template uses Lua: |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
image (P18) (see uses)
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 = <!-- use only when necessary per [[WP:INFONAT]] -->
| 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 = <nowiki></nowiki>
*[[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 = <nowiki></nowiki>
*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 = <nowiki></nowiki>
*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 = <nowiki></nowiki>
;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 Division I men's basketball tournament|2009 NCAA]], [[2009 Summer Universiade]], [[2010 NCAA Men's Division I Basketball Tournament|2010 NCAA]]
}}
Evan Turner | |
---|---|
![]() Turner on November 12, 2009 | |
College | Ohio State |
Conference | Big Ten |
Sport | Basketball |
Position | Guard/Forward |
Jersey # | 21 |
Class | Junior |
Major | Consumer and Family Financial Services |
Nickname | The Villain |
Career | 2007–present |
Height | 6 ft 7 in (2.01 m) |
Weight | 205 lb (93 kg) |
Nationality | American |
Born | Chicago | October 27, 1988
High school | St. Joseph, Westchester, Illinois |
Career highlights | |
Awards | |
| |
Honors | |
| |
Records | |
| |
Championships | |
| |
Tournaments | |
2008 NIT, 2009 NCAA, 2009 Summer Universiade, 2010 NCAA |
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.