الگو:Gridiron primary color
background: #DCDCDC
این الگو از لوآ استفاده میکند: |
این الگو در نزدیک به ۲۰٬۰۰۰ صفحه بهکار رفته است و تغییر دادن آن میتواند تأثیرات گستردهای داشته باشد. لطفاً تغییرات را در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان بیازمایید. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
This article's accessibility is in question. insufficient ویکیپدیا:شیوهنامه/دسترسیپذیری for some teams Information on making articles more accessible can be found at Wikiproject Accessibility. (December 2009) |
Usage
[ویرایش]This template can be used to automatically fill the primary color used by گریدیرون فوتبال (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 primary color|teamname|year=#### (optional)}}
Example:
{{Gridiron 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 primary color|Buffalo Bills 62thru01}}
or {{Gridiron 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 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
[ویرایش]- {{Gridiron primary color}} & {{Gridiron primary color raw}} - background color
- {{Gridiron primary style}} - set font, background, and border on navboxes and tables
- {{Gridiron secondary color}} & {{Gridiron secondary color raw}} - font color
- {{Gridiron tertiary color raw}} - border color
- {{Gridiron alt primary color}}
- {{Gridiron alt primary style}}
- {{Gridiron alt secondary color}}