Difference between revisions of "Template:CFB Yearly Record Entry"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(simplify and indent)
imported>Frietjes
(move coloring to highlight winning team)
Line 4: Line 4:
 
     | conference = style="background:#ff9"
 
     | conference = style="background:#ff9"
 
     | division = style="background:#bff"
 
     | division = style="background:#bff"
  }}{{#switch:{{{rivalrygame|}}}
 
    | yes = style="{{#if:{{{wincolor|}}}|background:{{{wincolor}}};}}{{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}"
 
 
   }}
 
   }}
 
| {{{year}}}
 
| {{{year}}}
 
{{#switch:{{{rivalrygame|}}}
 
{{#switch:{{{rivalrygame|}}}
 
  | yes      =  
 
  | yes      =  
{{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{hometeam}}}''' | {{{hometeam}}} }} {{ #if: {{{homeranking|}}} | <small>(#{{{homeranking}}})</small> }}{{ #if: {{{homecoach|}}} | <br /><small>{{{homecoach}}}</small> }}
+
{{!}} {{ #ifeq: {{{winner|}}} | home | style="{{#if:{{{wincolor|}}}|background:{{{wincolor}}};}}{{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}" {{!}} '''{{{hometeam}}}''' | {{{hometeam}}} }} {{ #if: {{{homeranking|}}} | <small>(#{{{homeranking}}})</small> }}{{ #if: {{{homecoach|}}} | <br /><small>{{{homecoach}}}</small> }}
 
{{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{homescore}}}''' | {{{homescore}}} }}
 
{{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{homescore}}}''' | {{{homescore}}} }}
{{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayteam}}}''' | {{{awayteam}}} }} {{ #if: {{{awayranking|}}} | <small>(#{{{awayranking}}})</small> }}{{ #if: {{{awaycoach|}}} | <br /><small>{{{awaycoach}}}</small> }}
+
{{!}} {{ #ifeq: {{{winner|}}} | away | style="{{#if:{{{wincolor|}}}|background:{{{wincolor}}};}}{{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}" {{!}} '''{{{awayteam}}}''' | {{{awayteam}}} }} {{ #if: {{{awayranking|}}} | <small>(#{{{awayranking}}})</small> }}{{ #if: {{{awaycoach|}}} | <br /><small>{{{awaycoach}}}</small> }}
 
{{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayscore}}}''' | {{{awayscore}}} }}
 
{{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayscore}}}''' | {{{awayscore}}} }}
 
{{!}} {{{location}}}
 
{{!}} {{{location}}}

Revision as of 22:57, 27 August 2013

Year Overall Conference Standing Bowl/playoffs Rank#
{{{year}}} {{{name}}} {{{overall}}} {{{conference}}}
Total:
      National championship         Conference title         Conference division title or championship game berth
Template documentation[view] [edit] [history] [purge]

Usage

This template is an entry for a table containing the yearly record of either a college football coach or team. It is to be used in conjunction with the other templates associated with this table (under See also).

Detail

To use this template for a coach or team record:

{{CFB Yearly Record Entry
| championship = specify 'national', 'conference', or 'division' for the type of championship season, if applicable
| year         = insert the year of the season being detailed
| name         = insert either the name of the coach (if this table details a team's yearly record)
                  or the name of the team (if this table details a coach's yearly record)
| overall      = insert the overall record
| conference   = insert "no" if you do not want to list the conference record/standing
                  ('conf' must also be set in {{CFB Yearly Record Start}} for this to work)
                  or insert the conference record
| confstanding = insert the final standing within the conference (only if "conference" is not set to 'no')
| bowlname     = insert the wikilinked, abbreviated name of the team's postseason bowl game, if applicable
                  for example: [[Fiesta Bowl|Fiesta]]
| bowloutcome  = insert "W", "T" or "L" to indicate the outcome of the bowl game
| bcsbowl      = insert "yes" if the bowl game was a BCS bowl
| ranking      = insert the final ranking for the team for the season
                  or "no" if you do not want to use the ranking
| ranking2     = insert the final ranking for the team for the season
                  or "no" if you do not want to use the second ranking
                  ('poll' in {{CFB Yearly Record Start}} must be "both" for this to work)
}}

Basic usages

{{CFB Yearly Record Entry
| championship = 
| year         = 
| name         = 
| overall      = 
| conference   = 
| confstanding = 
| bowlname     = 
| bowloutcome  = 
| bcsbowl      = 
| ranking      = 
| ranking2     = 
}}

Tracking category

See also