Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Gridiron alt primary style

Permanently protected template
From Wikipedia, the free encyclopedia

background-color: #ACACAC !important; color: #000000 !important;

Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 11,000 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.
This template usesLua:
Theaccessibility of this Accessibility problems is in question. Relevant discussion may be found on thetalk page.

Usage

This template can be used on templates and tables to automatically set the background color and the font color to the alternative primary (background) color and the alternative secondary (font) color and the primary (border) color that are used byGridiron 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 onerequired parameter, which is the team name and oneoptional 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 style|team}}

or

{{Gridiron alt primary style|team|border=2}}

or

{{Gridiron alt primary style|team|year=2000}}

Deprecated method to get non-current color

Prior to the implementation of theyear parameter, the method to designate non-current color schemes was to specify an alternate team name. For example,{{Gridiron alt primary style|Buffalo Bills 62thru01}} or{{Gridiron alt primary style|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 style|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 inModule:Gridiron color/data. Requests to change or update colors should be made atModule talk:Gridiron color.

Sports color templates
College
Baseball
Basketball
Gridiron
Handball
UniSport
Volleyball
Misc
Modules
The abovedocumentation istranscluded fromTemplate:Gridiron alt primary style/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(edit) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Gridiron_alt_primary_style&oldid=1260800938"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp