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

From blackwiki
Jump to navigation Jump to search
imported>TFOWR
m (Unprotected Template:CFB Yearly Record Subhead: Consensus at WP:ANI was to unprotect; emerging consensus at WT:HRT may yet be to re-protect some/many/all - I won't consider it wheel-warring if another admin reprotects. using TW)
imported>Primefac
m (Changed protection level for "Template:CFB Yearly Record Subhead": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
|-
 
|-
| style="background:#dddddd; border-bottom: 2px solid #aaaaaa;" colspan="{{ #if:{{{hiddencols|}}}|{{ #expr: 9-{{{hiddencols|}}} }}|9 }}" align="center" | '''{{{name}}}''' {{#ifeq:{{{conf|}}} | no | | ''({{{conf}}})''}} <small>({{{startyear}}}{{#if:{{{endyear|}}} | {{#ifeq:{{{endyear|}}} | single | | –{{{endyear|}}} }} | –present}})</small><noinclude>
+
| style="background:#dddddd; border-bottom: 2px solid #aaaaaa;text-align:center;" colspan="{{ #if:{{{hiddencols|}}}|{{ #expr: 9-{{{hiddencols|}}} }}|9 }}" | '''{{{name}}}''' {{#ifeq:{{{conf|}}} | no | | ''({{{conf}}})''}} <small>({{{startyear}}}{{#switch:{{{endyear|}}}  
 +
  |present|= –present
 +
  |single|{{{startyear}}} =
 +
  |#default= –{{{endyear|}}}  
 +
  }})</small><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:02, 23 February 2018

|- | style="background:#dddddd; border-bottom: 2px solid #aaaaaa;text-align:center;" colspan="9" | {{{name}}} ({{{conf}}}) ({{{startyear}}}–present)

Template documentation[view] [edit] [history] [purge]

Usage

This template is the subheader 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).

This subheader can be used in several ways within a team/coach record table:

  • to indicate coaching changes within a team
  • to indicate conference membership changes within a team
  • to indicate a change in the institution of a head coach

Detail

{{CFB Yearly Record Subhead
 | name      = insert the full name of the team, coach, or conference the following entries will describe
 | conf      = insert "no" if the team is/was not a member of a conference; otherwise insert the name of the conference
               unless this subheading describes a conference membership change, in which case use the 'name' param instead
 | startyear = insert the first season the subsection describes
 | endyear   = insert the last season the subsection describes OR insert "single" to indicate
               a one-year span of time (identified by 'startyear') (if left blank, will display "present")
}}

Basic usage

{{CFB Yearly Record Subhead
 | name      = 
 | conf      = 
 | startyear = 
 | endyear   = 
}}

See also