Difference between revisions of "Template:Gridiron alt primary color/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Deejayk
m (remove excess white space)
imported>Charlesaaronthompson
Line 1: Line 1:
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
 
<!-- START NFL/AFL teams -->
 
<!-- START NFL/AFL teams -->
|Buffalo Bills = background: #CC0000
+
|Buffalo Bills = background: #C60C30
|Miami Dolphins = background: #F5811F
+
|Miami Dolphins = background: #F58220
 
|New England Patriots =
 
|New England Patriots =
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
 
   {{#ifexpr: {{{year}}} >= 2000
 
   {{#ifexpr: {{{year}}} >= 2000
   |background: #C0001D
+
   |background: #C60C30
 
   |{{#ifexpr: {{{year}}} >= 1993
 
   |{{#ifexpr: {{{year}}} >= 1993
     |background: #ce0000
+
     |background: #C60C30
 
     |{{#ifexpr: {{{year}}} >= 1960
 
     |{{#ifexpr: {{{year}}} >= 1960
     |background: #293d82 <!-- This encompasses Boston Patriots era -->
+
     |background: #00539B <!-- This encompasses Boston Patriots era -->
     |background: #C0001D
+
     |background: #C60C30
 
     }}
 
     }}
 
     }}
 
     }}
 
   }}
 
   }}
   |background: #C0001D
+
   |background: #C60C30
 
  }}
 
  }}
|New England Patriots93thru99 = background: #ce0000
+
|New England Patriots93thru99 = background: #C60C30
|New England Patriots71thru92 = background: #293d82
+
|New England Patriots71thru92 = background: #00539B
|Boston Patriots = background: #293d82
+
|Boston Patriots = background: #00539B
 
|NY Jets
 
|NY Jets
 
|New York Jets =
 
|New York Jets =
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
 
   {{#ifexpr: {{{year}}} >= 1998
 
   {{#ifexpr: {{{year}}} >= 1998
   |background: #0C371D
+
   |background: #203731
 
   |{{#ifexpr: {{{year}}} >= 1990
 
   |{{#ifexpr: {{{year}}} >= 1990
 
     |background: #111C24
 
     |background: #111C24
 
     |{{#ifexpr: {{{year}}} >= 1963
 
     |{{#ifexpr: {{{year}}} >= 1963
     |background: #0C371D
+
     |background: #203731
 
     |{{#ifexpr: {{{year}}} >= 1960
 
     |{{#ifexpr: {{{year}}} >= 1960
       |background: #000080 <!-- Franchise began as NY Titans -->
+
       |background: #000033 <!-- Franchise began as NY Titans -->
       |background: #0C371D
+
       |background: #203731
 
       }}
 
       }}
 
     }}
 
     }}
 
     }}
 
     }}
 
   }}
 
   }}
   |background: #0C371D
+
   |background: #203731
 
  }}
 
  }}
 
|New York Jets 90thru97 = background: #111C24
 
|New York Jets 90thru97 = background: #111C24
 
|NY Titans
 
|NY Titans
|New York Titans =background: #000080
+
|New York Titans =background: #000033
|Baltimore Ravens =background: black
+
|Baltimore Ravens =background: #000000
 
|Cincinnati Bengals =background: #FB4F14
 
|Cincinnati Bengals =background: #FB4F14
|Cleveland Browns = background: #FB4F14
+
|Cleveland Browns = background: #FF3C00
 
|Pittsburgh Pirates
 
|Pittsburgh Pirates
 
|Pittsburgh Steelers = background: #FFB612
 
|Pittsburgh Steelers = background: #FFB612
Line 51: Line 51:
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
 
   {{#ifexpr: {{{year}}} >= 1951
 
   {{#ifexpr: {{{year}}} >= 1951
   |background: #003b7b
+
   |background: #002C5F
 
   |{{#ifexpr: {{{year}}} >= 1947
 
   |{{#ifexpr: {{{year}}} >= 1947
 
     |background:silver <!-- This is the All-America Football Conference (AAFC) team -->
 
     |background:silver <!-- This is the All-America Football Conference (AAFC) team -->
     |background: #003b7b
+
     |background: #002C5F
 
     }}
 
     }}
 
   }}
 
   }}
   |background: #003b7b
+
   |background: #002C5F
 
  }}
 
  }}
|Baltimore Colts 53thru83 = background: #003b7b
+
|Baltimore Colts 53thru83 = background: #002C5F
 
|Baltimore Colts 47thru50 = background:silver <!-- This is the All-America Football Conference (AAFC) team -->
 
|Baltimore Colts 47thru50 = background:silver <!-- This is the All-America Football Conference (AAFC) team -->
 
|Jacksonville Jaguars =
 
|Jacksonville Jaguars =
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
 
   {{#ifexpr: {{{year}}} >= 2013
 
   {{#ifexpr: {{{year}}} >= 2013
   |background: #D3A205
+
   |background: #9F792C
 
   |{{#ifexpr: {{{year}}} >= 1995
 
   |{{#ifexpr: {{{year}}} >= 1995
     |background: black
+
     |background: #000000
     |background: #D3A205
+
     |background: #9F792C
 
     }}
 
     }}
 
   }}
 
   }}
   |background: #D3A205
+
   |background: #9F792C
 
  }}
 
  }}
|Jacksonville Jaguars 95thru12 = background: black
+
|Jacksonville Jaguars 95thru12 = background: #000000
 
|Tennessee Titans =
 
|Tennessee Titans =
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
 
   {{#ifexpr: {{{year}}} >= 1997
 
   {{#ifexpr: {{{year}}} >= 1997
   |background:#0d254c
+
   |background:#002244
 
   |{{#ifexpr: {{{year}}} >= 1960
 
   |{{#ifexpr: {{{year}}} >= 1960
 
     |background:#C60C30 <!-- Houston/Tennessee Oilers -->
 
     |background:#C60C30 <!-- Houston/Tennessee Oilers -->
     |background:#0d254c
+
     |background:#002244
 
     }}
 
     }}
 
   }}
 
   }}
   |background:#0d254c
+
   |background:#002244
 
  }}
 
  }}
 
|Tennessee Oilers
 
|Tennessee Oilers
Line 106: Line 106:
 
|Denver Broncos 62thru96 = background: #002395
 
|Denver Broncos 62thru96 = background: #002395
 
|Denver Broncos 60thru61 = background: #F0AB00
 
|Denver Broncos 60thru61 = background: #F0AB00
|Kansas City Chiefs = background: #f2c800
+
|Kansas City Chiefs = background: #FFB612
 
|Dallas Texans=
 
|Dallas Texans=
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
Line 112: Line 112:
 
   |background:navy <!-- Default to Arena league team -->
 
   |background:navy <!-- Default to Arena league team -->
 
   |{{#ifexpr: {{{year}}} >= 1954
 
   |{{#ifexpr: {{{year}}} >= 1954
     |background: #B20032 <!-- AFL/NFL team (a.k.a. KC Chiefs) -->
+
     |background: #E31837 <!-- AFL/NFL team (a.k.a. KC Chiefs) -->
 
     |{{#ifexpr: {{{year}}} >= 1951
 
     |{{#ifexpr: {{{year}}} >= 1951
 
     |background: #00205B <!-- First NFL iteration (only operated in 1952) -->
 
     |background: #00205B <!-- First NFL iteration (only operated in 1952) -->
Line 125: Line 125:
 
|Los Angeles Raiders
 
|Los Angeles Raiders
 
|LA Raiders
 
|LA Raiders
|Oakland Raiders = background: #c4c8cb
+
|Oakland Raiders = background: #A5ACAF
 
|San Diego Chargers = background: #0073CF
 
|San Diego Chargers = background: #0073CF
|Dallas Cowboys = background: #0D254C
+
|Dallas Cowboys = background: #002244
 
|NY Giants
 
|NY Giants
|New York Giants = background: #CA0019
+
|New York Giants = background: #A71930
|Philadelphia Eagles = background: #C4C8CB
+
|Philadelphia Eagles = background: #A5ACAF
|Washington Redskins = background: #FFBE26
+
|Washington Redskins = background: #FFB612
|Chicago Bears = background: #df6108
+
|Chicago Bears = background: #C83803
|Detroit Lions = background: #C5C7CF
+
|Detroit Lions = background: #B0B7BC
 
|Green Bay Packers = background: #FFB612
 
|Green Bay Packers = background: #FFB612
|Minnesota Vikings = background: #f0bf00
+
|Minnesota Vikings = background: #FFC62F
|Atlanta Falcons = background: black
+
|Atlanta Falcons = background: #000000
|Carolina Panthers = background: #0088D4
+
|Carolina Panthers = background: #0085CA
 
|New Orleans Saints = background: #9F8958
 
|New Orleans Saints = background: #9F8958
 
|Tampa Bay Buccaneers =
 
|Tampa Bay Buccaneers =
Line 158: Line 158:
 
   |background: #B3995D
 
   |background: #B3995D
 
   |{{#ifexpr: {{{year}}} >= 1973 <!-- encompasses LA Rams -->
 
   |{{#ifexpr: {{{year}}} >= 1973 <!-- encompasses LA Rams -->
     |background: #183990
+
     |background: #00338D
 
     |{{#ifexpr: {{{year}}} >= 1938 <!-- encompasses LA and Cleveland Rams -->
 
     |{{#ifexpr: {{{year}}} >= 1938 <!-- encompasses LA and Cleveland Rams -->
 
     |background: blue
 
     |background: blue
Line 170: Line 170:
 
   |background: #B3995D
 
   |background: #B3995D
 
  }}
 
  }}
|St. Louis Rams 95thru99 = background: #183990
+
|St. Louis Rams 95thru99 = background: #00338D
 
|LA Rams
 
|LA Rams
 
|Los Angeles Rams =
 
|Los Angeles Rams =
 
  {{#if: {{{year|}}} |
 
  {{#if: {{{year|}}} |
 
   {{#ifexpr: {{{year}}} >= 1973
 
   {{#ifexpr: {{{year}}} >= 1973
   |background: #183990
+
   |background: #00338D
 
   |{{#ifexpr: {{{year}}} >= 1938 <!-- encompasses LA and Cleveland Rams -->
 
   |{{#ifexpr: {{{year}}} >= 1938 <!-- encompasses LA and Cleveland Rams -->
 
     |background: blue
 
     |background: blue
 
     |{{#ifexpr: {{{year}}} >= 1936 <!-- Cleveland Rams -->
 
     |{{#ifexpr: {{{year}}} >= 1936 <!-- Cleveland Rams -->
 
     |background: black
 
     |background: black
     |background: #183990
+
     |background: #00338D
 
     }}
 
     }}
 
     }}
 
     }}
 
   }}
 
   }}
   |background: #183990
+
   |background: #00338D
 
  }}
 
  }}
|Los Angeles Rams 73thru94 = background: #183990
+
|Los Angeles Rams 73thru94 = background: #00338D
 
|Los Angeles Rams 64thru72 = background: blue
 
|Los Angeles Rams 64thru72 = background: blue
 
|Los Angeles Rams 46thru63 = background: blue
 
|Los Angeles Rams 46thru63 = background: blue

Revision as of 07:30, 7 July 2015

background: #dcdcdc

Template documentation[view] [edit] [history] [purge]

Usage

This template can be used to automatically fill the primary color used by Gridiron football (including American Football, Canadian Football, and Arena/Indoor Football) teams. It can be used in conjunction with other Gridiron color templates listed in the "See also" section below. 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

{{Gridiron alt primary color|teamname|year=#### (optional)}}

Example: {{Gridiron alt primary color|Buffalo Bills|year=2000}}

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, {{Gridiron alt primary color|Buffalo Bills 62thru01}} or {{Gridiron alt primary color|Buffalo Bills 1962thru2001}} would yield the primary color in use by the Buffalo Bills from 1962 through 2001. A simpler way to achieve this same result using the year parameter would be {{Gridiron alt primary color|Buffalo Bills|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.

Color data

All color data is stored in Module:Gridiron color/data. Requests to change or update colors should be made at Module talk:Gridiron color.

See also