Bản mẫu:CollegeSecondaryHeader/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:CollegeSecondaryHeader. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
Bản mẫu này sử dụng 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 Bản mẫu:CollegePrimaryHeader, or to similarly minimize the table and its contents.
Cách sử dụng[sửa mã nguồn]
{| class="wikitable" {{CollegeSecondaryHeader|team=<team name>|heading1|heading2|...|heading6}} |- | data1a || data1b || data1c || data1d || data1e || data1f |}
Các ví dụ[sửa mã nguồn]
Ví dụ 1[sửa mã nguồn]
Ghi chú: "team=Alabama Crimson Tide"
{| class="wikitable" {{CollegeSecondaryHeader|team=Alabama Crimson Tide|Năm|Cầu thủ|Vị trí|Tuyển chọn toàn Mỹ}} |- | 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:
Năm | Cầu thủ | Vị trí | Tuyển chọn toàn Mỹ |
---|---|---|---|
1915 | William T. Van de Graaff | Tackle | WC-2; PD-1 |
1925 | Allison Hubert | Quarterback | NB-2 |
1926 | FredPickhard | Tackle | BE-2 |
Ví dụ 2[sửa mã nguồn]
Ghi chú: "team=UCLA Bruins"
{| class="wikitable" {{CollegeSecondaryHeader|team=UCLA Bruins|Cầu thủ|Nghề nghiệp|...|Nhậm chức}} |- | [[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:
Cầu thủ | Nghề nghiệp | ... | Nhậm chức |
---|---|---|---|
Bill Walton | 1971–1974 | ... | 1993 |
Kareem Abdul-Jabbar | 1966–1969 | ... | 1995 |
Reggie Miller | 1983–1987 | ... | 2012 |
Xem thêm[sửa mã nguồn]