Template:Football kit: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with '<div style="width: 100px; margin: 0 auto; padding: 0;"> <div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px; margin: 0 auto; padding: 0;"> <!-- Left…') |
No edit summary |
||
Line 3: | Line 3: | ||
<!-- Left arm --> | <!-- Left arm --> | ||
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #{{{leftarm}}};">{{#if: {{{pattern_la|}}}|{{#ifexist:Media:Kit left arm{{{pattern_la}}}.{{{filetype|png}}} | [[File:Kit left arm{{{pattern_la}}}.{{{filetype|png}}}|top|alt={{{alt|}}}|Team colours]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px; background-color: #{{{leftarm}}};">{{#if: {{{pattern_la|}}}|{{#ifexist:wikipedia:Media:Kit left arm{{{pattern_la}}}.{{{filetype|png}}} | [[wikipedia:File:Kit left arm{{{pattern_la}}}.{{{filetype|png}}}|top|alt={{{alt|}}}|Team colours]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | ||
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|{{#if: {{{pattern_la|}}}|link={{!}}alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div> | <div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[wikipedia:File:Kit left arm.svg|top|{{#if: {{{pattern_la|}}}|link={{!}}alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div> | ||
<!-- Body ---> | <!-- Body ---> | ||
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #{{{body}}};">{{#if: {{{pattern_b|}}}|{{#ifexist:Media:Kit body{{{pattern_b}}}.{{{filetype|png}}} | [[File:Kit body{{{pattern_b}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px; background-color: #{{{body}}};">{{#if: {{{pattern_b|}}}|{{#ifexist:wikipedia:Media:Kit body{{{pattern_b}}}.{{{filetype|png}}} | [[wikipedia:File:Kit body{{{pattern_b}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | ||
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.svg|top|link=|alt=]]</div> | <div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[wikipedia:File:Kit body.svg|top|link=|alt=]]</div> | ||
<!-- Right arm --> | <!-- Right arm --> | ||
<div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #{{{rightarm}}};">{{#if: {{{pattern_ra|}}}|{{#ifexist:Media:Kit right arm{{{pattern_ra}}}.{{{filetype|png}}} | [[File:Kit right arm{{{pattern_ra}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px; background-color: #{{{rightarm}}};">{{#if: {{{pattern_ra|}}}|{{#ifexist:wikipedia:Media:Kit right arm{{{pattern_ra}}}.{{{filetype|png}}} | [[wikipedia:File:Kit right arm{{{pattern_ra}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | ||
<div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.svg|top|link=|alt=]]</div> | <div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[wikipedia:File:Kit right arm.svg|top|link=|alt=]]</div> | ||
<!-- Shorts --> | <!-- Shorts --> | ||
<div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #{{{shorts}}}">{{#if: {{{pattern_sh|}}}|{{#ifexist:Media:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}} | [[File:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px; background-color: #{{{shorts}}}">{{#if: {{{pattern_sh|}}}|{{#ifexist:wikipedia:Media:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}} | [[wikipedia:File:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | ||
<div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.svg|top|link=|alt=]]</div> | <div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[wikipedia:File:Kit shorts.svg|top|link=|alt=]]</div> | ||
<!-- Socks --> | <!-- Socks --> | ||
<div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px; background-color: #{{{socks}}}">{{#if: {{{pattern_so|}}}|{{#ifexist:Media:Kit socks{{{pattern_so}}}.{{{filetype|png}}} | [[File:Kit socks{{{pattern_so}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px; background-color: #{{{socks}}}">{{#if: {{{pattern_so|}}}|{{#ifexist:wikipedia:Media:Kit socks{{{pattern_so}}}.{{{filetype|png}}} | [[wikipedia:File:Kit socks{{{pattern_so}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Football kits with incorrect pattern]] }}| }}</div> | ||
<div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks long.svg|top|link=|alt=]]</div> | <div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[wikipedia:File:Kit socks long.svg|top|link=|alt=]]</div> | ||
</div> | </div> |
Revision as of 14:21, 28 October 2012
[create]
Template documentation
![](/wiki/images/thumb/6/6b/Template-info.svg.png/50px-Template-info.svg.png)
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |