跳转到内容

模板:Gridiron primary color/doc

维基百科,自由的百科全书


概述

本模板可以用于自动显示全国橄榄球联盟各队伍的代表色。本模板可以与{{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.

参见