Template:Infobox college football player/doc
This is a documentation subpage for Template:Infobox college football player. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
- image (P18) (see uses)
To test changes, please do so at Template:Infobox college football player/sandbox first, and then implement them here. |
Intended uses
editThis infobox template is intended to be used in articles about current and former players of American college football. However, please note the following exceptions and caveats to the foregoing general guideline for use:
1. This infobox template is not intended to be used for articles about former college football players who are also college football coaches. Articles about American college football coaches use Template:Infobox college coach, the uniform template for college coaches in all American college sports.
2. This infobox template is not intended to be used for articles about current and former National Football League (NFL) players, coaches and administrators, nor for players, coaches and administrators in the several NFL predecessor leagues, including the American Professional Football Association (APFA, 1920–1921), All-America Football Conference (AAFC, 1946–1949), American Football League (AFL, 1960–1969). This template is also not used for Arena Football League players, coaches and administrators. Articles about all of the foregoing use Template:Infobox NFL biography. If a former college football player played in one or more regular season games in the NFL, APFA, AAFC, AFL or Arena Football League, the article about such player should usually employ Template:Infobox NFL biography. If a former college football player was a member of an NFL preseason or practice squad, but never played in a regular season NFL game, then the article about him should generally use this template.
3. This infobox template is not intended to be used for articles about current and former Canadian Football League (CFL) players, coaches and administrators. If a former college football player played in one or more regular season games in the CFL, the article about such player should usually employ Template:Infobox CFL biography. If a former college football player was a member of an CFL preseason or practice squad, but never played in a regular season CFL game, then the article about him should generally use this template.
Blank template
edit[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
{{{school}}} – No. {{{currentnumber}}} | |
---|---|
Position | {{{currentposition}}} |
Class | {{{class}}} |
Major | {{{major}}} |
Personal information | |
Born: | {{{birth_date}}} {{{birth_place}}} |
Died: | {{{death_date}}} {{{death_place}}} |
Height | 1 ft 1 in (0.33 m) |
Weight | 10 lb (5 kg) |
Career history | |
College | {{{pastschools}}} |
Bowl games | {{{bowlgames}}} |
High school | {{{highschool}}} |
Career highlights and awards | |
{{{highlights}}} | |
College Football Hall of Fame ({{{CFBHOF_year}}}) | |
{{{module}}} | |
|
{{Infobox college football player
| embed =
| name =
| image =
| image_size =
| alt =
| caption =
| school =
| pastschools =
| currentnumber =
| currentposition =
| position =
| class =
| major =
| bowlgames =
| highschool =
| birth_date =
| birth_place =
| death_date =
| death_place =
| height_ft =
| height_in =
| weight_lb =
| highlights =
| CFBHOF_id =
| CFBHOF_year =
| module =
| espn =
| cbs =
| si =
| yahoo =
| rivals =
}}
Parameters
edit- birth_date – Use {{Birth date and age}} (or {{Birth date}} if dead)
- death_date – Use {{Death date and age}} (or {{Death date}} if birth date is unknown)
- alt – Alt text for the image, for visually impaired readers; see WP:ALT
- weight_lb – Use a raw number, will be automatically converted to kilograms (kg)
- height_ft, height_in – Use raw numbers, will be automatically converted to meters (m)
- school – use only for current players; do not wikilink; use of this field will cause the infobox to be framed in the team's colors
- Example: Alabama Crimson Tide (without any brackets)
- pastschools – list former college teams of current players, or all college teams of former players; wikilinks and years encouraged
- Example: [[USC Trojans football|USC]] (1970–1973)
Use as a child template
editThe embed parameter is used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
Embedding other templates
editThe module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox college football player
| name =
| <!-- etc. -->
| module =
{{Infobox military person | embed=yes
| <!-- etc. -->
}}
}}
Example
editMinnesota Golden Gophers – No. 12 | |
---|---|
Position | Quarterback |
Class | Senior |
Major | American history |
Personal information | |
Born: | Marion, Ohio | September 30, 1993
Height | 5 ft 11 in (1.80 m) |
Weight | 209 lb (95 kg) |
Career history | |
College |
|
Bowl games | |
High school | Pleasant (Marion, Ohio) |
Career highlights and awards | |
| |
College Football Hall of Fame (2015) | |
|
{{Infobox college football player
| name = Joe Smith
| image = Noflag2.svg
| image_size = frameless
| alt =
| caption = Joe Smith playing for State College
| school = Minnesota Golden Gophers
| currentnumber = 12
| currentposition = [[Quarterback]]
| class = [[Senior (education)|Senior]]
| major = American history
| pastschools =
* [[Miami RedHawks football|Miami (OH)]] (2012)
* [[Minnesota Golden Gophers football|Minnesota]] (2013–present)
| bowlgames =
* [[Rose Bowl Game|Rose Bowl]] ([[2014 Rose Bowl|2014]])
* [[Capital One Bowl]] ([[2013 Capital One Bowl|2013]])
| highschool = [[Pleasant High School (Marion, Ohio)|Pleasant]]
| birth_date = {{Birth date and age|1993|9|30|mf=y}}
| birth_place = [[Marion, Ohio]]
| death_date =
| death_place =
| height_ft = 5
| height_in = 11
| weight_lb = 209
| highlights =
* 2× First-team [[College Football All-America Team|All-American]] ([[2013 College Football All-America Team|2013]], [[2014 College Football All-America Team|2014]])
* [[Big Ten Conference football individual awards#Graham–George Offensive Player of the Year|Graham–George Offensive Player of the Year]] (2014)
* 3× First-team [[List of All-Big Ten Conference football teams|All-Big Ten]] ([[2012 All-Big Ten Conference football team|2012]]–[[2014 All-Big Ten Conference football team|2014]])
| CFBHOF_year = 2015
| espn = 0
| cbs = 1
| si = 2
| yahoo = 3
| rivals = 4
}}
Microformat
editThe 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
editDate-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
edithCard 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.
Tracking categories
edit- Category:Pages using infobox college football player with unknown parameters (2)
- Category:Pages using infobox college football player with "si" parameter (0)
- Category:Pages using infobox college football player with "rivals" parameter (0)
See also
edit- Template:Infobox CFL biography (for current and former Canadian Football League players)
- Template:Infobox NFL biography (for current and former National Football League players)