Template:Infobox Canadian Football League biography/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>PrimeHunter
(Restored revision 1096782853 by Aidan721 (talk): This infobox has no spouse parameter)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:19, 18 January 2023

Intended uses

This infobox template is intended to be used for current and former Canadian Football League (CFL) players, coaches and administrators.

This infobox template is not intended to be used for 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. All of the foregoing use Template:Infobox NFL biography. This template may be more appropriate for a player, coach, or administrator who played in the NFL but is most notable for their CFL career.

This template is also not used for American college football players, which use Template:Infobox college football player, nor for American college football coaches, which use Template:Infobox college coach, the uniform template for college coaches in all American college sports.

Blank template

Standard

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

{{Infobox CFL biography
| name              = 
| number            = 
| team              = 
| image             = 
| alt               = 
| caption           = 
| birth_date        = 
| birth_place       = 
| death_date        = 
| death_place       = 
| status            = 
| import            = 
| position1         = 
| height_ft         = 
| height_in         = 
| weight_lb         = 
| college           = 
| CIS               = 
| high_school       = 
| CFLDraftedYear    = 
| CFLDraftedRound   = 
| CFLDraftedPick    = 
| CFLDraftedTeam    = 
| NFLDraftedYear    = 
| NFLDraftedRound   = 
| NFLDraftedPick    = 
| NFLDraftedTeam    = 
| playing_years1    = 
| playing_team1     = 
| career_highlights = 
| CFL               = 
| NFL               = 
}}

All parameters

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

{{Infobox CFL biography
| embed                  = 
| name                   = 
| number                 = 
| team                   = 
| image                  = 
| image_upright          = 
| alt                    = 
| caption                = 
| nickname               = 
| birth_date             = 
| birth_place            = 
| death_date             = 
| death_place            = 
| status                 = 
| import                 = 
| position               = <!-- or: position1 -->
| position2              = 
| position3              = 
| position4              = 
| position5              = 
| uniform_number         = <!-- or: jersey -->
| height_ft              = 
| height_in              = 
| weight_lb              = <!-- or: weight_lbs -->
| college                = 
| CIS                    = 
| amateur_title          = 
| amateur_team           = 
| high_school            = <!-- or: highschool -->
| AFLRookieYear          = 
| AFLDraftedYear         = 
| AFLDraftedRound        = 
| AFLDraftedPick         = 
| AFLDraftedTeam         = 
| BAFLRookieYear         = 
| BAFLDraftedTeam        = 
| CFLDraftedYear         = 
| CFLDraftedRound        = 
| CFLDraftedPick         = 
| CFLDraftedTeam         = 
| CommonDraftedYear      = 
| CommonDraftedRound     = 
| CommonDraftedPick      = 
| CommonDraftedTeam      = 
| ExpDraftedYear         = 
| ExpDraftedRound        = 
| ExpDraftedPick         = 
| ExpDraftedTeam         = 
| NFLDraftedYear         = <!-- or: DraftedYear -->
| NFLDraftedRound        = <!-- or: DraftedRound -->
| NFLDraftedPick         = <!-- or: DraftedPick -->
| NFLSuppDraftedYear     = 
| NFLSuppDraftedRound    = 
| NFLSuppDraftedPick     = 
| NFLDraftedTeam         = 
| hand                   = 
| pass_style             = 
| administrating_years1  = 
| administrating_team1   = 
<!-- ... --->
| administrating_years10 = 
| administrating_team10  = 
| coaching_years1        = 
| coaching_team1         = 
<!-- ... --->
| coaching_years30       = 
| coaching_team30        = 
| playing_years1         = 
| playing_team1          = 
<!-- ... --->
| playing_years20        = 
| playing_team20         = 
| other_title            = 
| other_years1           = 
| other_team1            = 
<!-- ... --->
| other_years10          = 
| other_team10           = 
| career_footnotes       = 
| career_highlights      = 
*
| AFLAllStar             = 
| CFLAllStar             = 
| CFLEastAllStar         = 
| CFLWestAllStar         = 
| ProBowls               = 
| awards                 = 
| honors                 = <!-- or: honours -->
| retired #s             = 
| records                = 
| statlabel1             = 
| statvalue1             = 
| statlabel2             = 
| statvalue2             = 
| statlabel3             = 
| statvalue3             = 
| statlabel4             = 
| statvalue4             = 
| statlabel5             = 
| statvalue5             = 
| statlabel6             = 
| statvalue6             = 
| AFL                    = 
| ArenaFan               = 
| CFL                    = <!-- or: CFL-archive -->
| NFL                    = 
| CBS                    = 
| DatabaseFootball       = 
| CoachPFR               = 
| CFHOF                  = 
| CFHOFYear              = 
| CollegeHOF             = 
| CollegeHOFYear         = 
| PFHOF                  = <!-- or: HOF = -->
| PFHOFYear              = <!-- or: HOFYear = -->
| module                 = 
}}

Parameters

Mandatory parameters

These fields will be shown regardless of whether a value is given

  • name – name of player, PAGENAME used if no value given

Optional parameters

Wikidata

These fields will fetch values from Wikidata if the parameter is omitted. That will be suppressed if the parameter is given an empty value (e.g. |image= )

  • image - Image name, without File: namespace nor wiki-markups
  • caption - caption for Image

Non-Wikidata

These fields will not be shown if the parameter is omitted or if no value is given

  • nickname -
  • team - currently signed team, defines header colours for infobox use no wiki-markups
  • image_upright - Image scaling factor
  • alt - Alt text to describe image, for visually impaired readers. See WP:ALT.
  • status – Whether the person is active or not. Some options are Active or Not Active
  • import – for CFL players only: American: yes, Global (since 2019): global, National: no; leave blank if n/a
  • position - deprecated, will only display if no position# below given
  • position1, position2, position3, position4, & position5 – Add the position without brackets, automatically wikilinked and abbreviated
  • number – player current jersey number
  • college - US college team
  • CIS - Canadian university
  • amateur_title - heading for non-college play (e.g. CJFL); amateur_team
  • birth_date - if living, you may use {{Birth date and age|yyyy|mm|dd}}
  • death_date - you may use {{Death date and age|ydyd|md|dd|ybyb|mb|db}}
  • AFLRookieYear - Arena Football League entry year
  • AFLDraftedYear, AFLDraftedRound, AFLDraftedPick, AFLDraftedTeam - American Football League Draft
  • CFLDraftedYear, CFLDraftedRound, CFLDraftedPick, CFLDraftedTeam - Canadian Football League Draft
  • NFLDraftedYear, NFLDraftedRound, NFLDraftedPick, NFLDraftedTeam - National Football League Draft
  • other_teams, other_years - chronological list of other football-related roles
    • other_title - heading for Organizations as {{{other_title}}}
  • career_highlights – list of achievements ordered by a *
  • AFLAllStar - years selected as American Football League All-Star
  • CFLAllStar - years selected as Canadian Football League All-Star or All-Canadian
  • ProBowls - years selected for the NFL All-Star game
  • External link for statistics.
    • AFL – player identification from Arenafootball.com
      • ArenaFan - player identification from ArenaFan.com, not displayed if AFL is used
    • CFL – player identification from CFL.ca
    • NFL – player identification from NFL.com
  • CFHOF - player page identification from Canadian Football Hall of Fame, in the form first-last
  • CollegeHOF player identification from College Football Hall of Fame website, empty otherwise
  • PFHOF – player identification from Pro Football Hall of Fame website, empty otherwise
    • PFHOFYear – year player was inducted into the Pro Football Hall of Fame, empty otherwise

Military service

<!--Military service-->
| module = {{Infobox military person|embed=yes
| allegiance    = 
| branch        = 
| serviceyears  = 
| rank          = 
| servicenumber = <!-- Do not use data from primary sources such as service records -->
| unit          = 
| commands      = 
| battles       = 
| battles_label = 
| awards        =
| memorials     =
| spouse        = <!-- Add spouse if reliably sourced --> 
| relations     =
| laterwork     = 
}}

If the player served notably in the military, you may include the following parameters, using |module={{infobox military person|embed=yes}}. See Template:Infobox military person for further information.

  • allegiance – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates. This field should not be used to indicate a particular service branch, which is better indicated by the branch field (below).
  • branch – the service branch (Army, Navy, etc.) the person was a part of; this should be left blank for people who were not part of a formal armed service, or who predate the establishment of formal service branches.
  • serviceyears – the years during which the person served.
  • rank – the highest rank achieved by the person. Unusual cases, such as this rank not being the last achieved, or the rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with a date and country note for each.
  • unit – for persons who are not notable as commanding officers, the unit (company, battalion, regiment, etc.) in which they served. This should be omitted if the commands are specified (as above).
  • battles – any notable battles or wars in which the person participated. This should be omitted if a campaignbox is used in conjunction with this template.
  • awards – any notable military awards or decorations the person received.

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 CFL biography | 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.

{{Infobox CFL biography
| name = 
| <!-- etc. -->
| module =
  {{Infobox ABC
  | embed = yes <!-- or child=yes / subbox=yes -->
  | <!-- etc. -->
  }}
}}

Example

John Smith
No. 1
File:Placeholder.svg
Caption
Nickname(s)Jonno
Born:(1981-01-15)January 15, 1981
City
Died:Error: Death date (first date) must not be in the future
City
Career information
StatusActive
CFL statusAmerican
Position(s)QB/HB/FB/WR/TE
HeightScript error: No such module "convert".
WeightScript error: No such module "convert".
CollegeWikipedia
High schoolWikipedia High School
AFL entry2008
AFL draft1966 / Round: 1 / Pick: 1
Drafted byWikipedians
CFL Draft2008 / Round: 1 / Pick: 1
Drafted byWikipedians
Common draft1967 / Round: 1 / Pick: 1
Drafted byWikipedians
Expansion draft2002 / Round: 1 / Pick: 1
Drafted byWikipedians
NFL draft2008 / Round: 1 / Pick: 1
Supplemental draft2008 / Round: 4 / Pick: 100
Drafted byWikipedians
HandRight
Passing styleOver
Career highlights and awards
  • 2008 League MVP
Career stats
TD-INT273-139
Yards40,551
QB Rating92.3
Comp-Att3,409-5,391
%63.2
GP-GS192-164
{{Infobox CFL biography
| name                 = John Smith
| nickname             = Jonno
| image                = Placeholder.svg
| caption              = Caption
| status               = Active
| import               = yes
| position1            = Quarterback
| position2            = Halfback
| position3            = Fullback
| position4            = Wide receiver
| position5            = Tight end
| birth_date           = {{Birth date|1981|1|15}}
| birth_place          = City
| death_date           = {{Death date and age|2081|1|15|1981|1|15}}
| death_place          = City
| number               = 1
| college              = [[College|Wikipedia]]
| high_school          = [[High school|Wikipedia High School]]
| height_ft            = 6
| height_in            = 0
| weight_lb            = 200
| hand                 = right
| pass_style           = over
| AFLRookieYear        = 2008
| AFLDraftedYear       = 1966
| AFLDraftedRound      = 1
| AFLDraftedPick       = 1
| AFLDraftedTeam       = [[Wikipedia]]ns
| CFLDraftedYear       = 2008
| CFLDraftedRound      = 1
| CFLDraftedPick       = 1
| CFLDraftedTeam       = [[Wikipedia]]ns
| CommonDraftedYear    = 1967
| CommonDraftedRound   = 1
| CommonDraftedPick    = 1
| CommonDraftedTeam    = [[Wikipedia]]ns
| ExpDraftedYear       = 2002
| ExpDraftedRound      = 1
| ExpDraftedPick       = 1
| ExpDraftedTeam       = [[Wikipedia]]ns
| NFLDraftedYear       = 2008
| NFLDraftedRound      = 1
| NFLDraftedPick       = 1
| NFLSuppDraftedYear   = 2008
| NFLSuppDraftedRound  = 4
| NFLSuppDraftedPick   = 100
| NFLDraftedTeam       = [[Wikipedia]]ns
| career_highlights    =
* 2008 League MVP
| statlabel1           = [[Touchdown|TD]]-[[Interception|INT]]
| statvalue1           = 273-139
| statlabel2           = Yards
| statvalue2           = 40,551
| statlabel3           = [[Passer rating|QB Rating]]
| statvalue3           = 92.3
| statlabel4           = [[Completion (American football)|Comp]]-Att
| statvalue4           = 3,409-5,391
| statlabel5           = %
| statvalue5           = 63.2
| statlabel6           = GP-GS
| statvalue6           = 192-164
| AFL                  = 12341
| CFL                  = john-smith/135791
| NFL                  = SMI024682
| NFL-new              = johnsmith/1234567
| CFHOF                = john-smith
| CFHOFYear            = 2008
| CollegeHOF           = 1378
| CollegeHOFYear       = 2008
| PFHOF                = 845250
| PFHOFYear            = 2008
}}

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.

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox Canadian Football League biography

An infobox for gridion football person.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of player.

Default
Article name without disambiguation.
Stringoptional
Nickname nickname

Nickname of player.

Stringoptional
Teamteam

Currently signed team, defines header colours for infobox use no wiki-markups.

Stringoptional
Imageimage

Image name, without File: namespace nor wiki-markups.

Fileoptional
Image uprightimage_upright

Image scaling factor.

Numberoptional
Altalt

Alt text to describe image, for visually impaired readers. See WP:ALT.

Stringoptional
Captioncaption

Caption for Image.

Stringoptional
Statusstatus

Whether the person is active or not. Some options are Active or Not Active.

Stringoptional
Importimport

For CFL players only: International: yes, National: no; leave blank if n/a.

Stringoptional
Positionposition

Deprecated, will only display if no position# below given.

Stringoptional
Positionsposition1, position2, position3, position4, & position5

Add the position without brackets, automatically wikilinked and abbreviated.

Lineoptional
Numbernumber

Player current jersey number.

Numberoptional
Collegecollege

US college team.

Stringoptional
CISCIS

Canadian university.

Stringoptional
Amateur titleamateur_title

Heading for non-college play (e.g. CJFL); amateur_team.

Stringoptional
Birth date birth_date

If living, you may use {{Birth date and age|yyyy|mm|dd}}.

Stringoptional
Death date death_date

You may use {{Death date and age|ydyd|md|dd|ybyb|mb|db}}.

Stringoptional
AFL Rookie YearAFLRookieYear

Arena Football League entry year.

Stringoptional
AFL DraftedAFLDraftedYear, AFLDraftedRound, AFLDraftedPick, AFLDraftedTeam

American Football League Draft.

Stringoptional
AFL DraftedCFLDraftedYear, CFLDraftedRound, CFLDraftedPick, CFLDraftedTeam

Canadian Football League Draft.

Stringoptional
AFL DraftedNFLDraftedYear, NFLDraftedRound, NFLDraftedPick, NFLDraftedTeam

National Football League Draft.

Stringoptional
Othersother_teams,other_years

Chronological list of other football-related roles.

Lineoptional
Other titleother_title

Heading for Organizations as {{{other_title}}}.

Stringoptional
Highlightscareer_highlights

List of achievements ordered by a *.

Lineoptional
AFL All StarAFLAllStar

Years selected as American Football League All-Star.

Stringoptional
CFL All StarCFLAllStar

Years selected as American Football League All-Star or All-Canadian.

Stringoptional
Pro Bowls ProBowls

Years selected for the NFL All-Star game.

Stringoptional
AFLAFL

Player identification from Arenafootball.com.

Stringoptional
Arena FanArenaFan

Player identification from ArenaFan.com, not displayed if AFL is used.

Stringoptional
CFLCFL

Player identification from CFL.ca.

Stringoptional
NFLNFL

Player identification from NFL.com.

Stringoptional
CBSCBS

Player identification from cbs.sportsline.com, not displayed if NFL is used.

Stringoptional
Database FootballDatabaseFootball

Player identification from databasefootball.com, not displayed if CBS or NFL is used.

Stringoptional
CF Hall Of FameCFHOF

Player page identification from Canadian Football Hall of Fame, in the form 'first-last'

Stringoptional
College Hall Of FameCollegeHOF

Player identification from College Football Hall of Fame website, empty otherwise.

Stringoptional
Pro Football Hall Of FamePFHOF

Player identification from Pro Football Hall of Fame website, empty otherwise.

Stringoptional
PF HOF YearPFHOFYear

Year player was inducted into the Pro Football Hall of Fame, empty otherwise.

Stringoptional
Modulemodule

Used for embedding other infoboxes into this one.

Unknownoptional
Heightheight_ft

no description

Unknownoptional
Heightheight_in

no description

Unknownoptional
Weightweight_lb

no description

Unknownoptional

Tracking categories

See also