Template:NSFLDraft-row/doc

From Sim Football Wiki
Jump to navigation Jump to search

Usage

This template is part of a collection (see "See also") that is used to list players selected in the NSFL Draft.

{{NSFLDraft-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:
| numberofrounds= optional - controls the color-coding of the first cell in the row; colors transition from red to violet (in ROYGBIV order) for the given number of rounds; if this parameter is not included, the default is 7 (seven) rounds
| 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 (as last occurred in 2002 and 2003 for the Houston Texans)
| 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 NSFL Pro Bowl
| hof= value of "yes" indicates the player is a member of the NSFL Hall of Fame
| 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.
| teamdab= Used in cases where the NSFL team name requires disambiguation. (e.g. 1936 Pittsburgh Pirates (NSFL) season. In this case, the "team" parameter should be "Pittsburgh Pirates" and "teamdab" should be "Pittsburgh Pirates (NSFL)")
}}


Fill-in-the-Blank template

Copy-and-paste this into your article and fill in the blanks.

{{NSFLDraft-row| draftyear= | round= | picknum= | firstpickinround= | compensatory= | supplemental= | lastpick= | team= | first= | last= | position= | dsfl= | collegeyear= | college= | collegeteam= | collegelink= | cfb page exists= | note= | probowl= |hof= }}

Example

this code:
{{NSFLDraft-header}}
{{NSFLDraft-row| round=1 | picknum=1 | firstpickinround=yes | team=Detroit Lions | first=Matthew | last=Stafford | position=Quarterback | dsfl=Coyotes | collegeyear=2008 | college=University of Georgia | collegeteam=Georgia Bulldogs | collegelink=Georgia }}
{{NSFLDraft-footer}}

creates the following table:

Rnd. Pick # Team Player Pos. DSFL College Conf. Notes
1 1 Detroit Lions Matthew Stafford  QB Coyotes Georgia SEC

Other templates used

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
  • {{AmFootball positions}} – 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