Difference between revisions of "Template:Football kit"

From NSWiki
Jump to: navigation, search
m
Line 4: Line 4:
 
<!-- 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|link=|alt={{{alt|}}}|Team colours]] | [[Category:Pages using football kit with incorrect pattern parameters]] }} }}</div>
 
<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|link=|alt={{{alt|}}}|Team colours]] | [[Category:Pages using football kit with incorrect pattern parameters]] }} }}</div>
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.svg|top|link=|{{#if: {{{pattern_la|}}}|alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div>
+
<div style="position: absolute; left: 0px; top: 0px; width: 31px; height: 59px;">[[File:Kit left arm.png|top|link=|{{#if: {{{pattern_la|}}}|alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div>
  
 
<!-- Body --->
 
<!-- Body --->
Line 12: Line 12:
 
<!-- 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:Pages using football kit with incorrect pattern parameters]] }}| }}</div>
 
<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:Pages using football kit with incorrect pattern parameters]] }}| }}</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;">[[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:Media:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}} | [[File:Kit shorts{{{pattern_sh}}}.{{{filetype|png}}}|top|link=|alt=]] | [[Category:Pages using football kit with incorrect pattern parameters]] }}| }}</div>
 
<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:Pages using football kit with incorrect pattern parameters]] }}| }}</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;">[[File:Kit shorts.png|top|link=|alt=]]</div>
  
 
<!-- Socks -->{{#ifeq:{{{socks|}}}|none||
 
<!-- Socks -->{{#ifeq:{{{socks|}}}|none||
 
<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:Pages using football kit with incorrect pattern parameters]] }}| }}</div>
 
<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:Pages using football kit with incorrect pattern parameters]] }}| }}</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;">[[File:Kit socks long.png|top|link=|alt=]]</div>}}
  
 
</div>
 
</div>

Revision as of 02:05, 9 April 2020

Documentation icon Template documentation[create]