Jump to content

Template:Infobox NCAA athlete: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Smile Lee (talk | contribs)
''present'' unnessesary - if an article requires it, than it should be filled in by an editor.
 
(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}}
|-
{{#if:{{{image<includeonly>|</includeonly>}}}|
| 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|&#32;}}}]]{{#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
<!-- -->{{!}} {{{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|&#123;&#123;&#123;career_start&#125;&#125;&#125;}}} }}} &ndash; {{#if:{{{career_end|}}}

| {{{career_end}}}
| label14 = Born
}}
| data14 = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
|-

<!-- -->! Height
| label15 = Died
<!-- -->{{!}}{{#if:{{{height_ft|}}}{{{height_in|}}}
| {{height|ft = {{{height_ft|0}}}|in = {{{height_in|0}}} | }}
| 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|}}}
| &#32;/<br/>{{flagcountry|{{{nationality_2}}}|}}}}

}}
| label21 = Honors
|-
| data21 = {{#if:{{{honors|}}}|<nowiki />}}
<!-- -->! Born
| data22 = {{{honors|}}}
<!-- -->{{!}}{{{birth_date}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}

}}
| label23 = Records
|-
{{#if:{{{death_date<includeonly>|</includeonly>}}}|
| 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
<!-- -->{{!}} {{{highschool}}}
| 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