Difference between revisions of "Template:Football kit box"

From blackwiki
Jump to navigation Jump to search
imported>Broadbot
imported>Izno
(marginal cleaning)
 
(39 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{#switch: {{{align|}}}
+
{{Image frame
| left = <div class="thumb tleft" style="width: 120px">
+
| width  = {{{width|120}}}
| right = <div class="thumb tright" style="width: 120px">
+
| content =  
| center|centre = <div class="center"><div class="thumb tnone" style="width: 120px">
+
{{Football kit
| #default = <div class="thumb tright" style="width: 120px">
+
| filetype  = {{{filetype|png}}}
 +
| alt        = {{{alt|}}}
 +
| pattern_la = {{{pattern_la|}}}
 +
| pattern_b  = {{{pattern_b|}}}
 +
| pattern_ra = {{{pattern_ra|}}}
 +
| leftarm    = {{{leftarm|}}}
 +
| body      = {{{body|}}}
 +
| rightarm  = {{{rightarm|}}}
 +
| shorts    = {{{shorts|}}}
 +
| pattern_sh = {{{pattern_sh|}}}
 +
| pattern_so = {{{pattern_so|}}}
 +
| socks      = {{{socks|}}}
 +
| title      =  
 
}}
 
}}
{| class="toccolours" cellspacing="0"
+
| caption = {{{title|}}}
| class="toccolours" style="padding: 0; background: #FFFFFF; width: 110px;" |
+
| link    =  
{| cellspacing="0" cellpadding="0" style="margin:0 auto; text-align: center;"
+
| align  = {{{align|}}}
|-
+
}}<noinclude>
|bgcolor="#{{{leftarm}}}"|[[Image:kit_left_arm{{{pattern_la|}}}.png|Team colours]]
+
{{documentation}}
|bgcolor="#{{{body}}}"|[[Image:kit_body{{{pattern_b|_unknown}}}.png|Team colours]]
 
|bgcolor="#{{{rightarm}}}"|[[Image:kit_right_arm{{{pattern_ra|}}}.png|Team colours]]
 
|-
 
|bgcolor="#{{{shorts}}}" colspan="3"|[[Image:kit_shorts.png|Team colours]]
 
|-
 
|bgcolor="#{{{socks}}}" colspan="3" style="border-bottom: 5px solid #FFFFFF;"|[[Image:kit_socks.png|Team colours]]
 
|}
 
|-
 
| style="font-size: 94%; line-height: 140%" | {{{title}}}
 
|}
 
{{#switch: {{{align|}}}
 
| center|centre = </div></div>
 
| </div>
 
}}<noinclude>[[da:Skabelon:Fodbold spilledragt boks]]
 
[[hu:Sablon:Football kit box]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 07:20, 3 January 2021

50px Template documentation[view] [edit] [history] [purge]

This template displays a {{football kit}} in a bordered box with a caption, like an image. It can be used to represent strips in articles outside the infobox.

Usage

Syntax is the same as with {{football kit}}, with an additional align attribute which can be set to left, right or center. The default is right if unspecified.

width can also be supplied and defaults to 120 (px).

This template is for creating standalone thumbnail-style boxes for football kit designs.

For detailed instructions see template talk:football kit.

Example

{{Football kit box
 | align      = left
 | pattern_la1=_navy_shoulder_patch
 | pattern_b1= 
 | pattern_ra1=_navy_shoulder_patch
 | leftarm    = 
 | body       =000050
 | rightarm   = 
 | shorts     =000050
 | socks      =000050
 | title      = [[Pontypridd Town AFC Home Kit|2015-16]] colours
}}

See also