Template:Football kit/testcases

From Wikipedia, the free encyclopedia


Correct patterns
{{Football kit
|pattern_la = _shouldersonwhite
|pattern_b  = _redgradiantstripes
|pattern_ra = _shouldersonwhite
|pattern_sh = _adidaswhite
|pattern_so = 
|leftarm    = D80000
|body       = FFFFFF
|rightarm   = D80000
|shorts     = D80000
|socks      = FFFFFF
|title      = Principal
}}
Principal
Edit This one
Expanded code
<div style="width: 100px; margin: 0 auto; padding: 0;"> <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px; margin: 0 auto; padding: 0;"> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #D80000;">[[File:Kit left arm_shouldersonwhite.png|top|link=|alt=|Team colours]]</div> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #FFFFFF;">[[File:Kit body_redgradiantstripes.png|top|link=|alt=]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #D80000;">[[File:Kit right arm_shouldersonwhite.png|top|link=|alt=]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #D80000">[[File:Kit shorts_adidaswhite.png|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px; background-color: #FFFFFF"></div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks long.svg|top|link=|alt=]]</div> </div> <div style="padding-top: 0.6em; text-align: center;">'''Principal'''</div> </div>
<div style="width: 100px; margin: 0 auto; padding: 0;"> <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px; margin: 0 auto; padding: 0;"> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #D80000;">[[File:Kit left arm_shouldersonwhite.png|top|link=|alt=|Team colours]]</div> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #FFFFFF;">[[File:Kit body_redgradiantstripes.png|top|link=|alt=]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #D80000;">[[File:Kit right arm_shouldersonwhite.png|top|link=|alt=]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #D80000">[[File:Kit shorts_adidaswhite.png|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px; background-color: #FFFFFF"></div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks long.svg|top|link=|alt=]]</div> </div> <div style="padding-top: 0.6em; text-align: center;">'''Edit This one'''</div> </div>
Wrong patterns
 {{Football kit |
  alt        =  |
  pattern_la = whiteshoulders |
  pattern_b  = whiteshoulders |
  pattern_ra = whiteshoulders |
  pattern_sh =  |
  pattern_so =  |
  leftarm    = FFFFFF |
  body       = FF0000 |
  rightarm   = FFFFFF |
  shorts     = FFFFFF |
  socks      = FFFFFF |
  title      = Home [[Kit (association football)|colours]]
}}
Home colours
Home colours
Expanded code
<div style="width: 100px; margin: 0 auto; padding: 0;"> <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px; margin: 0 auto; padding: 0;"> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #FFFFFF;">[[Category:Pages using football kit with incorrect pattern parameters]]</div> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #FF0000;">[[Category:Pages using football kit with incorrect pattern parameters]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #FFFFFF;">[[Category:Pages using football kit with incorrect pattern parameters]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #FFFFFF"></div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px; background-color: #FFFFFF"></div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks long.svg|top|link=|alt=]]</div> </div> <div style="padding-top: 0.6em; text-align: center;">'''Home [[Kit (association football)|colours]]'''</div> </div>
<div style="width: 100px; margin: 0 auto; padding: 0;"> <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px; margin: 0 auto; padding: 0;"> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #FFFFFF;">[[Category:Pages using football kit with incorrect pattern parameters]]</div> <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #FF0000;">[[Category:Pages using football kit with incorrect pattern parameters]]</div> <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #FFFFFF;">[[Category:Pages using football kit with incorrect pattern parameters]]</div> <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #FFFFFF"></div> <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.svg|top|link=|alt=]]</div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px; background-color: #FFFFFF"></div> <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks long.svg|top|link=|alt=]]</div> </div> <div style="padding-top: 0.6em; text-align: center;">'''Home [[Kit (association football)|colours]]'''</div> </div>
plain color jersey

{{{2}}}
{{{3}}}
Expanded code
{{{2}}}
{{{3}}}