Difference between revisions of "Template:CFB Yearly Record Start/examples"

From blackwiki
Jump to navigation Jump to search
imported>Bgwhite
(Use HTML5 clear using AWB (10822))
imported>Frietjes
Line 600: Line 600:
 
  | polltype =
 
  | polltype =
 
}}
 
}}
==Advanced usage: Creating rivalry-specific derivations==
 
For long-standing rivalries, it may be helpful to create a derivation of the generic {{[[Template:CFB Yearly Record Entry|CFB Yearly Record Entry]]}} template for each rivalry to reduce entering redundant information like <code>hometeam</code>, <code>awayteam</code> and <code>wincolor</code>. For example, see <nowiki>{{</nowiki>[http://en.wikipedia.org/w/index.php?title=Template:Michigan-Ohio_State_Result&action=edit Michigan-Ohio State Result]<nowiki>}}</nowiki>.
 
===Using the generic template===
 
<div class="NavFrame" style="float: right; width: 50%;">
 
<div class="NavHead">View Source</div>
 
<div class="NavContent" style="text-align:left;">
 
<pre>{{CFB Yearly Record Start | type = rivalry | conf = | bowl =
 
| rivalryteam1 = Michigan | rivalryteam2 =Ohio State}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| year        = 1941
 
| hometeam    = Michigan
 
| homescore    = 20
 
| awayteam    = Ohio State
 
| awayscore    = 20
 
| location    = Ann Arbor
 
}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| wincolor    = #cceeff
 
| winner      = home
 
| year        = 1942
 
| hometeam    = Michigan
 
| homescore    = 7
 
| awayteam    = Ohio State
 
| awayscore    = 21
 
| location    = Columbus
 
}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| wincolor    = #cceeff
 
| winner      = home
 
| year        = 1943
 
| hometeam    = Michigan
 
| homescore    = 45
 
| awayteam    = Ohio State
 
| awayscore    = 7
 
| location    = Ann Arbor
 
}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| wincolor    = #ffddee
 
| winner      = away
 
| year        = 1944
 
| hometeam    = Michigan
 
| homescore    = 14
 
| awayteam    = Ohio State
 
| awayscore    = 18
 
| location    = Columbus
 
}}
 
|}</pre></div></div></div>
 
{{CFB Yearly Record Start|type=rivalry|conf=|bowl=|rivalryteam1=Michigan|rivalryteam2=Ohio State}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| year        = 1941
 
| hometeam    = Michigan
 
| homescore    = 20
 
| awayteam    = Ohio State
 
| awayscore    = 20
 
| location    = Ann Arbor
 
}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| wincolor    = #cceeff
 
| winner      = home
 
| year        = 1942
 
| hometeam    = Michigan
 
| homescore    = 7
 
| awayteam    = Ohio State
 
| awayscore    = 21
 
| location    = Columbus
 
}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| wincolor    = #cceeff
 
| winner      = home
 
| year        = 1943
 
| hometeam    = Michigan
 
| homescore    = 45
 
| awayteam    = Ohio State
 
| awayscore    = 7
 
| location    = Ann Arbor
 
}}
 
{{CFB Yearly Record Entry
 
| rivalrygame  = yes
 
| wincolor    = #ffddee
 
| winner      = away
 
| year        = 1944
 
| hometeam    = Michigan
 
| homescore    = 14
 
| awayteam    = Ohio State
 
| awayscore    = 18
 
| location    = Columbus
 
}}
 
|}
 
 
===Using a rivalry-specific template===
 
<div class="NavFrame" style="float: right; width: 50%;">
 
<div class="NavHead">View Source</div>
 
<div class="NavContent" style="text-align:left;">
 
<pre>{{CFB Yearly Record Start | type = rivalry | conf = | bowl =
 
| rivalryteam1 = Michigan | rivalryteam2 = Ohio State}}
 
{{Michigan-Ohio State Result | year = 1941
 
| MichScore = 20 | OSUScore = 20 | location = Ann Arbor }}
 
{{Michigan-Ohio State Result | winner = Michigan | year = 1942
 
| MichScore = 7 | OSUScore = 21 | location = Columbus }}
 
{{Michigan-Ohio State Result | winner = Michigan | year = 1943
 
| MichScore = 45 | OSUScore = 7 | location = Ann Arbor }}
 
{{Michigan-Ohio State Result | winner = Ohio State | year = 1944
 
| MichScore = 14 | OSUScore = 18 | location = Columbus }}
 
|}</pre></div></div></div>
 
{{CFB Yearly Record Start|type=rivalry|conf=|bowl=|rivalryteam1=Michigan|rivalryteam2=Ohio State}}
 
{{Michigan-Ohio State Result | year = 1941 | MichScore = 20 | OSUScore = 20 | location = Ann Arbor }}
 
{{Michigan-Ohio State Result | winner = Michigan | year = 1942 | MichScore = 7 | OSUScore = 21 | location = Columbus }}
 
{{Michigan-Ohio State Result | winner = Michigan | year = 1943 | MichScore = 45 | OSUScore = 7 | location = Ann Arbor }}
 
{{Michigan-Ohio State Result | winner = Ohio State | year = 1944 | MichScore = 14 | OSUScore = 18 | location = Columbus }}
 
|}
 

Revision as of 14:17, 1 March 2015

  1. REDIRECT Template:CFB yearly record navbar

Below are several examples of use of the college football yearly record templates. Note that all details included within the tables are factual and for demonstration purposes. Refer to the "View Source" box adjacent to each example for the source code, and refer to the documentation for each template for specific implementation details.

Basic usage: Team yearly record with coaching changes

Year Coach Overall Conference Standing Bowl/playoffs Rank#
Joe Bedenk (1987)
1987 Joe Bedenk 5-8 3-6 5th
Joe Bedenk: 5-8 3-6
Rip Engle (1988–1989)
1988 Rip Engle 11-2 7-0 1st W Sugar 3
1989 Rip Engle 8-3 5-2 3rd L Alamo 12
Rip Engle: 23-13 6-12
Joe Paterno (1990–present)
1990 Joe Paterno 8-4 5-2 3rd W Outback 23
1991 Joe Paterno 11-1 8-0 1st L Orange Bowl 6
1992 Joe Paterno 12-0 7-0 1st W Rose Bowl 1
Joe Paterno: 31-5 20-2
Total: 31-5
      National championship         Conference title         Conference division title or championship game berth

Basic usage: Coaching yearly record with team changes

Year Team Overall Conference Standing Bowl/playoffs Rank#
Rutgers Scarlet Knights (Big East Conference) (1987–1988)
1987 Rutgers 5-8 3-6 5th
1988 Rutgers 11-2 7-0 1st W Sugar 3
Rutgers: 5-8 3-6
USC Trojans (Pacific-10 Conference) (1990–present)
1990 USC 8-4 5-2 3rd W Outback 23
USC: 23-13 6-12
Total: 31-5
      National championship         Conference title         Conference division title or championship game berth

Basic usage: Rivalry game yearly record

Year Overall Conference Standing Bowl/playoffs Rank#
1990 {{{name}}} {{{overall}}} {{{conference}}}
1991 {{{name}}} {{{overall}}} {{{conference}}}
1992 {{{name}}} {{{overall}}} {{{conference}}}
Total: 31-5, Michigan State leads series
      National championship         Conference title         Conference division title or championship game berth

Advanced usage: Multiple rankings each year

Defaults to AP and Coaches polls.

Year Coach Overall Conference Standing Bowl/playoffs Coaches# AP°
Joe Paterno (1990–present)
1990 Joe Paterno 8-4 5-2 3rd W Outback 23 22
1991 Joe Paterno 11-1 8-0 1st L Orange Bowl 6 8
1992 Joe Paterno 12-0 7-0 1st W Rose Bowl 1 1
Joe Paterno: 31-5 20-2
Total: 31-5
      National championship         Conference title         Conference division title or championship game berth