Templat:Infobox football country season/doc

Daripada Wikipedia, ensiklopedia bebas.

Kotak infobox (maklumat) ini boleh digunakan dalam artikel tentang bola sepak yang dimainkan di negara tertentu pada musim tertentu, e.g. 2016–17 dalam bola sepak Inggeris

Penggunaan[sunting sumber]

{{Infobox football country season
| country      = <!-- Country in which the season is taking place, e.g. "England" -->
| soccer       = <!-- "yes" or "no" -->
| season       = <!-- Year(s) during which the season is taking place, e.g. "2017" or "2016–17" -->

<!-- MEN'S FOOTBALL -->
| division1    = <!-- Name of the country's first division for the season -->
| champions1   = <!-- Champions of the country's first division for the season -->
| division2    = <!-- Name of the country's second division for the season -->
| champions2   = <!-- Champions of the country's second division for the season -->
| division3    = <!-- Name of the country's third division for the season -->
| champions3   = <!-- Champions of the country's third division for the season -->
| division4    = <!-- Name of the country's fourth division for the season -->
| champions4   = <!-- Champions of the country's fourth division for the season -->
| division5    = <!-- Name of the country's fifth division for the season -->
| champions5   = <!-- Champions of the country's fifth division for the season -->
| division6    = <!-- Name of the country's fifth division for the season -->
| champions6   = <!-- Champions of the country's fifth division for the season -->
| division7    = <!-- Name of the country's fifth division for the season -->
| champions7   = <!-- Champions of the country's fifth division for the season -->
| domestic     = <!-- Name of the country's domestic cup for the season -->
| dchampions   = <!-- Champions of the country's domestic cup for the season --> 
| domestic2    = <!-- Name of the country's second domestic cup for the season -->
| dchampions2  = <!-- Champions of the country's second domestic cup for the season --> 
| leaguecup    = <!-- Name of the country's league cup for the season -->
| lchampions   = <!-- Champions of the country's league cup for the season --> 
| supercup     = <!-- Name of the country's super cup for the season -->
| schampions   = <!-- Champions of the country's super cup for the season --> 

<!-- WOMEN'S FOOTBALL -->
| wdivision1   = <!-- Name of the country's first division for the season -->
| wchampions1  = <!-- Champions of the country's first division for the season -->
| wdivision2   = <!-- Name of the country's second division for the season -->
| wchampions2  = <!-- Champions of the country's second division for the season -->
| wdivision3   = <!-- Name of the country's third division for the season -->
| wchampions3  = <!-- Champions of the country's third division for the season -->
| wdomestic    = <!-- Name of the country's domestic cup for the season -->
| wdchampions  = <!-- Champions of the country's domestic cup for the season --> 
| wleaguecup   = <!-- Name of the country's league cup for the season -->
| wlchampions  = <!-- Champions of the country's league cup for the season --> 
| wsupercup    = <!-- Name of the country's super cup for the season -->
| wschampions  = <!-- Champions of the country's super cup for the season -->

| prevseason   = <!-- Year(s) during which the previous season took place, e.g. "2011" or "2010–11" -->
| nextseason   = <!-- Year(s) during which the next season will take place, e.g. "2013" or "2012–13" -->
| flagicon     = <!-- "yes" or "no" -->
}}

Sintaks kosong[sunting sumber]

{{Infobox football country season
| country      = 
| soccer       = 
| season       = 

| division1    = 
| champions1   = 
| division2    = 
| champions2   = 
| division3    = 
| champions3   = 
| division4    = 
| champions4   = 
| division5    = 
| champions5   = 
| division6    = 
| champions6   = 
| division7    = 
| champions7   = 
| domestic     = 
| dchampions   = 
| domestic2    = 
| dchampions2  = 
| leaguecup    = 
| lchampions   = 
| supercup     = 
| schampions   = 

| wdivision1   = 
| wchampions1  = 
| wdivision2   = 
| wchampions2  = 
| wdivision3   = 
| wchampions3  = 
| wdomestic    = 
| wdchampions  = 
| wleaguecup   = 
| wlchampions  = 
| wsupercup    = 
| wschampions  = 

| prevseason   = 
| nextseason   = 
| flagicon     = 
}}

Parameters[sunting sumber]

Semua parameter adalah pilihan. Parameter julat {{{division}}} dan {{{champion}}} dari 1 hingga 5 (parameter wanita berjulat dari 1 hingga 3), tetapi hanya {{{(w)division1}}} dan {{{(w)champion1}}} digunakan dalam contoh di bawah.

Parameter Description Wikilinked Example input Result
{{{country}}} Name of the country concerned. Ya England Football in England
Some countries may need "the" to accompany them. Ya the Czech Republic Football in the Czech Republic
{{{soccer}}} Changes "football" to "soccer" for countries such as the United States. Ya yes Soccer in the United States
{{{season}}} The current season in the series. 2016–17 2016–17
Men's football
{{{division1}}} Name of the country's first division for the season. Tidak [[Premier League]] Premier League
{{{champions1}}} Champions of the country's first division for the season. Tidak [[Chelsea F.C.|Chelsea]] Chelsea
{{{domestic}}} Name of the country's domestic cup for the season. Tidak [[FA Cup]] FA Cup
{{{dchampions}}} Champions of the country's domestic cup for the season. Tidak [[Arsenal F.C.|Arsenal]] Arsenal
{{{leaguecup}}} Name of the country's league cup for the season. Tidak [[EFL Cup]] EFL Cup
{{{lchampions}}} Champions of the country's league cup for the season. Tidak [[Manchester United F.C.|Manchester United]] Manchester United
{{{supercup}}} Name of the country's super cup for the season. Tidak [[FA Community Shield]] FA Community Shield
{{{schampions}}} Champions of the country's super cup for the season. Tidak [[Manchester United F.C.|Manchester United]] Manchester United
Women's football
{{{wdivision1}}} Name of the country's first division for the season. Tidak [[FA WSL 1]] FA WSL 1
{{{wchampions1}}} Champions of the country's first division for the season. Tidak [[Manchester City W.F.C.|Manchester City]] Manchester City
{{{wdomestic}}} Name of the country's domestic cup for the season. Tidak [[FA Women's Cup]] FA Women's Cup
{{{wdchampions}}} Champions of the country's domestic cup for the season. Tidak [[Manchester City W.F.C.|Manchester City]] Manchester City
{{{wleaguecup}}} Name of the country's league cup for the season. Tidak [[FA WSL Cup]] FA WSL Cup
{{{wlchampions}}} Champions of the country's league cup for the season. Tidak [[Manchester City W.F.C.|Manchester City]] Manchester City
Below
{{{prevseason}}} The previous season in the series. Ya 2015–16 2015–16
{{{nextseason}}} The next season in the series. Ya 2017–18 2017–18
{{{flagicon}}} Displays the flagicon of the given country. yes England

Contoh[sunting sumber]

Contoh 1[sunting sumber]

Input:

{{Infobox football country season
| country     = England
| season      = 2016–17

| division1   = [[2016–17 Premier League|Premier League]]
| champions1  = [[Chelsea F.C.|Chelsea]]
| division2   = [[2016–17 EFL Championship|Championship]]
| champions2  = [[Newcastle United FC|Newcastle United]]
| division3   = [[2016–17 Football League One|League One]]
| champions3  = [[Sheffield United F.C.|Sheffield United]]
| division4   = [[2016–17 Football League Two|League Two]]
| champions4  = [[Portsmouth F.C.|Portsmouth]]
| division5   = [[2016–17 National League|National League]]
| champions5  = [[Lincoln City F.C.|Lincoln City]]
| domestic    = [[2016–17 FA Cup|FA Cup]]
| dchampions  = [[Arsenal F.C.|Arsenal]]
| domestic2   = [[2016–17 EFL Trophy|EFL Trophy]]
| dchampions2 = [[Coventry City F.C.|Coventry City]]
| leaguecup   = [[2016–17 EFL Cup|EFL Cup]]
| lchampions  = [[Manchester United F.C.|Manchester United]]
| supercup    = [[2016 FA Community Shield|Community Shield]]
| schampions  = [[Manchester United F.C.|Manchester United]]

| wdivision1  = [[2016 FA WSL#WSL 1|WSL 1]]
| wchampions1 = [[Manchester City W.F.C.|Manchester City]]
| wdivision2  = [[2016 FA WSL#WSL 2|WSL 2]]
| wchampions2 = [[Yeovil Town L.F.C.|Yeovil Town]]
| wdomestic   = [[2016–17 FA Women's Cup|FA Women's Cup]]
| wdchampions = [[Manchester City W.F.C.|Manchester City]]
| wleaguecup  = [[2016 FA WSL#WSL Cup|WSL Cup]]
| wlchampions = [[Manchester City W.F.C.|Manchester City]]

| prevseason  = 2015–16
| nextseason  = 2017–18
| flagicon    = yes
}}

menghasilkan

Bola sepak di England
Musim2016–17
Bola sepak lelaki
Premier LeagueChelsea
ChampionshipNewcastle United
League OneSheffield United
League TwoPortsmouth
National LeagueLincoln City
FA CupArsenal
EFL TrophyCoventry City
EFL CupManchester United
Community ShieldManchester United
Bola sepak wanita
WSL 1Manchester City
WSL 2Yeovil Town
FA Women's CupManchester City
WSL CupManchester City
England
← 2015–16
2017–18 →

Contoh 2[sunting sumber]

Input:

{{Infobox football country season
| country                    = the United States
| soccer                     = yes
| season                     = 2012
| division1                  = [[2012 Major League Soccer season|Supporters' Shield]]
| champions1                 = [[San Jose Earthquakes]]
| division2                  = [[2012 North American Soccer League season|NASL]]
| champions2                 = [[San Antonio Scorpions FC|San Antonio Scorpions]]
| division3                  = [[2012 USL Pro season|USL Pro]]
| champions3                 = [[Charleston Battery]]
| domestic                   = [[2012 Lamar Hunt U.S. Open Cup|US Open Cup]]
| dchampions                 = [[Sporting Kansas City]]
| leaguecup                  = [[MLS Cup 2012|MLS Cup]]
| lchampions                 = [[Los Angeles Galaxy]]
| prevseason                 = 2011
| nextseason                 = 2013
| flagicon                   = yes
}}

menghasilkan

Soccer di the United States
Musim2012
Bola sepak soccer
Supporters' ShieldSan Jose Earthquakes
NASLSan Antonio Scorpions
USL ProCharleston Battery
US Open CupSporting Kansas City
MLS CupLos Angeles Galaxy
Templat:Country data the United States
← 2011
2013 →

Lihat juga[sunting sumber]