Misplaced Pages

Template:Infobox national football team: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 23:29, 22 December 2015 view sourceSygmoral (talk | contribs)Extended confirmed users, Rollbackers1,986 edits Biggest win/defeat is removed from this infobox due to low relevancy, but please do move them to the main article (e.g. under a Records section). See WP:FOOTY Talk← Previous edit Latest revision as of 21:45, 28 October 2024 view source Pedian4169 (talk | contribs)406 edits Fixed small bugTags: Mobile edit Mobile web edit 
(46 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{Main other|{{short description|none|noreplace}}}}
{{infobox {{infobox
| templatestyles = Infobox/mobileviewfix.css
| title = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
| above = {{#if:{{{date|}}}|to {{{date}}}}} | title = {{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|sizedefault=200x150px|title=Shirt badge/Association crest}} | above = {{#if:{{{date|}}}|{{{date}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|upright={{{Upright|}}}|title=Shirt badge/Association crest}}


| label1 = ] | label1 = ]
Line 8: Line 10:
| label2 = Association | label2 = Association
| data2 = {{{Association|}}} | data2 = {{{Association|}}}
| label3 = {{nowrap|Sub-confederation}} | label3 = Other affiliation
| data3 = {{{Sub-confederation|}}} | data3 = {{{Other-affiliation|}}}
| label4 = Other affiliation | label4 = Confederation
| data4 = {{{Other-affiliation|}}} | data4 = {{{Confederation|}}}
| label5 = Confederation | label5 = {{nowrap|Sub-confederation}}
| data5 = {{{Confederation|}}} | data5 = {{{Sub-confederation|}}}
| label6 = Head coach | label6 = Head coach
| data6 = {{{Coach|}}} | data6 = {{{Coach|}}}
| label7 = ] | label7 = ]
| data7 = {{{Captain|}}} | data7 = {{{Captain|}}}
| label8 = Most ] | label8 = Most ]
| data8 = {{{Most caps|}}} | data8 = {{{Most caps|}}}
| label9 = Top scorer | label9 = Top scorer
Line 31: Line 33:


| 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|}}}| | 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|}}}|
<tr><td class="toccolours" style="padding: 0; background: #ffffff; text-align: center;" colspan="2"> <tr><td style="padding: 0; background: #ffffff; text-align: center; border: 1px solid #D3D3D3;" colspan="2">
<table style="width:100%; text-align:center;"> <table style="width:100%; text-align:center;">
<tr> <tr>
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}}| {{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}}|
<td>{{Football kit <td style="padding: 0">{{Football kit
| filetype = {{{filetype1|{{{filetype|png}}}}}} | filetype = {{{filetype1|{{{filetype|png}}}}}}
| pattern_la = {{{pattern_la1|}}} | pattern_la = {{{pattern_la1|}}}
Line 50: Line 52:
}}</td> }}</td>
}}{{#if:{{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}| }}{{#if:{{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|
<td>{{Football kit <td style="padding: 0">{{Football kit
| filetype = {{{filetype2|{{{filetype|png}}}}}} | filetype = {{{filetype2|{{{filetype|png}}}}}}
| pattern_la = {{{pattern_la2|}}} | pattern_la = {{{pattern_la2|}}}
Line 65: Line 67:
}}</td> }}</td>
}}{{#if:{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}| }}{{#if:{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
<td>{{Football kit <td style="padding: 0">{{Football kit
| filetype = {{{filetype3|{{{filetype|png}}}}}} | filetype = {{{filetype3|{{{filetype|png}}}}}}
| pattern_la = {{{pattern_la3|}}} | pattern_la = {{{pattern_la3|}}}
Line 82: Line 84:
</table></td></tr>}} </table></td></tr>}}


| header14 = {{#if:{{{FIFA Rank|}}}{{{FIFA max|}}}{{{FIFA min|}}}|]}} | header14 = {{#if:{{{FIFA Rank|}}}{{{FIFA max|}}}{{{FIFA min|}}}|]}}
| label15 = Current | label15 = Current
| data15 = {{{FIFA Rank|}}} | data15 = {{{FIFA Rank|}}}
| label16 = Highest | 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>}}}} | data16 = {{#if:{{{FIFA max|}}}|{{{FIFA max}}} {{#if:{{{FIFA max date|}}}|({{{FIFA max date}}})}} {{#if:{{{FIFA max year|}}}|({{{FIFA max year}}})}}}}
| label17 = Lowest | 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>}}}} | data17 = {{#if:{{{FIFA min|}}}|{{{FIFA min}}} {{#if:{{{FIFA min date|}}}|({{{FIFA min date}}})}} {{#if:{{{FIFA min year|}}}|({{{FIFA min year}}})}}}}
| 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|}}}|]}}
| header18 = {{#if:{{{First game|}}}|First international}}
| data19 = {{{First game|}}} | label31 = Appearances
| data31 = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|(''first in ]'')}}
| label32 = Best result
| data32 = {{{World cup best|}}}


| header20 = {{#if:{{{World cup apps|}}}|]}} | header33 = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}}
| label21 = Appearances | label34 = Appearances
| data21 = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|(''First in ]'')}} | data34 = {{{Regional cup apps|}}} {{#if:{{{Regional cup first|}}}|(''first in {{{Regional cup first}}}'')}}
| label22 = Best result | label35 = Best result
| data22 = {{{World cup best|}}} | data35 = {{{Regional cup best|}}}


| header23 = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}} | header36 = {{#if: {{{2ndRegional cup apps|}}}|{{{2ndRegional name}}}}}
| label24 = Appearances | label37 = Appearances
| data24 = {{{Regional cup apps|}}} {{#if:{{{Regional cup first|}}}|(''First in {{{Regional cup first}}}'')}} | data37 = {{{2ndRegional cup apps|}}} {{#if:{{{2ndRegional cup first|}}}|(''first in {{{2ndRegional cup first}}}'')}}
| label25 = Best result | label38 = Best result
| data25 = {{{Regional cup best|}}} | data38 = {{{2ndRegional cup best|}}}


| header26 = {{#if: {{{2ndRegional cup apps|}}}|{{{2ndRegional name}}}}} | header39 = {{#if: {{{3rdRegional cup apps|}}}|{{{3rdRegional name}}}}}
| label27 = Appearances | label40 = Appearances
| data27 = {{{2ndRegional cup apps|}}} {{#if:{{{2ndRegional cup first|}}}|(''First in {{{2ndRegional cup first}}}'')}} | data40 = {{{3rdRegional cup apps|}}} {{#if:{{{3rdRegional cup first|}}}|(''first in {{{3rdRegional cup first}}}'')}}
| label28 = Best result | label41 = Best result
| data28 = {{{2ndRegional cup best|}}} | data41 = {{{3rdRegional cup best|}}}


| header29 = {{#if: {{{3rdRegional cup apps|}}}|{{{3rdRegional name}}}}} | header42 = {{#if: {{{4thRegional cup apps|}}}|{{{4thRegional name}}}}}
| label30 = Appearances | label43 = Appearances
| data30 = {{{3rdRegional cup apps|}}} {{#if:{{{3rdRegional cup first|}}}|(''First in {{{3rdRegional cup first}}}'')}} | data43 = {{{4thRegional cup apps|}}} {{#if:{{{4thRegional cup first|}}}|(''first in {{{4thRegional cup first}}}'')}}
| label31 = Best result | label44 = Best result
| data31 = {{{3rdRegional cup best|}}} | data44 = {{{4thRegional cup best|}}}


| header32 = {{#if: {{{Confederations cup apps|}}}|]}} | header45 = {{#if: {{{Confederations cup apps|}}}|]}}
| label33 = Appearances | label46 = Appearances
| data33 = {{{Confederations cup apps|}}} {{#if:{{{Confederations cup first|}}}|(''First in {{{Confederations cup first}}}'')}} | data46 = {{{Confederations cup apps|}}} {{#if:{{{Confederations cup first|}}}|(''first in {{{Confederations cup first}}}'')}}
| label34 = Best result | label47 = Best result
| data34 = {{{Confederations cup best|}}} | data47 = {{{Confederations cup best|}}}


| header35 = {{#if: {{{UEFAu21Champ apps|}}}|]}} | header48 = {{#if: {{{UEFAu21Champ apps|}}}|]}}
| label36 = Appearances | label49 = Appearances
| data36 = {{{UEFAu21Champ apps|}}} {{#if:{{{UEFAu21Champ first|}}}|(''First in {{{UEFAu21Champ first}}}'')}} | data49 = {{{UEFAu21Champ apps|}}} {{#if:{{{UEFAu21Champ first|}}}|(''first in {{{UEFAu21Champ first}}}'')}}
| label37 = Best result | label50 = Best result
| data37 = {{{UEFAu21Champ best|}}} | data50 = {{{UEFAu21Champ best|}}}


| header38 = {{#if: {{{U20WC apps|}}}|]}} | header51 = {{#if: {{{U20WC apps|}}}|]}}
| label39 = Appearances | label52 = Appearances
| data39 = {{{U20WC apps|}}} {{#if:{{{U20WC first|}}}|(''First in {{{U20WC first}}}'')}} | data52 = {{{U20WC apps|}}} {{#if:{{{U20WC first|}}}|(''first in {{{U20WC first}}}'')}}
| label40 = Best result | label53 = Best result
| data40 = {{{U20WC best|}}} | data53 = {{{U20WC best|}}}


| header41 = {{#if: {{{U17WC apps|}}}|]}} | header54 = {{#if: {{{U17WC apps|}}}|]}}
| label42 = Appearances | label55 = Appearances
| data42 = {{{U17WC apps|}}} {{#if:{{{U17WC first|}}}|(''First in {{{U17WC first}}}'')}} | data55 = {{{U17WC apps|}}} {{#if:{{{U17WC first|}}}|(''first in {{{U17WC first}}}'')}}
| label43 = Best result | label56 = Best result
| data43 = {{{U17WC best|}}} | data56 = {{{U17WC best|}}}


| header44 = {{Infobox medal templates |medals={{{medaltemplates|}}} |expand={{{medaltemplates-expand|}}} }} | header57 = {{Infobox medal templates
|medals = {{{medaltemplates|}}}
|expand = {{{medaltemplates-expand|}}}
}}


| label45 = Website | label58 = Website
| data45 = {{{website|}}} | data58 = {{{website|}}}


| belowclass = noprint | belowclass = noprint
| below = {{#if:{{{Current|}}}|] '']''}} | below = {{#if:{{{Current|}}}|] '']''}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|]}}|preview=Page using ] 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 | 4thRegional cup apps | 4thRegional cup best | 4thRegional cup first | 4thRegional 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 | Upright |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>
}}<includeonly>{{#ifeq:{{{kit|}}}|image|]}}</includeonly><noinclude>{{documentation}}<!-- please place categories and language links on the documentation page, not here! --></noinclude>

Latest revision as of 21:45, 28 October 2024

Template documentation[view] [edit] [history] [purge]
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article.
This template uses Lua:

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

Usage

{{Infobox national football team
| Name                     = 
| Nickname                 = 
| Badge                    = 
| Badge_size               = 
| Upright                  = 
| 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_name1            =
| pattern_la2              = 
| pattern_b2               = 
| pattern_ra2              = 
| leftarm2                 = 
| body2                    = 
| rightarm2                = 
| shorts2                  = 
| socks2                   = 
| pattern_name2            =
| pattern_la3              = 
| pattern_b3               = 
| pattern_ra3              = 
| leftarm3                 = 
| body3                    = 
| rightarm3                = 
| shorts3                  = 
| socks3                   = 
| pattern_name3            =
| 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      = 
| FIFA Arab cup apps       = 
| FIFA Arab cup first      = 
| FIFA Arab 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
First colours Second colours
FIFA ranking
Current14
Highest13 (October 2007)
Lowest88 (March 2005)
First international
Scotland Scotland 0–0 England 
(Partick, Scotland; 30 November 1872)
World Cup
Appearances8 (first in 1954)
Best result9th, 1974
European Championship
Appearances2 (first in 1992)
Best resultLast 8, 1992
{{infobox national football team
| Name               = Scotland
| Badge              = Soccerball.svg
| Badge_size         = 91px
| FIFA Trigramme     = SCO
| Nickname           =
| Association        = ]
| Confederation      = ] (Europe)
| Coach              = ''Vacant''
| Captain            = ]
| Most caps          = ] (102)
| Top scorer         = {{plainlist|
*] (30)
*] (30)}}
| Home Stadium       = ]
| 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         = {{flag icon|Scotland}} '''Scotland''' 0–0 {{fb-rt|England}}<br />(], Scotland; 30 November 1872)
| World cup apps     = 8
| World cup first    = 1954
| World cup best     = ]
| Regional name      = ]
| Regional cup apps  = 2
| Regional cup first = ]
| Regional cup best  = Last 8, ]
| Website                  =
}}

Microformat

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Misplaced Pages, please visit the Microformat WikiProject.
Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.

Tracking category

See also

The above documentation is transcluded from Template:Infobox national football team/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: