Template:Football kit: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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: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; background-color: #{{{leftarm}}};">{{#if: {{{pattern_la|}}} | [[File:Kit left arm{{{pattern_la}}}.{{{filetype|png}}}|top|alt={{{alt|}}}|Team colours]] | }}</div>
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.png|top|{{#if: {{{pattern_la|}}}|link={{!}}alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div>
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.png|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: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; background-color: #{{{body}}};">{{#if: {{{pattern_b|}}}| [[File:Kit body{{{pattern_b}}}.{{{filetype|png}}}|top|link=|alt=]] | }}</div>
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.png|top|link=|alt=]]</div>
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[File:Kit body.png|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: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; background-color: #{{{rightarm}}};">{{#if: {{{pattern_ra|}}}| [[File:Kit right arm{{{pattern_ra}}}.{{{filetype|png}}}|top|link=|alt=]] | }}</div>
<div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.png|top|link=|alt=]]</div>
<div style="position: absolute; left: 69px; top: 0px; width: 31px; height: 59px;">[[File:Kit right arm.png|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: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; background-color: #{{{shorts}}}">{{#if: {{{pattern_sh|}}}| [[File:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}}|top|link=|alt=]] | }}</div>
<div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.png|top|link=|alt=]]</div>
<div style="position: absolute; left: 0px; top: 59px; width: 100px; height: 36px;">[[File:Kit shorts.png|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: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; background-color: #{{{socks}}}">{{#if: {{{pattern_so|}}}|[[File:Kit socks{{{pattern_so}}}.{{{filetype|png}}}|top|link=|alt=]] | }}</div>
<div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks long.png|top|link=|alt=]]</div>
<div style="position: absolute; left: 0px; top: 95px; width: 100px; height: 40px;">[[File:Kit socks longs.png|top|link=|alt=]]</div>


</div>
</div>
Line 26: Line 26:
{{#if: {{{title}}}|<div style="padding-top: 0.6em; text-align: center;">'''{{{title}}}'''</div>|}}
{{#if: {{{title}}}|<div style="padding-top: 0.6em; text-align: center;">'''{{{title}}}'''</div>|}}
</div><noinclude>
</div><noinclude>
{{documentation}}
{{documentation}} [[Category:Football templates]]
</noinclude>
</noinclude>

Latest revision as of 16:20, 13 January 2020

{{{title}}}
[create] Template documentation