Difference between revisions of "Template:NFLPrimaryColor"
[unchecked revision] | [unchecked revision] |
(adding AIF teams) |
Aeverinezinn (talk | contribs) m (469 revisions from wikipedia:Template:NFLPrimaryColor) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 134: | Line 134: | ||
{{#if: {{{year|}}} | | {{#if: {{{year|}}} | | ||
{{#ifexpr: {{{year}}} >= 2012 | {{#ifexpr: {{{year}}} >= 2012 | ||
− | |background: # | + | |background: #FC4C02 |
|{{#ifexpr: {{{year}}} >= 1997 | |{{#ifexpr: {{{year}}} >= 1997 | ||
|background: #002244 | |background: #002244 | ||
Line 804: | Line 804: | ||
|Pittsburgh Power =background:black | |Pittsburgh Power =background:black | ||
|Portland Forest Dragons =background:black | |Portland Forest Dragons =background:black | ||
+ | |Portland Steel =background:#03338B | ||
|Portland Thunder =background:#03338B | |Portland Thunder =background:#03338B | ||
|Sacramento Attack =background:black | |Sacramento Attack =background:black | ||
Line 895: | Line 896: | ||
|Alaska Wild =background:#CD0000 | |Alaska Wild =background:#CD0000 | ||
|Billings Outlaws =background:#104E8B | |Billings Outlaws =background:#104E8B | ||
− | |Billings Wolves =background: | + | |Billings Wolves =background:#DD2323 |
|Colorado Ice =background:#00204F | |Colorado Ice =background:#00204F | ||
|El Paso Generals =background:#00004d | |El Paso Generals =background:#00004d | ||
Line 954: | Line 955: | ||
|Cedar Rapids Titans =background:#086DB1 | |Cedar Rapids Titans =background:#086DB1 | ||
|Cheyenne Warriors =background:black | |Cheyenne Warriors =background:black | ||
− | |Spokane Empire =background:# | + | |Spokane Empire =background:#050608 |
|Bemidji Axemen | |Bemidji Axemen | ||
|Minnesota Axemen =background:#FF0000 | |Minnesota Axemen =background:#FF0000 |
Latest revision as of 16:47, 5 March 2016
background: #dcdcdc
This Accessibility problems's accessibility is in question. Relevant discussion may be found on the talk page. Information on making articles more accessible can be found at Wikiproject Accessibility. |
Usage[edit]
This 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.
Detail[edit]
{{NFLPrimaryColor|''teamname''|year=2013}}
Deprecated method to get non-current color[edit]
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.
See also[edit]
- {{NFLPrimaryStyle}} - uses this template to determine the background color
- {{NFLSecondaryColor}} & {{NFLSecondaryColorRaw}}
- {{NFLTertiaryColorRaw}}
- {{NFLAltPrimaryColor}}
- {{NFLAltSecondaryColor}}
The above documentation is transcluded from Template:NFLPrimaryColor/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |