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

From blackwiki
Jump to navigation Jump to search
imported>AGK
m (Changed protection level of Template:CFB Yearly Record Entry: Highly-visible template (between 1900 and 4000 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
imported>Frietjes
(simplify and indent)
Line 1: Line 1:
|- {{#switch: {{{championship|}}}
+
<noinclude>{{CFB Yearly Record Start}}
 +
</noinclude>|- {{#switch: {{{championship|}}}
 
     | national = style="background:#fc6"
 
     | national = style="background:#fc6"
 
     | conference = style="background:#ff9"
 
     | conference = style="background:#ff9"
Line 8: Line 9:
 
| {{{year}}}
 
| {{{year}}}
 
{{#switch:{{{rivalrygame|}}}
 
{{#switch:{{{rivalrygame|}}}
  | yes      = {{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{hometeam}}}''' | {{{hometeam}}} }} {{ #if: {{{homeranking|}}} | <small>(#{{{homeranking}}})</small> }}{{ #if: {{{homecoach|}}} | <br /><small>{{{homecoach}}}</small> }}
+
  | yes      =  
              {{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{homescore}}}''' | {{{homescore}}} }}
+
{{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{hometeam}}}''' | {{{hometeam}}} }} {{ #if: {{{homeranking|}}} | <small>(#{{{homeranking}}})</small> }}{{ #if: {{{homecoach|}}} | <br /><small>{{{homecoach}}}</small> }}
              {{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayteam}}}''' | {{{awayteam}}} }} {{ #if: {{{awayranking|}}} | <small>(#{{{awayranking}}})</small> }}{{ #if: {{{awaycoach|}}} | <br /><small>{{{awaycoach}}}</small> }}
+
{{!}} {{ #ifeq: {{{winner|}}} | home | '''{{{homescore}}}''' | {{{homescore}}} }}
              {{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayscore}}}''' | {{{awayscore}}} }}
+
{{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayteam}}}''' | {{{awayteam}}} }} {{ #if: {{{awayranking|}}} | <small>(#{{{awayranking}}})</small> }}{{ #if: {{{awaycoach|}}} | <br /><small>{{{awaycoach}}}</small> }}
              {{!}} {{{location}}}
+
{{!}} {{ #ifeq: {{{winner|}}} | away | '''{{{awayscore}}}''' | {{{awayscore}}} }}
  | #default = {{ #ifeq: {{{name|}}} | no | | {{!}} {{{name}}} }}
+
{{!}} {{{location}}}
              {{!}} {{{overall}}} {{ #ifeq: {{{conference|}}} | no | | {{!}}{{!}} {{{conference}}} {{!}}{{!}} {{ #if: {{{confstanding|}}} | {{{confstanding}}} }} }} {{ #ifeq: {{{bowloutcome|}}} | no | | {{!}}{{!}} {{ #if: {{{bowloutcome|}}} | '''{{{bowloutcome}}}''' }} {{ #if: {{{bowlname|}}} | {{{bowlname}}} }}{{ #ifeq: {{{bcsbowl|}}} | yes | <sup>†</sup> }} }} {{ #ifeq: {{{ranking|}}} | no | | {{!}}{{!}} style="text-align:right" {{!}} {{ #if: {{{ranking|}}} | {{{ranking}}} }} }} {{ #ifeq: {{{ranking2|}}} | no | | {{!}}{{!}} style="text-align:right" {{!}} {{ #if: {{{ranking2|}}} | {{{ranking2}}} }} }}
+
  | #default =  
 +
{{ #ifeq: {{{name|}}} | no | | {{!}} {{{name}}} }}
 +
{{!}} {{{overall}}} {{ #ifeq: {{{conference|}}} | no | | {{!!}} {{{conference}}} {{!!}} {{{confstanding|}}} }} {{ #ifeq: {{{bowloutcome|}}} | no | | {{!!}} {{ #if: {{{bowloutcome|}}} | '''{{{bowloutcome}}}''' }} {{{bowlname|}}}{{ #ifeq: {{{bcsbowl|}}} | yes | <sup>†</sup> }} }} {{ #ifeq: {{{ranking|}}} | no | | {{!!}} style="text-align:right" {{!}} {{{ranking|}}} }} {{ #ifeq: {{{ranking2|}}} | no | | {{!!}} style="text-align:right" {{!}} {{{ranking2|}}} }}
 
}}<noinclude>
 
}}<noinclude>
 +
{{CFB Yearly Record End}}
 
{{documentation}}
 
{{documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 22:54, 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