Difference between revisions of "Template:Cricket uniform"
Jump to navigation
Jump to search
imported>IM-yb (based on Template:Baseball uniform) |
imported>IM-yb m |
||
| Line 1: | Line 1: | ||
<div style="width: 100px; margin: 0 auto; padding: 0; text-align: center;"> | <div style="width: 100px; margin: 0 auto; padding: 0; text-align: center;"> | ||
| − | <div style="position: relative; left: 0px; top: 0px; width: 100px; height: | + | <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px; margin: 0 auto; padding: 0;"> |
<!-- Left arm --> | <!-- Left arm --> | ||
| − | <div style="position: absolute; left: 0px; top: | + | <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #{{{leftarm}}};">{{#if: {{{pattern_la|}}}|[[File:Kit left arm{{{pattern_la}}}.{{{filetype|png}}}|top]]| }}</div> |
| − | <div style="position: absolute; left: 0px; top: | + | <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|alt=]]</div> |
<!-- Body ---> | <!-- Body ---> | ||
| − | <div style="position: absolute; left: 31px; top: | + | <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #{{{body}}};">[[File:Kit body{{{pattern_b|_unknown}}}.{{{filetype|png}}}|top|link=|alt=]]</div> |
<!-- Right arm --> | <!-- Right arm --> | ||
| − | <div style="position: absolute; left: 69px; top: | + | <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #{{{rightarm}}};">{{#if: {{{pattern_ra|}}}|[[File:Kit right arm{{{pattern_ra}}}.{{{filetype|png}}}|top]]| }}</div> |
| − | <div style="position: absolute; left: 69px; top: | + | <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div> |
<!-- Pants --> | <!-- Pants --> | ||
| − | <div style="position: absolute; left: 0px; top: | + | <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 80px; background-color: #{{{pants}}};">{{#if: {{{pattern_pants|}}}|[[File:Kit trousers long{{{pattern_pants}}}.{{{filetype|png}}}|top]]|[[File:Kit trousers long.png|top|link=|alt=]]}}</div> |
</div> | </div> | ||
Revision as of 15:56, 12 April 2016

Uniform
Usage
This template was created to easily show the colours or uniforms used by a Cricket team. It is not meant to be used directly on the page, but inside an infobox. It is based on {{Baseball uniform}}. See documentation there.
See also
- {{Baseball uniform}}
- {{Infobox cricket team}}
- {{Infobox Test team}}
| The above documentation is transcluded from Template:Cricket uniform/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |