Difference between revisions of "Template:Infobox CFL biography/doc"

From blackwiki
Jump to navigation Jump to search
imported>DoubleBlue
m (→‎Empty: update)
imported>DoubleBlue
(→‎Optional parameters: +College/CIS explanation)
Line 285: Line 285:
 
* '''position1''', '''position2''', '''position3''', '''position4''', & '''position5''' – Add the position without brackets, automatically wikilinked and abbreviated
 
* '''position1''', '''position2''', '''position3''', '''position4''', & '''position5''' – Add the position without brackets, automatically wikilinked and abbreviated
 
* '''number''' – player jersey number
 
* '''number''' – player jersey number
 +
* '''College''' - US college team
 +
* '''CIS''' - Canadian university
 
* '''DateOfBirth''' - if living, you may use {{tlx|Birth date and age|yyyy|mm|dd}}
 
* '''DateOfBirth''' - if living, you may use {{tlx|Birth date and age|yyyy|mm|dd}}
 
* '''DateOfDeath''' - you may use {{tlx|Death date and age|ydyd|md|dd|ybyb|mb|db}}
 
* '''DateOfDeath''' - you may use {{tlx|Death date and age|ydyd|md|dd|ybyb|mb|db}}

Revision as of 00:19, 22 December 2008

Template:Template doc page viewed directly

Syntax

Template:PAGENAMEBASE
No. 1
Script error: No such module "Wikidata".
Script error: No such module "Wikidata".
Career information
StatusActive
CFL statusAmerican
Position(s)QB/HB/FB/WR/TE
Height6 ft 0 in (183 cm)
Weight200 lb (91 kg)
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
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

Empty

{{Infobox Gridiron football person
|Name                 =
|full_name            =
|team                 =
|Image                =
|ImageWidth           =200
|Caption              =
|status               =
|import               =
|position1            =
|position2            =
|position3            =
|position4            =
|position5            =
|DateOfBirth          =
|Birthplace           =
|DateOfDeath          =
|Deathplace           =
|number               =
|College              =
|CIS                  =
|high_school          =
|Height_ft            =
|Height_in            =
|Weight_lbs           =
|hand                 =
|pass_style           =
|AFLRookieYear        =
|AFLDraftedYear       =
|AFLDraftedRound      =
|AFLDraftedPick       =
|AFLDraftedTeam       =
|CFLDraftedYear       =
|CFLDraftedRound      =
|CFLDraftedPick       =
|CFLDraftedTeam       =
|CommonDraftedYear    =
|CommonDraftedRound   =
|CommonDraftedPick    =
|CommonDraftedTeam    =
|NFLDraftedYear       =
|NFLDraftedRound      =
|NFLDraftedPick       =
|NFLSuppDraftedYear   =
|NFLSuppDraftedRound  =
|NFLSuppDraftedPick   =
|NFLDraftedTeam       =
|other_title          =
|other_years          =
|other_teams          =
|administrating_years =
|administrating_teams =
|coaching_years       =
|coaching_teams       =
|playing_years        =
|playing_teams        =
|career_highlights    =
* 
|AFLAllStar           =
|CFLAllStar           =
|ProBowls             =
|Awards               =
|Honors               =
|Honours              =
|Retired #s           =
|Records              =
|statlabel1           =
|statvalue1           =
|statlabel2           =
|statvalue2           =
|statlabel3           =
|statvalue3           =
|statlabel4           =
|statvalue4           =
|statlabel5           =
|statvalue5           =
|statlabel6           =
|statvalue6           =
|AFL                  =
|ArenaFan             =
|CFL                  =
|NFL                  =
|CoachPFR             =
|CFHOF                =
|CFHOFYear            =
|CollegeHOF           =
|CollegeHOFYear       =
|PFHOF                =
|PFHOFYear            =
}}

Full

{{Infobox Gridiron football person
|Name                 =John Smith
|full_name            =John Chris Smith
|team                 =
|Image                =Placeholder.png
|ImageWidth           =200
|Caption              =Caption
|status               =Active
|import               =yes
|position1            =Quarterback
|position2            =Halfback
|position3            =Fullback
|position4            =Wide receiver
|position5            =Tight end
|DateOfBirth          ={{Birth date and age|1981|1|15}}
|Birthplace           =City
|DateOfDeath          ={{Death date and age|2081|1|15|1981|1|15}}
|Deathplace           =City
|number               =1
|College              =[[College|Wikipedia]]
|high_school          =[[High school|Wikipedia High School]]
|Height_ft            =6
|Height_in            =0
|Weight_lbs           =200
|hand                 =right
|pass_style           =over
|AFLRookieYear        =2008
|AFLDraftedYear       =1966
|AFLDraftedRound      =1
|AFLDraftedPick       =1
|AFLDraftedTeam       =[[Wikipedia|Wikipedians]]
|CFLDraftedYear       =2008
|CFLDraftedRound      =1
|CFLDraftedPick       =1
|CFLDraftedTeam       =[[Wikipedia|Wikipedians]]
|CommonDraftedYear    =1967
|CommonDraftedRound   =1
|CommonDraftedPick    =1
|CommonDraftedTeam    =[[Wikipedia|Wikipedians]]
|NFLDraftedYear       =2008
|NFLDraftedRound      =1
|NFLDraftedPick       =1
|NFLSuppDraftedYear   =2008
|NFLSuppDraftedRound  =4
|NFLSuppDraftedPick   =100
|NFLDraftedTeam       =[[Wikipedia|Wikipedians]]
|administrating_years =2008
|administrating_teams =Team
|coaching_years       =2008
|coaching_teams       =Team
|playing_years        =2008
|playing_teams        =Team
|career_highlights    =
* 2008 League MVP
|AFLAllStar           =
|CFLAllStar           =
|ProBowls             =
|Awards               =
|Honors               =
|Retired #s           =
|Records              =
|statlabel1           =[[Touchdown|TD]]-[[Interception (football)|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
|ArenaFan             =
|CFL                  =2344
|NFL                  =143143
|CFHOF                =1player=Smith,_John
|CFHOFYear            =2008
|CollegeHOF           =12421
|CollegeHOFYear       =2008
|PFHOF                =845250
|PFHOFYear            =2008
}}

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

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

  • team - currently signed team, defines header colours for infobox use no wiki-markups
  • Image - Image name, without Image: namespace nor wiki-markups
  • ImageWidth - Image width in pixels
  • Caption - caption for Image
  • Status – Whether the person is active or not. Some options are Active or Not Active
  • import – for CFL players only: Import: yes, Non-Import: 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 jersey number
  • College - US college team
  • CIS - Canadian university
  • DateOfBirth - if living, you may use {{Birth date and age|yyyy|mm|dd}}
  • DateOfDeath - 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
  • administrating_teams, coaching_teams, playing_teams – a chronological list of teams separated by <br />
  • administrating_years, coaching_years, playing_years – a list of year ranges corresponding to the listed teams, separated by <br />
  • 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 identification from Canadian Football Hall of Fame, include everything after "id=" in the url (e.g., cfhof.ca/index.php?module=page&id=24&player=Ah%20You,%20Junior)
  • 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

Microformat

Template:UF-hcard-person