Template:CollegeSecondaryHeader
|- |-
| This template uses Lua: |
This template may be used to generate colored table headings in an article about a college team. The school's secondary color is automatically used as the background color within the header row.
This template is helpful when needing to draw contrast with surrounding content which uses Template:CollegePrimaryHeader, or to similarly minimize the table and its contents.
Usage
{| class="wikitable"
{{CollegeSecondaryHeader|team=<team name>|heading1|heading2|...|heading6}}
|-
| data1a || data1b || data1c || data1d || data1e || data1f
|}
Column spans
To allow the Xth heading to span more than one column, use |colXspan=N where N is the number of columns to span.
Unsortable class
To make the Xth column unsortable, use |classX=unsortable.
Borders
To enable colored cell borders, use |border=1 or |border=2.
Examples
Example 1
Note: "team=Alabama Crimson Tide"
{| class="wikitable"
{{CollegeSecondaryHeader|team=Alabama Crimson Tide|Year|Player|Position|All-American Selector(s)}}
|-
| 1915 || William T. Van de Graaff || Tackle || WC-2; PD-1
|-
| 1925 || Allison Hubert || Quarterback || NB-2
|-
| 1926 || FredPickhard || Tackle || BE-2
|}
Will render using the correct value for Alabama's secondary color of white:
| Year | Player | Position | All-American Selector(s) |
|---|---|---|---|
| 1915 | William T. Van de Graaff | Tackle | WC-2; PD-1 |
| 1925 | Allison Hubert | Quarterback | NB-2 |
| 1926 | FredPickhard | Tackle | BE-2 |
Example 2
Note: "team=UCLA Bruins"
{| class="wikitable"
{{CollegeSecondaryHeader|team=UCLA Bruins|Player|Career|...|Induction}}
|-
| [[Bill Walton]]
| 1971–1974
| ...
| 1993
|-
| [[Kareem Abdul-Jabbar]]
| 1966–1969
| ...
| 1995
|-
| [[Reggie Miller]]
| 1983–1987
| ...
| 2012
|}
Will render using the correct value for UCLA's secondary color of gold:
| Player | Career | ... | Induction |
|---|---|---|---|
| Bill Walton | 1971–1974 | ... | 1993 |
| Kareem Abdul-Jabbar | 1966–1969 | ... | 1995 |
| Reggie Miller | 1983–1987 | ... | 2012 |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.