Difference between revisions of "Template:Infobox national football team"

From blackwiki
Jump to navigation Jump to search
imported>Bzweebl
(remove elo per consensus at WT:Football)
 
(280 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{| class="infobox"
+
{{infobox
|+ style="font-size: larger; margin-left: 1em;"|'''{{{Name}}}'''
+
| title      = {{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|-
+
| above      = {{#if:{{{date|}}}|{{{date}}}}}
|style="text-align:center;" colspan="2"|
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|sizedefault=200x150px|title=Shirt badge/Association crest}}
<div class="toccolours" style="background:#FFFFFF; width:100px; margin:0 auto;">[[Image:{{{Badge}}}|100px|Shirt badge/Association crest]]</div>
+
 
|- style="vertical-align:top;"
+
| label1    = [[List of national association football teams by nickname|Nickname(s)]]
|'''Nickname'''||''{{{Nickname}}}''
+
| data1      = {{{Nickname|}}}
|- style="vertical-align:top;"
+
| label2    = Association
|'''Association'''||{{{Association}}}
+
| data2      = {{{Association|}}}
|- style="vertical-align:top;"
+
| label3    = Other affiliation
|'''Coach'''||{{{Coach}}}
+
| data3      = {{{Other-affiliation|}}}
|- style="vertical-align:top;"
+
| label4    = Confederation
|'''Most caps'''||{{{Most caps}}}
+
| data4      = {{{Confederation|}}}
|- style="vertical-align:top;"
+
| label5    = {{nowrap|Sub-confederation}}
|'''Top scorer'''||{{{Top scorer}}}
+
| data5      = {{{Sub-confederation|}}}
|- style="text-align:center;"
+
| label6    = Head coach
|class="toccolours" style="background: #FFFFFF;" colspan="2"|
+
| data6      = {{{Coach|}}}
{| style="width:100%; text-align:center;"
+
| label7    = [[Captain (association football)|Captain]]
|{{Football kit |
+
| data7      = {{{Captain|}}}
  pattern_la = <includeonly>{{{pattern_la1}}}</includeonly> |
+
| label8    = Most [[Cap (sport)#Association football|caps]]
  pattern_b  = <includeonly>{{{pattern_b1}}}</includeonly> |
+
| data8      = {{{Most caps|}}}
  pattern_ra = <includeonly>{{{pattern_ra1}}}</includeonly> |
+
| label9    = Top scorer
  leftarm    = <includeonly>{{{leftarm1}}}</includeonly> |
+
| data9      = {{{Top scorer|}}}
  body      = <includeonly>{{{body1}}}</includeonly> |
+
| label10    = Home stadium
  rightarm  = <includeonly>{{{rightarm1}}}</includeonly> |
+
| data10    = {{{Home Stadium|}}}
  shorts     = <includeonly>{{{shorts1}}}</includeonly> |
+
| label11    = [[List of FIFA country codes|FIFA code]]
  socks      = <includeonly>{{{socks1}}}</includeonly> |
+
| data11    = {{{FIFA Trigramme|}}}
  title      = Home colours
+
 
}}
+
| label12    = [[BSWW Beach Soccer rankings|BSWW ranking]]
|{{Football kit |
+
| data12     = {{{BSWW Rank|}}}
  pattern_la = <includeonly>{{{pattern_la2}}}</includeonly> |
+
 
  pattern_b  = <includeonly>{{{pattern_b2}}}</includeonly> |
+
| data13    = {{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}} {{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
  pattern_ra = <includeonly>{{{pattern_ra2}}}</includeonly> |
+
<tr><td class="toccolours" style="padding: 0; background: #ffffff; text-align: center;" colspan="2">
  leftarm    = <includeonly>{{{leftarm2}}}</includeonly> |
+
<table style="width:100%; text-align:center;">
  body      = <includeonly>{{{body2}}}</includeonly> |
+
<tr>
  rightarm  = <includeonly>{{{rightarm2}}}</includeonly> |
+
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}}|
  shorts    = <includeonly>{{{shorts2}}}</includeonly> |
+
<td>{{Football kit
  socks      = <includeonly>{{{socks2}}}</includeonly> |
+
| filetype = {{{filetype1|{{{filetype|png}}}}}}
  title      = Away colours
+
| pattern_la = {{{pattern_la1|}}}
}}
+
| pattern_b  = {{{pattern_b1|_unknown}}}
|}
+
| pattern_ra = {{{pattern_ra1|}}}
|- style="text-align:center;"
+
| pattern_sh = {{{pattern_sh1|}}}
|colspan="2"|'''First International'''<br />{{{First game}}}
+
| pattern_so = {{{pattern_so1|}}}
|- style="text-align:center;"
+
| leftarm    = {{{leftarm1|}}}
|colspan="2"|'''Largest win'''<br />{{{Largest win}}}
+
| body      = {{{body1|}}}
|- style="text-align:center;"
+
| rightarm  = {{{rightarm1|}}}
|colspan="2"|'''Worst defeat'''<br />{{{Largest loss}}}
+
| shorts    = {{{shorts1|}}}
|- style="text-align:center;"
+
| socks      = {{{socks1|}}}
|colspan="2"|'''[[Football World Cup|World Cup]]'''
+
| title      = {{{pattern_name1|First}}} [[Kit (association football)|{{#if:{{{American|}}}|colors|colours}}]]
|- style="vertical-align:top;"
+
}}</td>
|style="padding-right:1em;"|'''Appearances'''
+
}}{{#if:{{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|
|{{{World cup apps}}} (''First in <includeonly>[[Football World Cup {{{World cup first}}}|{{{World cup first}}}]]</includeonly><noinclude>{{{World cup first}}}</noinclude>'')
+
<td>{{Football kit
|- style="vertical-align:top;"
+
| filetype = {{{filetype2|{{{filetype|png}}}}}}
|'''Best result'''||{{{World cup best}}}
+
| pattern_la = {{{pattern_la2|}}}
|- style="text-align:center;"
+
| pattern_b  = {{{pattern_b2|_unknown}}}
|colspan="2"|'''{{{Regional name}}}'''
+
| pattern_ra = {{{pattern_ra2|}}}
|- style="vertical-align:top;"
+
| pattern_sh = {{{pattern_sh2|}}}
|style="padding-right:1em;"|'''Appearances'''
+
| pattern_so = {{{pattern_so2|}}}
|{{{Regional cup apps}}} (''First in {{{Regional cup first}}}'')
+
| leftarm    = {{{leftarm2|}}}
|- style="vertical-align:top;"
+
| body      = {{{body2|}}}
|'''Best result'''||{{{Regional cup best}}}
+
| rightarm  = {{{rightarm2|}}}
|-
+
| shorts    = {{{shorts2|}}}
| colspan="2" style="text-align:right; font-size:smaller;" | {{edit|Template:National football team}}
+
| socks      = {{{socks2|}}}
|}
+
| title      = {{{pattern_name2|Second}}} [[Kit (association football)|{{#if:{{{American|}}}|colors|colours}}]]
 +
}}</td>
 +
}}{{#if:{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
 +
<td>{{Football kit
 +
| filetype = {{{filetype3|{{{filetype|png}}}}}}
 +
| pattern_la = {{{pattern_la3|}}}
 +
| pattern_b  = {{{pattern_b3|_unknown}}}
 +
| pattern_ra = {{{pattern_ra3|}}}
 +
| pattern_sh = {{{pattern_sh3|}}}
 +
| pattern_so = {{{pattern_so3|}}}
 +
| leftarm    = {{{leftarm3|}}}
 +
| body      = {{{body3|}}}
 +
| rightarm  = {{{rightarm3|}}}
 +
| shorts    = {{{shorts3|}}}
 +
| socks      = {{{socks3|}}}
 +
| title      = {{{pattern_name3|Third}}} [[Kit (association football)|{{#if:{{{American|}}}|colors|colours}}]]
 +
}}</td>
 +
}}</tr>
 +
</table></td></tr>}}
 +
 
 +
| header14  = {{#if:{{{FIFA Rank|}}}{{{FIFA max|}}}{{{FIFA min|}}}|[[FIFA {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Rankings|FIFA ranking]]}}
 +
| label15    = Current
 +
| data15    = {{{FIFA Rank|}}}
 +
| label16    = Highest
 +
| data16    = {{#if:{{{FIFA max|}}}|{{{FIFA max}}} {{#if:{{{FIFA max date|}}}|<small>({{{FIFA max date}}})</small>}} {{#if:{{{FIFA max year|}}}|<small>({{{FIFA max year}}})</small>}}}}
 +
| label17    = Lowest
 +
| data17    = {{#if:{{{FIFA min|}}}|{{{FIFA min}}} {{#if:{{{FIFA min date|}}}|<small>({{{FIFA min date}}})</small>}} {{#if:{{{FIFA min year|}}}|<small>({{{FIFA min year}}})</small>}}}}
 +
| header22  = {{#if:{{{First game|}}}|First international}}{{#if:{{{Only game|}}}|Only international}}
 +
| data23    = {{{First game|{{{Only game|}}}}}}
 +
| header24  = {{#if:{{{Last game|}}}|Last international}}
 +
| data25    = {{{Last game|}}}
 +
| header26  = {{#if:{{{Largest win|}}}|Biggest win}}
 +
| data27    = {{{Largest win|}}}
 +
| header28  = {{#if:{{{Largest loss|}}}|Biggest defeat}}
 +
| data29    = {{{Largest loss|}}}
 +
 
 +
| header30  = {{#if:{{{World cup apps|}}}|[[FIFA {{#switch:{{lc:{{{type|{{{Type}}}}}}}}|women=Women's|beach=Beach Soccer|#default=}} World Cup|World Cup]]}}
 +
| label31    = Appearances
 +
| data31    = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|(''first in [[{{{World cup first|}}} FIFA {{#switch:{{lc:{{{type|{{{Type}}}}}}}}|women=Women's|beach=Beach Soccer|#default=}} World Cup|{{{World cup first}}}]]'')}}
 +
| label32    = Best result
 +
| data32    = {{{World cup best|}}}
 +
 
 +
| header33  = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}}
 +
| label34    = Appearances
 +
| data34    = {{{Regional cup apps|}}} {{#if:{{{Regional cup first|}}}|(''first in {{{Regional cup first}}}'')}}
 +
| label35    = Best result
 +
| data35    = {{{Regional cup best|}}}
 +
 
 +
| header36  = {{#if: {{{2ndRegional cup apps|}}}|{{{2ndRegional name}}}}}
 +
| label37    = Appearances
 +
| data37    = {{{2ndRegional cup apps|}}} {{#if:{{{2ndRegional cup first|}}}|(''first in {{{2ndRegional cup first}}}'')}}
 +
| label38    = Best result
 +
| data38    = {{{2ndRegional cup best|}}}
 +
 
 +
| header39  = {{#if: {{{3rdRegional cup apps|}}}|{{{3rdRegional name}}}}}
 +
| label40    = Appearances
 +
| data40    = {{{3rdRegional cup apps|}}} {{#if:{{{3rdRegional cup first|}}}|(''first in {{{3rdRegional cup first}}}'')}}
 +
| label41    = Best result
 +
| data41    = {{{3rdRegional cup best|}}}
 +
 
 +
| header42  = {{#if: {{{4thRegional cup apps|}}}|{{{4thRegional name}}}}}
 +
| label43    = Appearances
 +
| data43    = {{{4thRegional cup apps|}}} {{#if:{{{4thRegional cup first|}}}|(''first in {{{4thRegional cup first}}}'')}}
 +
| label44    = Best result
 +
| data44    = {{{4thRegional cup best|}}}
 +
 
 +
| header45  = {{#if: {{{Confederations cup apps|}}}|[[FIFA Confederations Cup|Confederations Cup]]}}
 +
| label46    = Appearances
 +
| data46    = {{{Confederations cup apps|}}} {{#if:{{{Confederations cup first|}}}|(''first in {{{Confederations cup first}}}'')}}
 +
| label47    = Best result
 +
| data47    = {{{Confederations cup best|}}}
 +
 
 +
| header48  = {{#if: {{{UEFAu21Champ apps|}}}|[[UEFA European Under-21 Championship|UEFA U-21 Championship]]}}
 +
| label49    = Appearances
 +
| data49    = {{{UEFAu21Champ apps|}}} {{#if:{{{UEFAu21Champ first|}}}|(''first in {{{UEFAu21Champ first}}}'')}}
 +
| label50    = Best result
 +
| data50    = {{{UEFAu21Champ best|}}}
 +
 
 +
| header51  = {{#if: {{{U20WC apps|}}}|[[FIFA U-20 {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup]]}}
 +
| label52    = Appearances
 +
| data52    = {{{U20WC apps|}}} {{#if:{{{U20WC first|}}}|(''first in {{{U20WC first}}}'')}}
 +
| label53    = Best result
 +
| data53    = {{{U20WC best|}}}
 +
 
 +
| header54  = {{#if: {{{U17WC apps|}}}|[[FIFA U-17 {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup]]}}
 +
| label55    = Appearances
 +
| data55    = {{{U17WC apps|}}} {{#if:{{{U17WC first|}}}|(''first in {{{U17WC first}}}'')}}
 +
| label56    = Best result
 +
| data56    = {{{U17WC best|}}}
 +
 
 +
| header57    =  {{Infobox medal templates
 +
  |medals = {{{medaltemplates|}}}
 +
  |expand = {{{medaltemplates-expand|}}}
 +
  }}
 +
 
 +
| label58    = Website
 +
| data58    = {{{website|}}}
 +
 
 +
| belowclass = noprint
 +
| below      = {{#if:{{{Current|}}}|[[File:Soccerball current event.svg|33px|link=|alt=]] ''[[{{{Current}}}|Current season]]''}}
 +
 
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox national football team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox national football team]] with unknown parameter "_VALUE_"|ignoreblank=y| 2ndRegional cup apps | 2ndRegional cup best | 2ndRegional cup first | 2ndRegional name | 3rdRegional cup apps | 3rdRegional cup best | 3rdRegional cup first | 3rdRegional name | American | Association | Badge | Badge_size | body1 | body2 | body3 | BSWW Rank | Captain | Coach | Confederation | Confederations cup apps | Confederations cup best | Confederations cup first | Current | date | Elo max | Elo max date | Elo max year | Elo min | Elo min date | Elo min year | Elo Rank | FIFA max | FIFA max date | FIFA max year | FIFA min | FIFA min date | FIFA min year | FIFA Rank | FIFA Trigramme | filetype | filetype1 | filetype2 | filetype3 | First game | Home Stadium | Largest loss | Largest win | Last game | leftarm1 | leftarm2 | leftarm3 | medaltemplates | medaltemplates-expand | Most caps | Name | Nickname | Only game | Other-affiliation | pattern_b1 | pattern_b2 | pattern_b3 | pattern_la1 | pattern_la2 | pattern_la3 | pattern_name1 | pattern_name2 | pattern_name3 | pattern_ra1 | pattern_ra2 | pattern_ra3 | pattern_sh1 | pattern_sh2 | pattern_sh3 | pattern_so1 | pattern_so2 | pattern_so3 | Regional cup apps | Regional cup best | Regional cup first | Regional name | rightarm1 | rightarm2 | rightarm3 | shorts1 | shorts2 | shorts3 | socks1 | socks2 | socks3 | Sub-confederation | Top scorer | Type | type | U17WC apps | U17WC best | U17WC first | U20WC apps | U20WC best | U20WC first | UEFAu21Champ apps | UEFAu21Champ best | UEFAu21Champ first | website | World cup apps | World cup best | World cup first }}<noinclude>{{documentation}}<!-- please place categories and language links on the documentation page, not here! --></noinclude>

Latest revision as of 23:03, 12 December 2020

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This template is for use in men and women's national football team articles.

Usage

{{Infobox national football team
| Name                     = 
| Nickname                 = 
| Badge                    = 
| Badge_size               = 
| Association              = 
| Other-affiliation        = 
| Confederation            = 
| Sub-confederation        = 
| Coach                    = 
| Captain                  = 
| Most caps                = 
| Top scorer               = 
| Home Stadium             = 
| FIFA Trigramme           = 
| pattern_la1              = 
| pattern_b1               = 
| pattern_ra1              = 
| leftarm1                 = 
| body1                    = 
| rightarm1                = 
| shorts1                  = 
| socks1                   = 
| pattern_la2              = 
| pattern_b2               = 
| pattern_ra2              = 
| leftarm2                 = 
| body2                    = 
| rightarm2                = 
| shorts2                  = 
| socks2                   = 
| FIFA Rank                = 
| FIFA max                 = 
| FIFA max date            = Or if you prefer the parameter can also be written: FIFA max year =  
| FIFA min                 = 
| FIFA min date            = Or if you prefer the parameter can also be written: FIFA min year =
| First game               = 
| Largest win              = 
| Largest loss             = 
| FIFA World cup apps      = 
| FIFA World cup first     = 
| FIFA World cup best      = 
| Regional name            = 
| Regional cup apps        = 
| Regional cup first       = 
| Regional cup best        = 
| Confederations cup apps  = 
| Confederations cup first = 
| Confederations cup best  = 
| medaltemplates           = 
| Website                  =
}}

Women's national teams

For women's national teams, add

| type               = women

which will modify several of the links to link to women specific articles.

Beach soccer teams

For beach soccer teams, add

| type               = beach

which will modify several of the links to link to beach specific articles.

Note: the world cup linked to is for men. Women's beach soccer infoboxes currently have no such links, and neither |type=beach nor |type=women affects their content.

Example

Scotland
Shirt badge/Association crest
AssociationScottish Football Association
ConfederationUEFA (Europe)
Head coachVacant
CaptainBarry Ferguson
Most capsKenny Dalglish (102)
Top scorer
Home stadiumHampden Park
FIFA codeSCO
FIFA ranking
Current14
Highest13 (October 2007)
Lowest88 (March 2005)
First international
23x15px Scotland 0–0 England 23x15px
(Partick, Scotland; 30 November 1872)
World Cup
Appearances8 (first in 1954)
Best result9th, 1974
European Championship
Appearances2 (first in 1992)
Best resultLast 8, 1992
[[Category:Infobox templates|Template:Remove first word]]
{{ infobox national football team
| Name               = Scotland
| Badge              = Soccerball.svg
| Badge_size         = 91px
| FIFA Trigramme     = SCO
| Nickname           =
| Association        = [[Scottish Football Association]]
| Confederation      = [[UEFA]] (Europe)
| Coach              = ''Vacant''
| Captain            = [[Barry Ferguson]]
| Most caps          = [[Kenny Dalglish]] (102)
| Top scorer         = {{plainlist|
*[[Kenny Dalglish]] (30)
*[[Denis Law]] (30)}}
| Home Stadium       = [[Hampden Park]]
| pattern_la1        = 
| pattern_b1         = 
| pattern_ra1        = 
| leftarm1           = 1A2D69
| body1              = 1A2D69
| rightarm1          = 1A2D69
| shorts1            = 1A2D69
| socks1             = 1A2D69
| pattern_la2        = _borderonwhite
| pattern_b2         = _scotlanda07
| pattern_ra2        = _borderonwhite
| leftarm2           = A4D3EE
| body2              = FFFFFF
| rightarm2          = A4D3EE
| shorts2            = FFFFFF
| socks2             = FFFFFF
| FIFA Rank          = 14
| FIFA max           = 13
| FIFA max date      = October 2007
| FIFA min           = 88
| FIFA min date      = March 2005
| First game         = {{flagicon|Scotland}} '''Scotland''' 0–0 {{fb-rt|England}}<br />([[Partick]], Scotland; 30 November 1872)
| World cup apps     = 8
| World cup first    = 1954
| World cup best     = [[1974 FIFA World Cup#FIFA Retrospective Ranking|9th, 1974]]
| Regional name      = [[UEFA European Championship|European Championship]]
| Regional cup apps  = 2
| Regional cup first = [[UEFA Euro 1992|1992]]
| Regional cup best  = Last 8, [[UEFA Euro 1992|1992]]
| Website                  =
}}

Microformat

Template:UF-hcard-org

Tracking category

See also