Difference between revisions of "Template:Football kit box"

From blackwiki
Jump to navigation Jump to search
imported>Izno
(marginal cleaning)
 
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="toccolours thumb {{#switch: {{{align|}}}|left = tleft| right = tright| center|centre = tnone| #default = tright}}" style="width: 120px; margin: 0.5em; float: {{#switch: {{{align|}}}|left = left| right = right| center|centre = none| #default = right}}"
+
{{Image frame
| class="roccolours thumbinner"| {{Football kit
+
| width  = {{{width|120}}}
| filetype = {{{filetype|png}}}
+
| content =  
| alt = {{{alt|}}}
+
{{Football kit
| pattern_la =  
+
| filetype   = {{{filetype|png}}}
| pattern_b =
+
| alt       = {{{alt|}}}
| pattern_ra =  
+
| pattern_la = {{{pattern_la|}}}
| leftarm = {{{leftarm|}}}
+
| pattern_b = {{{pattern_b|}}}
| body = {{{body|}}}
+
| pattern_ra = {{{pattern_ra|}}}
| rightarm ={{{rightarm|}}}
+
| leftarm   = {{{leftarm|}}}
| shorts = {{{shorts|}}}
+
| body       = {{{body|}}}
 +
| rightarm   = {{{rightarm|}}}
 +
| shorts     = {{{shorts|}}}
 
| pattern_sh = {{{pattern_sh|}}}
 
| pattern_sh = {{{pattern_sh|}}}
 
| pattern_so = {{{pattern_so|}}}
 
| pattern_so = {{{pattern_so|}}}
| socks = {{{socks|}}}
+
| socks     = {{{socks|}}}
 
| title      =  
 
| title      =  
 
}}
 
}}
|-
+
| caption = {{{title|}}}
| class="thumbcaption" | {{{title|}}}
+
| link    =  
|}<noinclude>{{documentation}}</noinclude>
+
| align  = {{{align|}}}
 +
}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 07:20, 3 January 2021

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

2015-16 colours
{{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