Difference between revisions of "Template:Handball kit"
Jump to navigation
Jump to search
imported>Matthewedwards m (Cleaning up {{documentation}} etc usage. Learn more at WP:DOC) |
imported>Primefac m (Protected "Template:Handball kit": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (...) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <div style="width: 100px; margin: 0 auto; padding: 0;"> | |
| − | + | <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 95px; margin: 0 auto; padding: 0;"> | |
| − | + | ||
| − | + | <!-- Left arm --> | |
| − | + | <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: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|Team colours]]</div> | |
| − | + | ||
| − | + | <!-- Body ---> | |
| − | | | + | <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #{{{body}}};">{{#if: {{{pattern_b|}}}|[[File:Kit body{{{pattern_b}}}.{{{filetype|png}}}|top]]| }}</div> |
| − | + | <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|Team colours]]</div> | |
| − | + | ||
| − | |}<noinclude> | + | <!-- Right arm --> |
| − | {{ | + | <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: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|Team colours]]</div> | |
| + | |||
| + | <!-- Shorts --> | ||
| + | <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #{{{shorts}}}">{{#if: {{{pattern_sh|}}}|[[File:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}}|top]]| }}</div> | ||
| + | <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.svg|top|Team colours]]</div> | ||
| + | |||
| + | </div> | ||
| + | <!-- Title --> | ||
| + | {{#if: {{{title}}}|<div style="padding-top: 0.6em; text-align: center;">'''{{{title}}}'''</div>|}} | ||
| + | </div><noinclude> | ||
| + | {{Documentation}} | ||
| + | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:59, 10 January 2018
Usage
This template was created to easily show the colours or uniforms used by a handball team. It is not meant to be used directly on the page, but inside an infobox. It is based on {{Football kit}}. See documentation there.
See also
| The above documentation is transcluded from Template:Handball kit/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. |