Template:CFLDraft-row/doc
This is a documentation subpage for Template:CFLDraft-row. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template is part of a collection (see "See also") that is used to list players selected in the CFL Canadian Draft.
{{CFLDraft-row | |
| draftyear = | the year in which the draft took place (used to link selecting team to the team's season page) [optional] |
| round= | the draft round in which the player was selected |
| picknum= | the overall number of the selection (not the number within the round) |
| team= | the pro team which made the selection (not wikilinked) |
| first= | first name of the player selected |
| last= | last name of the player selected |
| dab= | name of the player article (if not just "First Last") [optional] |
| position= | football position of the player |
| collegeyear= | final year of player's college career (generally one year previous to the year of the draft, e.g. for the 2010 draft, college year should be 2009 in most cases) |
| college= | the college or university last attended by the player – should match the title of the school's WP article (e.g. "Syracuse University" or "Georgia Institute of Technology") |
| collegeteam= | the player's college team name (e.g. "Syracuse Orange" or "Georgia Tech Yellow Jackets") |
| collegelink= | the abbreviated name of the school which will be displayed in the table (e.g. "Syracuse" or "Georgia Tech") |
| note= | space for any additional information about the pick – generally used to identify any trades of the selection [optional] |
Special parameters: | |
| firstpickinround= | value should be "yes" for the first selection in each round (this parameter creates the anchor for the "Jump to:" functionality and the thick border visually separating the rounds in the table) |
| compensatory= | value of "yes" denotes a compensatory selection |
| supplemental= | value of "yes" denotes a supplemental compensatory selection |
| expansion= | value of "yes" denotes an extra pick in a non-expansion draft granted to an expansion team |
| lastpick= | value of "yes" denotes the final pick in the draft (not in the round); adds the "Mr. Irrelevant" link to the selection number |
| undrafted= | value of "yes" denotes the player was undrafted. This suppresses the first two columns (Round and Pick #). Should be used only with the similar param in the header template. |
| probowl= | value of "yes" indicates the player has made at least one Pro Bowl |
| playerpageexists= | value of "no" can be used to suppress a red wiki-link for a player for whom no WP article has been written. |
| cfb page exists= | value of "yes" indicates the page named "collegeyear collegeteam football team" exists. This prevents the use of {{cfb link}} which is an processor-intensive template. |
}} |
- Fill-in-the-Blank template
Copy-and-paste this into your article and fill in the blanks.
{{CFLDraft-row| draftyear= | round= | picknum= | firstpickinround= | compensatory= | supplemental= | lastpick= | team= | first= | last= | position= | collegeyear= | college= | collegeteam= | collegelink= | cfb page exists= | note= | probowl= }}
- Example
this code:
{{CFLDraft-header}}
{{CFLDraft-row| round=1 | picknum=1 | firstpickinround=yes | team=Saskatchewan Roughriders | first=Matthew | last=Stafford | position=Quarterback | collegeyear=2008 | college=University of Georgia | collegeteam=Georgia Bulldogs | collegelink=Georgia }}
{{CFLDraft-footer}}
creates the following table:
Rnd. | Pick # | CFL team | Player | Pos. | College | Conf. | Notes | |
---|---|---|---|---|---|---|---|---|
1 | 1 | Saskatchewan Roughriders | Matthew Stafford | QB | Georgia | SEC |
Other templates used
[edit]This template relies on three "helper" templates:
- {{Cfb link}} – uses collegeyear, collegeteam and college parameters to display the most specific possible link in the "College" column
- {{American football position}} – uses position parameter to display an appropriate abbreviated link in the "Pos." column
- {{Cfb conf}} – uses collegeyear and college parameters to display the correct link in the "Conf." column
See also
[edit]- {{CFLDraft-header}}
- {{CFLDraft-footer}}