Difference between revisions of "Template:Handball kit"

From blackwiki
Jump to navigation Jump to search
imported>Aikurn
(Update and sync with {{Football kit}})
imported>Aikurn
(Sync with Football kit)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="background:#FFF; width:90px; margin:0 auto; text-align: center;"
+
<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;">
|bgcolor="#{{{leftarm|ffffff}}}"|[[Image:kit left arm{{{pattern_la|}}}.{{{filetype|png}}}|31px|Team colours]]
+
 
|bgcolor="#{{{body|ffffff}}}"|[[Image:kit body{{{pattern_b|_unknown}}}.{{{filetype|png}}}|38px|Team colours]]
+
<!-- Left arm -->
|bgcolor="#{{{rightarm|ffffff}}}"|[[Image:kit right arm{{{pattern_ra|}}}.{{{filetype|png}}}|31px|Team colours]]
+
<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>
|bgcolor="#{{{shorts|ffffff}}}" colspan="3" height="36px" |[[Image:kit shorts{{{pattern_sh|}}}.{{{filetype|png}}}|100x36px|Team colours]]
+
 
|-
+
<!-- Body --->
|colspan="3" height="3px" |  
+
<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>
|colspan="3"|'''{{{title|title}}}'''
+
 
|}<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}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Revision as of 16:16, 1 March 2009

Team colours
Team colours
Team colours
Team colours
{{{title}}}
Template documentation[view] [edit] [history] [purge]

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