Difference between revisions of "Template:Infobox national football team"
Jump to navigation
Jump to search
Tag: Undo |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
| title = {{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | | title = {{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | ||
| above = {{#if:{{{date|}}}|{{{date}}}}} | | above = {{#if:{{{date|}}}|{{{date}}}}} | ||
− | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|sizedefault=200x150px|title=Shirt badge/Association crest}} | + | | image = <center>{{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|sizedefault=200x150px|title=Shirt badge/Association crest}}</center> |
| label1 = [[List of national association football teams by nickname|Nickname(s)]] | | label1 = [[List of national association football teams by nickname|Nickname(s)]] | ||
Line 14: | Line 14: | ||
| label5 = {{nowrap|Sub-confederation}} | | label5 = {{nowrap|Sub-confederation}} | ||
| data5 = {{{Sub-confederation|}}} | | data5 = {{{Sub-confederation|}}} | ||
− | | label6 = | + | | label6 = Manager |
| data6 = {{{Coach|}}} | | data6 = {{{Coach|}}} | ||
| label7 = [[Captain (association football)|Captain]] | | label7 = [[Captain (association football)|Captain]] | ||
Line 24: | Line 24: | ||
| label10 = Home stadium | | label10 = Home stadium | ||
| data10 = {{{Home Stadium|}}} | | data10 = {{{Home Stadium|}}} | ||
− | | label11 = [[List of | + | | label11 = [[List of Terraconservan Cup country codes|TC code]] |
| data11 = {{{FIFA Trigramme|}}} | | data11 = {{{FIFA Trigramme|}}} | ||
Line 47: | Line 47: | ||
| shorts = {{{shorts1|}}} | | shorts = {{{shorts1|}}} | ||
| socks = {{{socks1|}}} | | socks = {{{socks1|}}} | ||
− | | title = {{{pattern_name1|First}}} [[Kit (association football)|{{#if:{{{ | + | | title = {{{pattern_name1|First}}} [[Kit (association football)|{{#if:{{{British|}}}|colours|colors}}]] |
}}</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|}}}| | ||
Line 62: | Line 62: | ||
| shorts = {{{shorts2|}}} | | shorts = {{{shorts2|}}} | ||
| socks = {{{socks2|}}} | | socks = {{{socks2|}}} | ||
− | | title = {{{pattern_name2|Second}}} [[Kit (association football)|{{#if:{{{ | + | | title = {{{pattern_name2|Second}}} [[Kit (association football)|{{#if:{{{British|}}}|colours|colors}}]] |
}}</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|}}}| | ||
Line 77: | Line 77: | ||
| shorts = {{{shorts3|}}} | | shorts = {{{shorts3|}}} | ||
| socks = {{{socks3|}}} | | socks = {{{socks3|}}} | ||
− | | title = {{{pattern_name3|Third}}} [[Kit (association football)|{{#if:{{{ | + | | title = {{{pattern_name3|Third}}} [[Kit (association football)|{{#if:{{{British|}}}|colours|colors}}]] |
}}</td> | }}</td> | ||
}}</tr> | }}</tr> | ||
</table></td></tr>}} | </table></td></tr>}} | ||
− | | header14 = {{#if:{{{FIFA Rank|}}}{{{FIFA max|}}}{{{FIFA min|}}}|[[Terraconservan Cup {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Rankings|Terraconservan Cup]]}} | + | | header14 = {{#if:{{{FIFA Rank|}}}{{{FIFA max|}}}{{{FIFA min|}}}|[[Terraconservan Cup {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Rankings|Terraconservan Cup rankings]]}} |
| label15 = Current | | label15 = Current | ||
| data15 = {{{FIFA Rank|}}} | | data15 = {{{FIFA Rank|}}} | ||
Line 111: | Line 111: | ||
| data31 = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|(''first in [[{{{World cup first|}}} Terraconservan {{#switch:{{lc:{{{type|{{{Type}}}}}}}}|women=Women's|beach=Beach Soccer|#default=}} Cup|{{{World cup first}}}]]'')}} | | data31 = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|(''first in [[{{{World cup first|}}} Terraconservan {{#switch:{{lc:{{{type|{{{Type}}}}}}}}|women=Women's|beach=Beach Soccer|#default=}} Cup|{{{World cup first}}}]]'')}} | ||
| label32 = Best result | | label32 = Best result | ||
− | | data32 = {{{Terraconservan | + | | data32 = {{{Terraconservan cup best|}}} |
| header33 = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}} | | header33 = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}} | ||
Line 166: | Line 166: | ||
| below = {{#if:{{{Current|}}}|[[File:Soccerball current event.svg|33px|link=|alt=]] ''[[{{{Current}}}|Current season]]''}} | | 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 | | + | }}{{#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 | British | 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 | Terraconservan cup best}}<noinclude>{{documentation}}<!-- please place categories and language links on the documentation page, not here! --></noinclude> |
Latest revision as of 14:22, 2 February 2023
This template uses Lua: |
This template is for use in men and women's national football team articles.
Contents
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 = | Elo Rank = | Elo max = | Elo max date = | Elo min = | Elo min date = | 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
Association | Scottish Football Association | ||
---|---|---|---|
Confederation | UEFA (Europe) | ||
Manager | Vacant | ||
Captain | Barry Ferguson | ||
Most caps | Kenny Dalglish (102) | ||
Top scorer |
| ||
Home stadium | Hampden Park | ||
TC code | SCO | ||
| |||
Terraconservan Cup rankings | |||
Current | 14 | ||
Highest | 13 (October 2007) | ||
Lowest | 88 (March 2005) | ||
First international | |||
Scotland 0–0 England (Partick, Scotland; 30 November 1872) | |||
Terraconservan Cup | |||
Appearances | 8 (first in 1954) | ||
European Championship | |||
Appearances | 2 (first in 1992) | ||
Best result | Last 8, 1992 |
{{ 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
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 Wikipedia, please visit the Microformat WikiProject on English Wikipedia.- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
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.
nor collapse nested elements which use them.