الگو:CollegeSecondaryHeader/توضیحات
![]() | این زیرصفحهٔ مستندات الگو:CollegeSecondaryHeader است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
![]() | این الگو از لوآ استفاده میکند: |
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 الگو: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 |}
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}} |- | [[بیل والتون]] | 1971–1974 | ... | 1993 |- | [[کریم عبدالجبار]] | 1966–1969 | ... | 1995 |- | [[رجی میلر]] | 1983–1987 | ... | 2012 |}
Will render using the correct value for UCLA's secondary color of gold:
Player | Career | ... | Induction |
---|---|---|---|
بیل والتون | 1971–1974 | ... | 1993 |
کریم عبدالجبار | 1966–1969 | ... | 1995 |
رجی میلر | 1983–1987 | ... | 2012 |
See also
ویرایش