Template:American football uniform/doc
This is a documentation subpage for Template:American football uniform. It may contain usage information, categories and other content that is not part of the original template page. |
This template allows stylized uniforms like those found with Template:Football kit. Editors can customize colors and patterns of uniforms. The elements of the uniform include:
- Helmet
- Jersey
- Sleeves
- Body
- Pants
Syntax
[edit]Empty
[edit]{{American football uniform
| pattern_h =_af
| pattern_la =
| pattern_b =
| pattern_ra =
| pattern_p =
| pattern_s =_af
| helmet =
| leftarm =
| body =
| rightarm =
| pants =
| socks =
| title =
}}
Example home uniform
[edit]{{American football uniform
| pattern_h =_af
| pattern_la =
| pattern_b =_af_whitenumbers
| pattern_ra =
| pattern_p =
| pattern_s =_af
| helmet =aaaa66
| leftarm =000033
| body =000033
| rightarm =000033
| pants =aaaa66
| socks =FFFFFF
| title =Home
}}
Example away uniform
[edit]{{American football uniform
| pattern_h =_af
| pattern_la =
| pattern_b =_af_numbersonwhite
| pattern_ra =
| pattern_p =
| pattern_s =
| helmet =990000
| leftarm =FFFFFF
| body =990000
| rightarm =FFFFFF
| pants =FFFFFF
| socks =181818
| title =Away
}}
American football patterns
[edit]To create new patterns, add images as shown below.
Helmets
[edit]At this time, it is easiest if helmets only show main colors. Currently, the main helmet color (indicated by the helmet parameter, matches the facemask color.
Jerseys
[edit]Jerseys are made up of two components: arms and body. Arms are a pair of images, in the form kit_leftarm_af_descriptor, where descriptor is something like "bluestripes," for example.
Sleeves/arms
[edit]Body
[edit]Jersey bodies should remain simple.
Pants
[edit]Pants should also remain simple. There are some ideas at Template:Baseball uniform that may be useful, however (e.g., colored belts).
[[Image:Kit_trousers_.png|]]