Template:Infobox college football player/doc

From The Global Wiki
< Template:Infobox college football player
Revision as of 01:13, 18 January 2023 by Ofngv (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Intended uses

This 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

Script error: No such module "Parameter names example".

{{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

  • 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)

Use as a child template

The 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 = 
| <!-- etc. -->
| module = 
  {{Infobox college football player | embed=yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Embedding other templates

The 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

Joe Smith
File:Noflag2.svg
Joe Smith playing for State College
Ohio State Buckeyes – No. 12
PositionQuarterback
Class Senior
MajorAmerican history
Personal information
Born: (1993-09-30) September 30, 1993 (age 31)
Marion, Ohio
HeightScript error: No such module "convert".
WeightScript error: No such module "convert".
Career history
College
Bowl games
High schoolPleasant (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          = Ohio State Buckeyes
| currentnumber   = 12
| currentposition = Quarterback
| class           = [[Senior (education)|Senior]]
| major           = American history
| pastschools     = 
* [[Miami RedHawks football|Miami (OH)]] (2012)
* [[Ohio State Buckeyes football|Ohio State]] (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      = 
* First-team [[All-American]] ([[2013 College Football All-America Team|2013]], [[2014 College Football All-America Team|2014]])
* [[Big Ten Conference|Big Ten]] Player of the Year (2014)
* First-team All-Big Ten (2012, 2013, 2014)
| CFBHOF_year     = 2015
| espn            = 0
| cbs             = 1
| si              = 2
| yahoo           = 3
| rivals          = 4
}}

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.

Tracking categories

See also