Bản mẫu:Gridiron primary color/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:Gridiron primary color. 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. |
Cách sử dụng
sửaThis template can be used to automatically fill the primary color used by each respective team in the National Football League. It can be used in conjunction with {{NFLSecondaryColor}} and other NFL color templates. It takes only one required parameter, which is the team name and one optional parameter, which is the year. If the year is provided it will be used to select the color scheme used at that point in time in the case of franchises whose color schemes have changed over time. If the year is not provided, the current color scheme will be used.
Chi tiết
sửa{{NFLPrimaryColor|''tên đội''|year=2013}}
Deprecated method to get non-current color
sửaPrior to the implementation of the year parameter, the method to designate non-current color schemes was to specify an alternate team name. For example, {{NFLPrimaryColor|Denver Broncos 97thru11}} would yield the primary color in use by the Broncos from 1997 through 2011. A simpler way to achieve this same result using the year parameter would be {{NFLPrimaryColor|Denver Broncos|year=2000}}. This requires no special knowledge of the correct "code" for the previously used color scheme.
While the old code word based methodology has been retained in the interest of backward compatibility, the new method using the year parameter should be used going forward.
Xem thêm
sửa- {{NFLPrimaryStyle}} - uses this template to determine the background color
- {{NFLSecondaryColor}} & {{NFLSecondaryColorRaw}}
- {{NFLTertiaryColorRaw}}
- {{NFLAltPrimaryColor}}
- {{NFLAltSecondaryColor}}