Template:Gridiron primary color/doc
此頁面是Template:Gridiron primary color的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
概述
编辑本模板可以用於自動顯示全国橄榄球联盟各隊伍的代表色。本模板可以與{{NFLSecondaryColor}}和其他NFL顏色模版共用。本模板只需填入隊伍名稱與年份即可使用。填入年份後即會顯示當年度該隊伍的代表色,如年份欄留空則會顯示目前的隊伍代表色。
範例
编辑{{NFLPrimaryColor|''隊伍名稱''|year=2013}}
Deprecated method to get non-current color
编辑Prior 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.
參見
编辑- {{NFLPrimaryColorRaw}}
- {{NFLPrimaryStyle}} - uses this template to determine the background color
- {{NFLSecondaryColor}} & {{NFLSecondaryColorRaw}}
- {{NFLTertiaryColorRaw}}
- {{NFLAltPrimaryColor}}
- {{NFLAltSecondaryColor}}