Templat:Football kit: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Smith09 (bicara | kontrib)
Tidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
 
(5 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 1:
<div style="width: 100px; margin: 0 auto; padding: 0;">
<div style="position: relative; left: 0px; top: 0px; width: 100px; height: 135px{{#ifeq:{{{socks|}}}|none|95|135}}px; margin: 0 auto; padding: 0;">
 
<!-- 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}}} | [[BerkasFile: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;">[[BerkasFile:Kit left arm.svg|top|link=|{{#if: {{{pattern_la|}}}|link={{!}}alt=|alt={{{alt|}}}{{!}}Team colours}}]]</div>
 
<!-- 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}}} | [[BerkasFile:Kit body .svg{{{pattern_b}}}.{{{filetype|png}}}|top|link=|alt=]] | <!--[[Category:Pages using football kit with incorrect pattern parameters]]--> }}| }}</div>
<div style="position: absolute; left: 31px; top: 0px; width: 38px; height: 59px;">[[BerkasFile:Kit body .svg.|top|link=|alt=]]</div>
 
<!-- 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}}} | [[BerkasFile: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;">[[BerkasFile:Kit right arm.svg|top|link=|alt=]]</div>
 
<!-- 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}}} | [[BerkasFile: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;">[[BerkasFile:Kit shorts.svg|top|link=|alt=]]</div>
 
<!-- 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}}} | [[BerkasFile: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;">[[BerkasFile:Kit socks long.svg|top|link=|alt=]]</div>}}
 
</div>
<!-- Title -->
{{#if: {{{title|}}}|<div style="padding-top: 0.6em; text-align: center;">'''{{nowrap|{{{title}}}}}'''</div>|}}
</div><noinclude>
[[Kategori:Templat sepak bola|{{PAGENAME}}]]</noinclude>
[[en:Template:Football kit]]</noinclude>