Template talk:Football kit

Note this is best used as a sub-template of Template:Football club infobox and Template:National football team. See their respective talk pages: Template talk:Football club infobox and Template talk:National football team.

To create a new pattern template follow the examples below. When you have created a new pattern please add it to the list below. ed g2stalk 14:51, 4 May 2005 (UTC)

Syntax

Missing image
Kit_left_arm.png
Team colours

Team colours Team colours
Team colours
Team colours
 
Home colours
{{Football kit |
  pattern_la =  |
  pattern_b  = _whitestripes |
  pattern_ra =  |
  leftarm    = FF0000 |
  body       = 000000 |
  rightarm   = FF0000 |
  shorts     = 0000AA |
  socks      = FFFFFF |
  title      = Home colours
}}

pattern_ra is the pattern modifier for the right arm, e.g. "_redsquares" would change the right arm to kit_right_arm_redsquares.png

Pattern files

Template:Football kit/pattern list

Discussion

For a (hopefully) complete list of patterns, check out User:Johan_Elisson/football_kits. --Elisson 18:21, 1 May 2005 (UTC)

I have moved Johan's list here. ed g2stalk 14:51, 4 May 2005 (UTC)
I've edited my list according to the style here and linked to my page as a template. That way, I won't have to go here to update it. And it can be used on more pages without having to update all of them. Feel free to edit my page if you find new styles. I've decided not to include a few because they either look not very good or are using the wrong syntax in the names. :) --Elisson 16:30, 4 May 2005 (UTC)
I have moved your list to a proper template file (updating works better) which is a more suitable namespace. ed g2stalk 17:00, 6 Jun 2005 (UTC)

This template produces inelegant results for me in IE (one-pixel coloured lines across the top and above the socks) and downright shocking results in a variety of browsers when the text size is increased (blocks of colour at sides of table cells).

The reason seem to be this: as the width of the {{{Title}}} grows with the text size, the bottom cell becomes wider than the kit, and determines the width of the whole table. Then the table cells with the kit in have to stretch to fit the total width, but the images in them keep their size, revealing some (coloured) background.

I've been experimenting with an alternative template, at Template:Football kit/temp. You can see the effects at User:Rbrwr/sandbox (the grey sides are in order to see the position and size of the extra table cells I've added). It works perfectly in Moz but still has one one-pixel horizontal line in IE, and breaks in "largest" but not "larger" size in IE. It breaks with large font sizes in Opera, but that's OK because you normally zoom instead. --rbrwrˆ 14:18, 5 Jun 2004 (UTC)

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools