Template:Gridiron primary color/testcases


Testing sandbox version edit

{{Gridiron_primary_color/sandbox}}

No parameters:

background: #DCDCDC

Input Output Swatch Note
{{NFLPrimaryColor/sandbox|Detroit Lions}} background: #0076B6      
{{NFLPrimaryColor/sandbox|Detroit Lions|year=2015}} background: #005A8B      
{{NFLPrimaryColor/sandbox|Detroit Lions|year=2010}} background: #0066CC      
{{NFLPrimaryColor/sandbox|Detroit Lions|year=2005}} background: #005A8B      
{{NFLPrimaryColor/sandbox|Detroit Lions|year=1980}} background: #0076B6      
{{NFLPrimaryColor/sandbox|Detroit Lions|year=1940}} background: #0076B6      
{{NFLPrimaryColor/sandbox|Detroit Lions|year=1900}} background: #0076B6       Team not in existence in given year; default to current color
{{NFLPrimaryColor/sandbox|Detroit Lions 12thru16}} background: #005A8B       Alternate (old) method for assigning previous color scheme
{{NFLPrimaryColor/sandbox|Detroit Lions 09thru11|year=2013}} background: #005A8B       Alternate (old) method; note year is ignored
{{NFLPrimaryColor/sandbox|Detroit Lions 03thru08|year=1901}} background: #0076B6       Alternate (old) method; note year is ignored
{{NFLPrimaryColor/sandbox|Detroit Lions 70thru02}} background: #0076B6       Alternate (old) method
{{NFLPrimaryColor/sandbox|Detroit Lions 34thru69}} background: #0076B6       Alternate (old) method
{{NFLPrimaryColor/sandbox|Detroit Lions 60thru96}} background: #0076B6       Detroit Lions 60thru96 not defined in template; assigns default value
{{NFLPrimaryColor/sandbox|San Francisco 49ers}} background: #AA0000      
{{NFLPrimaryColor/sandbox|San Francisco 49ers|year=1965}} background: #AA0000      
{{NFLPrimaryColor/sandbox|Cleveland Rams 38thru45|year=1936}} background: #002244      
{{NFLPrimaryColor/sandbox|Cleveland Rams}} background: #00338D      
{{NFLPrimaryColor/sandbox|Cleveland Rams|year=1938}} background: #002244      
{{NFLPrimaryColor/sandbox|Cleveland Rams|year=1936}} background: #002244      
{{NFLSecondaryColor|San Francisco 49ers}} color: #FFFFFF text
{{NFLSecondaryColor|San Francisco 49ers|year=1965}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams 38thru45|year=1936}} color: #FFFFFF text
{{NFLSecondaryColor|New Orleans Saints}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams|year=1938}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams|year=1936}} color: #FFFFFF text
BCThis user is a fan of the
BC Lions


Jim Harbaugh
Michigan Wolverines
Position:Head coach
Personal information
Born: (1963-12-23) December 23, 1963 (age 60)
Toledo, Ohio
Height:6 ft 2 in (1.88 m)
Weight:215 lb (98 kg)
Career information
High school:Palo Alto (CA)
College:Michigan
NFL Draft:1987 / Round: 1 / Pick: 26


Michigan Wolverines staff
Front office


Head coaches


Offensive coaches


Defensive coaches





Jim Harbaugh
San Francisco 49ers
Position:Head coach
Personal information
Born: (1963-12-23) December 23, 1963 (age 60)
Toledo, Ohio
Height:6 ft 2 in (1.88 m)
Weight:215 lb (98 kg)
Career information
High school:Palo Alto (CA)
College:Michigan
NFL Draft:1987 / Round: 1 / Pick: 26


San Francisco 49ers staff
Front office


Head coaches


Offensive coaches


Defensive coaches




Testing main template edit

{{Gridiron_primary_color}}

background: #DCDCDC

Input Output Swatch Note
{{NFLPrimaryColor|Detroit Lions}} background: #0076B6      
{{NFLPrimaryColor|Detroit Lions|year=2014}} background: #0076B6       note that year parameter has no effect
{{NFLPrimaryColor|Detroit Lions|year=2000}} background: #0076B6      
{{NFLPrimaryColor|Detroit Lions|year=1974}} background: #0076B6      
{{NFLPrimaryColor|Detroit Lions|year=1962}} background: #0076B6      
{{NFLPrimaryColor|Detroit Lions|year=1960}} background: #0076B6      
{{NFLPrimaryColor|Detroit Lions|year=1901}} background: #0076B6      
{{NFLPrimaryColor|Detroit Lions 97thru11}} background: #0076B6       Existing method for assigning previous color scheme
{{NFLPrimaryColor|Detroit Lions 97thru11|year=2013}} background: #0076B6       Existing method; note year is ignored
{{NFLPrimaryColor|Detroit Lions 97thru11|year=1901}} background: #0076B6       Existing method; note year is ignored
{{NFLPrimaryColor|Detroit Lions 62thru96}} background: #0076B6       Existing method
{{NFLPrimaryColor|Detroit Lions 60thru61}} background: #0076B6       Existing method
{{NFLPrimaryColor|Detroit Lions 60thru96}} background: #0076B6       Detroit Lions 60thru96 not defined in template; assigns default value
{{NFLPrimaryColor|San Francisco 49ers}} background: #AA0000      
{{NFLPrimaryColor|San Francisco 49ers|year=1965}} background: #DA0020      
{{NFLPrimaryColor|Cleveland Rams 38thru45|year=1936}} background: #002244      
{{NFLPrimaryColor|Cleveland Rams}} background: #00338D      
{{NFLPrimaryColor|Cleveland Rams|year=1938}} background: #00338D      
{{NFLPrimaryColor|Cleveland Rams|year=1936}} background: #002244      
{{NFLSecondaryColor|San Francisco 49ers}} color: #FFFFFF text
{{NFLSecondaryColor|San Francisco 49ers|year=1965}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams 38thru45|year=1936}} color: #FFFFFF text
{{NFLSecondaryColor|New Orleans Saints}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams|year=1938}} color: #FFFFFF text
{{NFLSecondaryColor|Cleveland Rams|year=1936}} color: #FFFFFF text
BCThis user is a fan of the
BC Lions


Jim Harbaugh
Michigan Wolverines
Position:Head coach
Personal information
Born: (1963-12-23) December 23, 1963 (age 60)
Toledo, Ohio
Height:6 ft 2 in (1.88 m)
Weight:215 lb (98 kg)
Career information
High school:Palo Alto (CA)
College:Michigan
NFL draft:1987 / Round: 1 / Pick: 26
Michigan Wolverines staff

Front office


Head coaches


Offensive coaches


Defensive coaches





Jim Harbaugh
San Francisco 49ers
Position:Head coach
Personal information
Born: (1963-12-23) December 23, 1963 (age 60)
Toledo, Ohio
Height:6 ft 2 in (1.88 m)
Weight:215 lb (98 kg)
Career information
High school:Palo Alto (CA)
College:Michigan
NFL draft:1987 / Round: 1 / Pick: 26
San Francisco 49ers staff

Front office


Head coaches


Offensive coaches


Defensive coaches