Template:Infobox CFL biography/sandbox
Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
This is the template sandbox page for Template:Infobox CFL biography (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Contents
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
Template: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
Template: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
orNot 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
- CBS - player identification from cbs.sportsline.com, not displayed if NFL is used
- DatabaseFootball - player identification from databasefootball.com, not displayed if CBS or NFL is used
- CBS - player identification from cbs.sportsline.com, not displayed if NFL is used
- AFL – player identification from Arenafootball.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=
. See Template:Infobox military person for further information.
{{infobox military person|embed=yes}}
- 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
No. 1 | |
Caption | |
Nickname(s) | Jonno |
---|---|
Born: | City | January 15, 1981
Died: | Error: Death date (first date) must not be in the future City |
Career information | |
Status | Active |
CFL status | American |
Position(s) | QB/HB/FB/WR/TE |
Height | 6 ft 0 in (183 cm) |
Weight | 200 lb (91 kg) |
College | Wikipedia |
High school | Wikipedia High School |
AFL entry | 2008 |
AFL draft | 1966 / Round: 1 / Pick: 1 |
Drafted by | Wikipedians |
CFL draft | 2008 / Round: 1 / Pick: 1 |
Drafted by | Wikipedians |
Common draft | 1967 / Round: 1 / Pick: 1 |
Drafted by | Wikipedians |
Expansion draft | 2002 / Round: 1 / Pick: 1 |
Drafted by | Wikipedians |
NFL draft | 2008 / Round: 1 / Pick: 1 |
Supplemental draft | 2008 / Round: 4 / Pick: 100 |
Drafted by | Wikipedians |
Hand | Right |
Passing style | Over |
Career highlights and awards | |
| |
Career stats | |
TD-INT | 273-139 |
Yards | 40,551 |
QB Rating | 92.3 |
Comp-Att | 3,409-5,391 |
% | 63.2 |
GP-GS | 192-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
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See the monthly parameter usage report for this template.
TemplateData for Infobox CFL biography An infobox for gridion football person.
|
Tracking categories
- Category:Pages using infobox CFL biography with unknown parameters (0)
- Category:Pages using infobox CFL biography with military parameters (0)
- Category:Pages using infobox CFL biography to be checked for style (0)
- Category:Pages using infobox CFL biography with invalid CFL parameter (0)
- Category:Pages using infobox CFL biography with DatabaseFootball parameter (0)
See also
- Template:Infobox NFL biography (for current and former NFL players and coaches)
- Template:Infobox college football player (for American current and former college football players)
The above documentation is transcluded from Template:Infobox CFL biography/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |