Template:CFB schedule/doc

From Simple English Wikipedia, the free encyclopedia

Usage[change source]

Named parameter syntax[change source]

{{CFB schedule
| other-event = <!-- Custom footnote text -->
| rankyear = <!-- Year for poll rankings -->
| rankdivision = <!-- Division for poll rankings -->
| poll = <!-- Poll used for rankings: e.g., AP or Coaches' -->
| timezone = <!-- Timezone for times: e.g., Eastern, Central, ... -->
|{{CFB schedule entry
| date = 
| time = 
| w/l = 
| away = 
| nonconf = 
| neutral = 
| rank = 
| opponent = 
| opprank = 
| stadium = 
| cityst = 
| gamename = 
| tv = 
| score = 
| attend = 
}}
|{{CFB schedule entry
| date = 
| time = 
| w/l = 
| away = 
| nonconf = 
| neutral = 
| rank = 
| opponent = 
| opprank = 
| stadium = 
| cityst = 
| gamename = 
| tv = 
| score = 
| attend = 
}}
}}

Compact syntax[change source]

{{CFB schedule
| time = y <!-- Time column? -->
| rank = y <!-- Rank column? -->
| tv = y <!-- TV column? -->
| attend = y <!-- Attendance column? -->
| source = y <!-- Source column? -->
| other-event = <!-- Custom footnote text -->
| opprank = y<!-- Opponent ranks listed? -->
| rankyear = <!-- Year for poll rankings -->
| rankdivision = <!-- Division for poll rankings -->
| poll = <!-- Poll used for rankings: e.g., AP or Coaches' -->
| timezone = <!-- Timezone for times: e.g., Eastern, Central, ... -->

| Date1 | Time1 | atvs1 | Opponent1 | Rank1 | Site1 | Location1 | TV1 | Result1 | Attendance1 | Source1
| Date2 | Time2 | atvs2 | Opponent2 | Rank2 | Site2 | Location2 | TV2 | Result2 | Attendance2 | Source2
}}

The coloring of each row is automatically determined from the Result. The value used for the Result should be of the form R scoreA-scoreB where R is W, L, T, or V. The values used for scoreA and scoreB should be non-negative integers. The scores may be delimited with a hyphen, spaced hyphen, dash, spaced dash, or any non-numeric character.

Parameters[change source]

Parameter Sample values Description
Heading parameters
time y or n Toggles the inclusion of the time column (default is n)
atvs y or n Toggles the inclusion of the at/vs column (default is n)
rank y or n Toggles the inclusion of the rank column (default is n)
tv y or n Toggles the inclusion of the TV column (default is n)
attend y or n Toggles the inclusion of the attendance column (default is n)
source y or n Toggles the inclusion of the source column (default is n)
Footnote parameters
other-event footnote text Free form input for custom footnote text
opprank y or n The rank footnote is added if this is set to y (or if rank is not set to n)
rankyear 2018 The year for the poll used for the rankings (default is blank; see footnotes section for more details)
rankdivision NAIA The division for the poll used for the rankings (default is the highest division for the corresponding rankyear, or blank if there is no rankyear; see footnotes section for more details)
poll AP Name of the poll used for the rankings (default value is Coaches'; see footnotes section for more details)
timezone Eastern, Central, ... If set to any non-blank value, a footnote is added indicating the timezone for all the times.
seasonsource source reference text A reference for the results in the table

Overtime[change source]

To denote that the game ended after overtime with the named parameter syntax, use |overtime=OT, |overtime=2OT, ... For the compact syntax, add <OT>, <2OT> after the score.

Footnotes[change source]

To add a non-conference game footnote, use <ncg> after the name of the opponent. To add a homecoming game footnote, use <hc> after the name of the opponent.

If |opprank= and/or |rank= are set to y then the rankings footnote is included. The logic for specifying the poll is as follows:

  • Does poll contain a wikilink?
    • If yes, use the value in poll, ignoring the other parameters
    • If not, is the year specified in rankyear?
      • If yes, the linked text is [[rankyear rankdivision football rankings#poll Poll|poll Poll]] where poll has a default value of Coaches' and rankdivision has a default value of NCAA Division I FBS or NCAA Division I-A ... depending on the year.
      • If not, is the division specified in rankdivision?
        • If yes, then the linked text is [[rankdivision poll Poll|poll Poll]] or rankdivision [[poll Poll]] or rankdivision poll Poll depending on if the links exist.
        • If not, then the linked text is [[poll Poll]] or poll Poll, depending on if the link exists.

Examples[change source]

Example 1[change source]

{{CFB schedule | time = y | opprank = y | rank = y | tv = y | attend = y 
| rankyear = 2017 | poll = AP | timezone = Central
| September 2 | 7:00 p.m. |v| #3 [[2017 Florida State Seminoles football team|Florida State]] | 1 | [[Mercedes-Benz Stadium]] | [[Atlanta|Atlanta, GA]] ([[Chick-fil-A Kickoff Game]]) | [[Saturday Night Football|ABC]] | W 24−7 | 76,330
| September 9 | 2:30 p.m. | | [[2017 Fresno State Bulldogs football team|Fresno State]]<ncg> | 1 | [[Bryant–Denny Stadium]] | [[Tuscaloosa, Alabama|Tuscaloosa, AL]] | [[ESPN College Football|ESPN2]] | W 41−10 | 101,127
| October 14  | 6:15 p.m. | | [[2017 Arkansas Razorbacks football team|Arkansas]]<hc> | 1 | Bryant–Denny Stadium | Tuscaloosa, AL | ESPN | W 41–9 | 101,821
| November 25 | 2:30 p.m. |@| #6 [[2017 Auburn Tigers football team|Auburn]] | 1 | [[Jordan–Hare Stadium]] | [[Auburn, Alabama|Auburn, AL]] ([[Iron Bowl]]) | CBS | L 14–26 | 87,451
}}
DateTimeOpponentRankSiteTVResultAttendance
September 2 7:00 p.m. vs. No. 3 Florida State No. 1 ABC W 24–7 76,330
September 9 2:30 p.m. Fresno State* No. 1 ESPN2 W 41–10 101,127
October 14 6:15 p.m. Arkansasdagger No. 1
  • Bryant–Denny Stadium
  • Tuscaloosa, AL
ESPN W 41–9 101,821
November 25 2:30 p.m. at No. 6 Auburn No. 1 CBS L 14–26 87,451
  • *Non-conference game
  • daggerHomecoming
  • Rankings from AP Poll released prior to the game
  • All times are in Central time
{{CFB schedule| rankyear = 2017 | poll = AP |timezone=Central
|{{CFB schedule entry
| date = September 2
| time = 7:00 p.m.
| w/l = w
| nonconf = y
| neutral = y
| rank = 1
| opponent = [[2017 Florida State Seminoles football team|Florida State]]
| opprank = 3
| stadium =  [[Mercedes-Benz Stadium]]
| cityst = [[Atlanta|Atlanta, GA]]
| gamename = [[Chick-fil-A Kickoff Game]]
| tv = [[Saturday Night Football|ABC]]
| score = 24–7
| attend = 76,330
}}
|{{CFB schedule entry
| date = September 9
| time = 2:30 p.m.
| w/l = w
| nonconf = y
| rank = 1
| opponent = [[2017 Fresno State Bulldogs football team|Fresno State]]
| stadium = [[Bryant–Denny Stadium]]
| cityst = [[Tuscaloosa, Alabama|Tuscaloosa, AL]]
| tv = [[ESPN College Football|ESPN2]]
| score = 41–10
| attend = 101,127
}}
|{{CFB schedule entry
| date = October 14
| time = 6:15 p.m.
| w/l = w
| rank = 1
| homecoming = y
| opponent = [[2017 Arkansas Razorbacks football team|Arkansas]]
| stadium = Bryant–Denny Stadium
| cityst = Tuscaloosa, AL
| tv = ESPN
| score = 41–9
| attend = 101,821
}}
|{{CFB schedule entry
| date = November 25
| time = 2:30 p.m. 
| w/l = l
| away = y
| rank = 1
| opponent = [[2017 Auburn Tigers football team|Auburn]]
| opprank = 6
| stadium = [[Jordan–Hare Stadium]]
| cityst = [[Auburn, Alabama|Auburn, AL]]
| gamename = [[Iron Bowl]]
| tv = CBS
| score = 14–26
| attend = 87,451
}}
}}
DateTimeOpponentRankSiteTVResultAttendance
September 27:00 p.m.vs. No. 3 Florida State*No. 1ABCW 24–776,330
September 92:30 p.m.Fresno State*No. 1ESPN2W 41–10101,127
October 146:15 p.m.ArkansasdaggerNo. 1
  • Bryant–Denny Stadium
  • Tuscaloosa, AL
ESPNW 41–9101,821
November 252:30 p.m.at No. 6 AuburnNo. 1CBSL 14–2687,451
  • *Non-conference game
  • daggerHomecoming
  • Rankings from AP Poll released prior to the game
  • All times are in Central time

Example 2[change source]

{{CFB schedule | time = y | tv = y | attend=y |opprank=y |poll=AP |timezone=Eastern
| October 9, 2004 | 4:30 PM | |#9 [[2004 Purdue Boilermakers football team|Purdue Boilermakers]] | Beaver Stadium | [[University Park, Pennsylvania|University Park, PA]] | ESPN | L 13–20 | 108,183
| October 8, 2005 | 8:00 PM | |#6 [[2005 Ohio State Buckeyes football team|Ohio State Buckeyes]] | Beaver Stadium | [[University Park, Pennsylvania|University Park, PA]] | ABC | W 17–10 | 109,839 
}}
DateTimeOpponentSiteTVResultAttendance
October 9, 2004 4:30 PM No. 9 Purdue Boilermakers
ESPN L 13–20 108,183
October 8, 2005 8:00 PM No. 6 Ohio State Buckeyes
ABC W 17–10 109,839
  • Rankings from AP poll released prior to the game
  • All times are in Eastern time
{{CFB schedule |opprank=y |poll=AP |timezone=Eastern
|{{CFB schedule entry
| date=October 9, 2004 
| time=4:30 PM 
| opprank=9
| opponent=[[2004 Purdue Boilermakers football team|Purdue Boilermakers]] 
| stadium = Beaver Stadium 
| cityst = [[University Park, Pennsylvania|University Park, PA]] 
| tv = ESPN 
| w/l = l
| score = 13–20 
| attend = 108,183
}}
|{{CFB schedule entry
| date=October 8, 2005 
| time = 8:00 PM 
| opprank=6
| opponent= [[2005 Ohio State Buckeyes football team|Ohio State Buckeyes]] 
| stadium = Beaver Stadium 
| cityst = [[University Park, Pennsylvania|University Park, PA]] 
| tv = ABC 
| w/l = w
| score = 17–10 
| attend = 109,839 
}}
}}
DateTimeOpponentSiteTVResultAttendance
October 9, 20044:30 PMNo. 9 Purdue Boilermakers
ESPNL 13–20108,183
October 8, 20058:00 PMNo. 6 Ohio State Buckeyes
ABCW 17–10109,839
  • Rankings from AP poll released prior to the game
  • All times are in Eastern time

Example 3[change source]

{{CFB schedule
|attend=y
|source=y

|November 14| | [[1891 Cornell Big Red football team|Cornell]]|University Field|Princeton, NJ|W 6–0|2,000|<ref>{{cite news|title=Princeton Beats Cornell: A Very Close and Exciting Game Between the Two Elevens|newspaper=The New York Times|date=November 15, 1891|page=3|url=https://www.newspapers.com/clip/16492546/princeton_beats_cornell/|via=[[Newspapers.com]]}}</ref>

|November 26|v| [[1891 Yale Bulldogs football team|Yale]] ([[Princeton–Yale football rivalry|rivalry]])|Manhattan Field|[[New York, NY]]|L 0–19|40,000|<ref>{{cite news|title=Yale Still Triumphant: Princeton Beaten on Manhattan Field by a Score of 19 to 0|newspaper=The Sun (New York)|date=November 27, 1891|pages=1-2|url=https://www.newspapers.com/clip/16492524/yale_still_triumphant/|via=[[Newspapers.com]]}}</ref>
}}
{{reflist}}
DateOpponentSiteResultAttendanceSource
November 14 Cornell
  • University Field
  • Princeton, NJ
W 6–02,000[1]
November 26vs. Yale
L 0–1940,000[2]
  1. "Princeton Beats Cornell: A Very Close and Exciting Game Between the Two Elevens". The New York Times. November 15, 1891. p. 3 – via Newspapers.com.
  2. "Yale Still Triumphant: Princeton Beaten on Manhattan Field by a Score of 19 to 0". The Sun (New York). November 27, 1891. pp. 1–2 – via Newspapers.com.
{{CFB schedule
|{{CFB schedule entry
|date = November 14
|opponent = [[1891 Cornell Big Red football team|Cornell]]
|stadium = University Field
|cityst = Princeton, NJ
|w/l = w
|score = 6–0
|attend = 2,000
|source = <ref>{{cite news|title=Princeton Beats Cornell: A Very Close and Exciting Game Between the Two Elevens|newspaper=The New York Times|date=November 15, 1891|page=3|url=https://www.newspapers.com/clip/16492546/princeton_beats_cornell/|via=[[Newspapers.com]]}}</ref>
}}
|{{CFB schedule entry
|date = November 26
|opponent = [[1891 Yale Bulldogs football team|Yale]] ([[Princeton–Yale football rivalry|rivalry]])
|stadium = Manhattan Field
|cityst = [[New York, NY]]
|neutral = y
|w/l = l
|score = 0–19
|attend = 40,000
|source = <ref>{{cite news|title=Yale Still Triumphant: Princeton Beaten on Manhattan Field by a Score of 19 to 0|newspaper=The Sun (New York)|date=November 27, 1891|pages=1-2|url=https://www.newspapers.com/clip/16492524/yale_still_triumphant/|via=[[Newspapers.com]]}}</ref>
}}
}}
{{reflist}}
DateOpponentSiteResultAttendanceSource
November 14Cornell
  • University Field
  • Princeton, NJ
W 6–02,000[1]
November 26vs. Yale (rivalry)
L 0–1940,000[2]