Difference between revisions of "Template:American football uniform/doc"

From Sim Football Wiki
Jump to navigation Jump to search
m (Reverted 1 edit by 68.197.112.155 (talk) to last revision by Vanisaac)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 04:06, 18 May 2022

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

Empty

Helmet
Left arm Body Right arm
Trousers
Socks
Empty
{{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

Helmet
Left arm Body Right arm
Trousers
Socks
Home
{{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

Helmet
Left arm Body Right arm
Trousers
Socks
Away
{{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

To create new patterns, add images as shown below.

Helmets

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.

_af
_af

Jerseys

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

_af
_af _af

Body

Jersey bodies should remain simple.

_af_blacknumbers
_af_blacknumbers

_af_whitenumbers
_af_whitenumbers

_af_numbersonwhite
_af_numbersonwhite

_af_numbersonblack
_af_numbersonblack

Pants

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|]]