Templat:Kotak info kompetisi sepak bola internasional: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k ←Membuat halaman berisi '{| style="border-collapse:collapse; font-size:90%; text-align:center; margin-left:0.5em; margin-bottom:0.5em" width=300 border=1 cellpadding=0 cellspacing=0 align=right |...'
 
kTidak ada ringkasan suntingan
 
(92 revisi perantara oleh 18 pengguna tidak ditampilkan)
Baris 1:
{{Infobox|infoboxTemplate
{| style="border-collapse:collapse; font-size:90%; text-align:center; margin-left:0.5em; margin-bottom:0.5em" width=300 border=1 cellpadding=0 cellspacing=0 align=right
| bodyclass = vcalendar
|-
| titleclass = summary
! colspan=2 style="background-color:#AAD0FF; color:black; text-align:center; padding:0.3em"| <big>{{#if: {{{tourney_name|<noinclude>*</noinclude>}}} | {{{year|}}} {{{tourney_name}}} {{{yearr|}}} |{{PAGENAME}} }}</big> {{#if:{{{other_titles|<noinclude>*</noinclude>}}}|<br/><small>''{{{other_titles}}}''</small>}}
| title = {{#if:{{{tourney_name|}}}|{{{tourney_name|}}} {{{year|}}} <includeonly>|{{PAGENAMEBASE}}</includeonly>}}
|-
| above = {{{other_titles|}}}
{{#if:{{{image|<noinclude>*</noinclude>}}}|
| abovestyle = font-size: 100%
{{!}} colspan=2 style="text-align:center;; padding:0.3em"{{!}} [[Image:{{{image}}}{{#if:{{{size|<noinclude>*</noinclude>}}}|{{!}}{{{size}}}|{{!}}200px }}{{#if:{{{caption|<noinclude>*</noinclude>}}}|{{!}}{{{caption}}} }}]]
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{size|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |suppressplaceholder=yes}}
{{!}}-
| caption = {{{caption|}}}
}}
| colspan=2 style="background-color:#EBF5FF; color:black; text-align:center"| '''Tournament details'''
|-
{{#if:{{{country|<noinclude>*</noinclude>}}}|
{{#if:{{{country2|}}}|
{{!}} '''Host nations'''
{{!}} {{flag|{{{country|}}}|{{{country-flagvar|}}}}} / {{flag|{{{country2|}}}|{{{country2-flagvar|}}}}} {{ #if: {{{country3|}}} | /<br> {{flag|{{{country3|}}}|{{{country3-flagvar|}}}}} }} {{ #if: {{{country4|}}} | / {{flag|{{{country4|}}}|{{{country4-flagvar|}}}}} }}
{{!}}-
|
{{!}} '''Host nation'''
{{!}} {{flag|{{{country|}}}|{{{country-flagvar|}}}}}
{{!}}-
}}
}}
{{#if:{{{dates|<noinclude>*</noinclude>}}}|
{{!}} '''Dates'''
{{!}} {{{dates}}}
{{!}}-
}}
{{#if:{{{num_teams|<noinclude>*</noinclude>}}}|
{{!}} '''Teams'''
{{!}} {{{num_teams}}}&nbsp;<small>{{#if: {{{confederations|<noinclude>*</noinclude>}}} | (from {{{confederations}}} confederation{{#ifeq:{{{confederations}}}|1| |s}}) | }}</small>
{{!}}-
}}
{{#if:{{{venues|<noinclude>*</noinclude>}}}|
{{!}} '''Venue(s)'''
{{!}} {{{venues}}}&nbsp;<small>(in {{{cities}}} host cit{{#ifeq: {{{cities}}}|1|y|ies}})</small>
{{!}}-
}}
{{ #ifeq: {{ #expr: {{ #if: {{{champion|<noinclude>-</noinclude>}}} |1 |0 }} or {{ #if: {{{champion_other|<noinclude>-</noinclude>}}} |1 |0 }} or {{ #if: {{{second|}}} |1 |0 }} or {{ #if: {{{second_other|}}} |1 |0 }} or {{ #if: {{{third|}}} |1 |0 }} or {{ #if: {{{third_other|}}} |1 |0 }} or {{ #if: {{{fourth|}}} |1 |0 }} or {{ #if: {{{fourth_other|}}} |1 |0 }} }} |1 |
{{!}} colspan=2 style="background-color:#EBF5FF; color:black; text-align:center"{{!}} '''Final positions'''
{{!}}-
{{#if: {{{champion|<noinclude>*</noinclude>}}}|
{{!}} '''Champions''' &nbsp;[[Image:Gold medal.svg|10px]]
{{!}} '''|{{{champion|}}}|{{{champion-flagvar|}}}'''{{#if: {{{count|<noinclude>*</noinclude>}}}|<br /><small>({{ordinal|{{{count}}}}} title)</small>}}
{{!}}-
}}
{{#if: {{{champion_other|<noinclude>*</noinclude>}}}|
{{!}} '''Champions''' &nbsp;[[Image:Gold medal.svg|10px]]
{{!}} '''{{{champion_other}}}'''{{#if: {{{count|<noinclude>*</noinclude>}}}|<br /><small>({{ordinal|{{{count}}}}} title)</small>}}
{{!}}-
}}
{{#if: {{{second|<noinclude>*</noinclude>}}}|
{{!}} '''Second place''' &nbsp;[[Image:Silver medal.svg|10px]]
{{!}} {{fb|{{{second|}}}|{{{second-flagvar|}}}}}
{{!}}-
}}
{{#if: {{{second_other|<noinclude>*</noinclude>}}}|
{{!}} '''Second place''' &nbsp;[[Image:Silver medal.svg|10px]]
{{!}} {{{second_other}}}
{{!}}-
}}
{{#if: {{{third|<noinclude>*</noinclude>}}}|
{{!}} '''Third place''' &nbsp;[[Image:Bronze medal.svg|10px]]
{{!}} {{fb|{{{third|}}}|{{{third-flagvar|}}}}}
{{!}}-
}}
{{#if: {{{third_other|<noinclude>*</noinclude>}}}|
{{!}} '''Third place''' &nbsp;[[Image:Bronze medal.svg|10px]]
{{!}} {{{third_other}}}
{{!}}-
}}
{{#if: {{{fourth|<noinclude>*</noinclude>}}}|
{{!}} '''Fourth place'''
{{!}} {{fb|{{{fourth|}}}|{{{fourth-flagvar|}}}}}
{{!}}-
}}
{{#if: {{{fourth_other|<noinclude>*</noinclude>}}}|
{{!}} '''Fourth place'''
{{!}} {{{fourth_other}}}
{{!}}-
}}
}}
{{ #ifeq: {{ #expr: {{ #if: {{{matches|<noinclude>-</noinclude>}}} |1 |0 }} or {{ #if: {{{goals|}}} |1 |0 }} or {{ #if: {{{attendance|}}} |1 |0 }} or {{ #if: {{{top_scorer|}}} |1 |0 }} or {{ #if: {{{player|}}} |1 |0 }} }} |1 |
{{!}}- style="background-color:#EBF5FF; color:black; text-align:center"
{{!}}colspan="2" {{!}} '''Tournament statistics'''
{{!}}-
{{#if: {{{matches|<noinclude>*</noinclude>}}} |
{{!}} '''Matches played'''
{{!}} {{{matches}}}
{{!}}-
}}
{{#if: {{{goals|<noinclude>*</noinclude>}}} |
{{!}} '''Goals scored'''
{{!}} {{{goals}}} &nbsp;<small>({{#expr: {{{goals|0}}} / {{{matches|1}}} round 2}} per match)</small>
{{!}}-
}}
{{#if: {{{attendance|<noinclude>*</noinclude>}}} |
{{!}} '''Attendance'''
{{!}} {{formatnum: {{{attendance|0}}}}} &nbsp;<small>({{formatnum: {{#expr: {{{attendance|0}}} / {{{matches|1}}} round 0}}}} per match)</small>
{{!}}-
}}
{{#if: {{{top_scorer|<noinclude>*</noinclude>}}} |
{{!}} '''Top scorer(s)'''
{{!}} {{{top_scorer}}}
{{!}}-
}}
{{#if: {{{player|<noinclude>*</noinclude>}}} |
{{!}} '''Best player'''
{{!}} {{{player}}}
{{!}}-
}}
}}
|-
{{#if: {{{updated<includeonly>|</includeonly>}}} |
{{!}} style="font-size: 80%; font-weight: lighter; text-align: center;" colspan="2" {{!}}
<span style="margin: 1em; color: #555;">Infobox last updated on: {{{updated}}}.</span> }}
|}<noinclude>
Infobox code:
<pre>
<nowiki>{{</nowiki>Infobox International Football Competition
| tourney_name = <!-- blank, if tournament name is like PAGE NAME-->
| year =
| yearr =
| other_titles =
| image =
| size =
| caption =
| country =
| dates =
| num_teams =
| confederations =
| venues =
| cities =
| champion = <!-- automatically wraps into {{fb}} template -->
| champion_other = <!-- use instead if the team is not in {{fb}} (enter your own code) -->
| count =
| second = <!-- automatically wraps into {{fb}} template -->
| second_other = <!-- use instead if the team is not in {{fb}} (enter your own code) -->
| third = <!-- automatically wraps into {{fb}} template -->
| third_other = <!-- use instead if the team is not in {{fb}} (enter your own code) -->
| fourth = <!-- automatically wraps into {{fb}} template -->
| fourth_other = <!-- use instead if the team is not in {{fb}} (enter your own code) -->
| matches =
| goals =
| attendance =
| top_scorer =
| player =
| updated =
}}
</pre>
----
Lihat [[Template talk:{{PAGENAME}}|pembicaraan halaman templat ini]] sebagai contoh.
[[Category:Football (soccer) infobox templates|International Football Competition]]
 
| header1 = {{#if:{{{country|}}}{{{city|}}}{{{num_teams|}}}{{{venues|}}}|Informasi turnamen}}
[[en:Template:Infobox International Football Competition]]
 
[[ko:틀:국제 축구 대회 정보]]
| label2 = Tuan rumah
[[hu:Sablon:Infobox Nemzetközi Labdarúgó Verseny]]
| data2 = {{#if:{{{country|}}}|{{{country}}}}}<!--
[[pl:Szablon:Turniej piłkarski infobox]]
-->{{#if:{{{country2|}}}|<br />{{{country2|}}}}}<!--
-->{{#if:{{{country3|}}}|<br />{{{country3|}}}}}<!--
-->{{#if:{{{country4|}}}|<br />{{{country4|}}}}}<!--
-->{{#if:{{{country5|}}}|<br />{{{country5|}}}}}<!--
-->{{#if:{{{country6|}}}|<br />{{{country6|}}}}}<!--
-->{{#if:{{{country7|}}}|<br />{{{country7|}}}}}<!--
-->{{#if:{{{country8|}}}|<br />{{{country8|}}}}}<!--
-->{{#if:{{{country9|}}}|<br />{{{country9|}}}}}<!--
-->{{#if:{{{country10|}}}|<br />{{{country10|}}}}}<!--
-->{{#if:{{{country11|}}}|<br />{{{country11|}}}}}<!--
-->{{#if:{{{country12|}}}|<br />{{{country12|}}}}}<!--
-->{{#if:{{{country13|}}}|<br />{{{country13|}}}}}<!--
-->{{#if:{{{country14|}}}|<br />{{{country14|}}}}}<!--
-->{{#if:{{{country15|}}}|<br />{{{country15|}}}}}
 
| label3 = Kota
| data3 = {{{city|}}}
| class3 = location
 
| label4 = Jadwal<br />penyelenggaraan
| data4 = {{{dates|}}}
 
| label5 = Jumlah<br />tim peserta
| data5 = {{{num_teams|}}}{{#if: {{{confederations|}}}|&nbsp;(dari {{{confederations}}} konfederasi)}}{{#if: {{{sub-confederations|}}}|&nbsp;(dari {{{sub-confederations}}} sub-konfederasi)}}{{#if: {{{associations|}}}|&nbsp;(dari {{{associations}}} asosiasi)}}
 
| label6 = Tempat<br />penyelenggaraan
| data6 = {{{venues|}}}{{#if:{{{cities|}}}|&nbsp;(di {{{cities}}} kota)}}
 
| header7 = {{#if:{{{champion|}}}{{{champion_other|}}}|Hasil turnamen}}
 
| label8 = {{#if:{{{American|}}}|Juara|Juara}}
| data8 = {{#if:{{{champion|}}}|{{fb|{{{champion|}}}|{{{champion-flagvar|}}}|name={{{champion-name|}}}}}{{#if: {{{count|}}}|{{nowrap| (gelar {{ordinal|{{{count}}}}})}} }}{{#if:{{{champion-note|}}}|{{{champion-note}}}}} }}
 
| label9 = {{#if:{{{American|}}}|Juara|Juara}}
| data9 = {{#if:{{{champion_other|}}}|{{{champion_other}}}{{#if: {{{count|}}}|{{nowrap| (gelar {{ordinal|{{{count}}}}})}} }} }}
 
| label10 = Tempat kedua
| data10 = {{#if:{{{second|}}}|{{fb|{{{second|}}}|{{{second-flagvar|}}}|name={{{second-name|}}}}}{{#if:{{{second-note|}}}|{{{second-note}}}}} }}
 
| label11 = Tempat kedua
| data11 = {{#if:{{{second_other|}}}|{{{second_other|}}} }}
 
| label12 = Tempat ketiga
| data12 = {{#if:{{{third|}}}|{{fb|{{{third|}}}|{{{third-flagvar|}}}|name={{{third-name|}}}}}{{#if:{{{third-note|}}}|{{{third-note}}}}} }}
 
| label13 = Tempat ketiga
| data13 = {{#if:{{{third_other|}}}|{{{third_other|}}} }}
 
| label14 = Tempat keempat
| data14 = {{#if:{{{fourth|}}}|{{fb|{{{fourth|}}}|{{{fourth-flagvar|}}}|name={{{fourth-name|}}}}}{{#if:{{{fourth-note|}}}|{{{fourth-note}}}}} }}
 
| label15 = Tempat keempat
| data15 = {{#if:{{{fourth_other|}}}|{{{fourth_other|}}} }}
 
| label16 = Promosi
| data16 = {{#if:{{{promoted|}}}|{{{promoted|}}} }}
 
| label17 = Degradasi
| data17 = {{#if:{{{relegated|}}}|{{{relegated|}}} }}
 
| header18 = {{#if:{{{matches|}}}{{{goals|}}}{{{attendance|}}}{{{top_scorer|}}}{{{player|}}}|Statistik turnamen}}
 
| label19 = Jumlah<br />pertandingan
| data19 = {{#if:{{{matches|}}}|{{formatnum:{{{matches}}}}}{{{matches_footnote|}}}}}
 
| label20 = Jumlah gol
| data20 = {{#if:{{{goals|}}}|{{formatnum:{{{goals}}}}}{{#if:{{{matches|}}}|&nbsp;({{formatnum:{{#expr: {{{goals|0}}} / {{{matches|1}}} round 2}}}} per pertandingan)}}{{{goals_footnote|}}}}}
 
| label21 = Jumlah<br />penonton
| data21 = {{#if:{{{attendance|}}}|{{formatnum: {{{attendance|0}}}}}{{#if:{{{matches|}}}|&nbsp;({{formatnum: {{#expr: {{{attendance|0}}} / {{{matches|1}}} round 0}}}} per pertandingan) }} }}
 
| label22 = Pemain terbaik
| data22 = {{{player|}}}
| class22 = attendee
 
| label23 = Pencetak gol<br />terbanyak
| data23 = {{{top_scorer|}}}
| class23 = attendee
 
| label24 = Pemain muda terbaik
| data24 = {{{young_player|}}}
| class24 = attendee
 
| label25 = Penjaga gawang terbaik
| data25 = {{{goalkeeper|}}}
| class25 = attendee
 
| label26 = Penghargaan<br />''fair play''
| data26 = {{{fair_play|}}}
| class26 = attendee
 
| belowclass = noprint
| below = {{#if:{{{prevseason|}}}|{{align|left|&larr; {{{prevseason|}}} }}}}{{#if:{{{nextseason|}}}|{{align|right|{{{nextseason|}}} &rarr; }}}}
{{#if:{{{updated|}}}|{{clear}}Seluruh statistik akurat per {{{updated}}}.}}{{#if:{{{extra information|}}}|{{clear}}{{{extra information}}}}}
 
| decat = {{#if:{{{prevseason|}}}{{{nextseason|}}}|yes|no}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Kategori:Halaman menggunakan kotak info kompetisi sepak bola internasional dengan parameter yang tidak diketahui|_VALUE_{{PAGENAME}}]]}}||preview=Halaman menggunakan [[Templat:Kotak info kompetisi sepak bola internasional]] dengan parameter yang tidak diketahui "_VALUE_"|ignoreblank=y| alt | American | associations | attendance | caption | champion | champion_other | champion-flagvar | champion-name | champion-note | cities | city | confederations | count | country | country10 | country11 | country12 | country13 | country14 | country15 | country2 | country3 | country4 | country5 | country6 | country7 | country8 | country9 | dates | extra information | fair_play | fourth | fourth_other | fourth-flagvar | fourth-name | fourth-note | goalkeeper | goals | goals_footnote | image | image_size | matches | matches_footnote | nextseason | num_teams | other_titles | player | prevseason | promoted | relegated | second | second_other | second-flagvar | second-name | second-note | size | sub-confederations | third | third_other | third-flagvar | third-name | third-note | top_scorer | tourney_name | updated | venues | year | yearr | young_player }}<noinclude>
{{documentation}}
</noinclude>