Difference between revisions of "Template:Handball kit"

From blackwiki
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:
{| 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|}}}.png|31px|Team colours]]
+
 
|bgcolor="#{{{body|ffffff}}}"|[[Image:kit body{{{pattern_b|_unknown}}}.png|38px|Team colours]]
+
<!-- Left arm -->
|bgcolor="#{{{rightarm|ffffff}}}"|[[Image:kit right arm{{{pattern_ra|}}}.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.png|100x36px|Team colours]]
+
 
|-
+
<!-- Body --->
|colspan="3"|&#12288;
+
<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 -->
{{documentation}}
+
<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>
[[Category:Handball kit templates|*]]
+
<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

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