Difference between revisions of "Template:Infobox national football team/sandbox"
Jump to navigation
Jump to search
imported>Frietjes (Adding unknown parameter tracking through Category:Pages using infobox national football team with unknown parameters using Module:check for unknown parameters) |
imported>Certes (sync) |
||
| Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| − | + | | title = {{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} | |
| − | | title = {{{Name|<includeonly>{{ | ||
| above = {{#if:{{{date|}}}|to {{{date}}}}} | | above = {{#if:{{{date|}}}|to {{{date}}}}} | ||
| − | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|sizedefault=200x150px|title=Shirt badge/Association crest}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Badge|}}}|size={{{Badge_size|}}}|sizedefault=200x150px|title=Shirt badge/Association crest}} | ||
| Line 10: | Line 8: | ||
| label2 = Association | | label2 = Association | ||
| data2 = {{{Association|}}} | | data2 = {{{Association|}}} | ||
| − | | label3 | + | | label3 = Other affiliation |
| − | | data3 = {{{ | + | | data3 = {{{Other-affiliation|}}} |
| − | | label4 = | + | | label4 = Confederation |
| − | | data4 = {{{ | + | | data4 = {{{Confederation|}}} |
| − | | label5 = | + | | label5 = {{nowrap|Sub-confederation}} |
| − | | data5 = {{{ | + | | data5 = {{{Sub-confederation|}}} |
| label6 = Head coach | | label6 = Head coach | ||
| data6 = {{{Coach|}}} | | data6 = {{{Coach|}}} | ||
| Line 84: | Line 82: | ||
</table></td></tr>}} | </table></td></tr>}} | ||
| − | | header14 = {{#if:{{{FIFA Rank|}}}|[[FIFA {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Rankings|FIFA ranking]]}} | + | | header14 = {{#if:{{{FIFA Rank|}}}{{{FIFA max|}}}{{{FIFA min|}}}|[[FIFA {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Rankings|FIFA ranking]]}} |
| label15 = Current | | label15 = Current | ||
| data15 = {{{FIFA Rank|}}} | | data15 = {{{FIFA Rank|}}} | ||
| label16 = Highest | | label16 = Highest | ||
| − | | data16 = {{{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|}}}|<small>({{{FIFA max date}}})</small>}} {{#if:{{{FIFA max year|}}}|<small>({{{FIFA max year}}})</small>}}}} |
| label17 = Lowest | | label17 = Lowest | ||
| − | | data17 = {{{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|}}}|<small>({{{FIFA min date}}})</small>}} {{#if:{{{FIFA min year|}}}|<small>({{{FIFA min year}}})</small>}}}} |
| − | | header18 = {{#if:{{{Elo Rank|}}}|[[World Football Elo Ratings|Elo ranking]]}} | + | | header18 = {{#if:{{{Elo Rank|}}}{{{Elo max|}}}{{{Elo min|}}}|[[World Football Elo Ratings|Elo ranking]]}} |
| label19 = Current | | label19 = Current | ||
| data19 = {{{Elo Rank|}}} | | data19 = {{{Elo Rank|}}} | ||
| label20 = Highest | | label20 = Highest | ||
| − | | data20 = {{{Elo max|}}} {{#if:{{{Elo max date|}}}|<small>({{{Elo max date}}})</small>}} {{#if:{{{Elo max year|}}}|<small>({{{Elo max year}}})</small>}} | + | | data20 = {{#if:{{{Elo max|}}}|{{{Elo max}}} {{#if:{{{Elo max date|}}}|<small>({{{Elo max date}}})</small>}} {{#if:{{{Elo max year|}}}|<small>({{{Elo max year}}})</small>}}}} |
| label21 = Lowest | | label21 = Lowest | ||
| − | | data21 = {{{Elo min|}}} {{#if:{{{Elo min date|}}}|<small>({{{Elo min date}}})</small>}} {{#if:{{{Elo min year|}}}|<small>({{{Elo min year}}})</small>}} | + | | data21 = {{#if:{{{Elo min|}}}|{{{Elo min}}} {{#if:{{{Elo min date|}}}|<small>({{{Elo min date}}})</small>}} {{#if:{{{Elo min year|}}}|<small>({{{Elo min year}}})</small>}}}} |
| header22 = {{#if:{{{First game|}}}|First international}} | | header22 = {{#if:{{{First game|}}}|First international}} | ||
| Line 109: | Line 107: | ||
| header28 = {{#if:{{{World cup apps|}}}|[[FIFA {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup|World Cup]]}} | | header28 = {{#if:{{{World cup apps|}}}|[[FIFA {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup|World Cup]]}} | ||
| label29 = Appearances | | label29 = Appearances | ||
| − | | data29 = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|('' | + | | data29 = {{{World cup apps|}}} {{#if:{{{World cup first|}}}|(''first in [[{{{World cup first|}}} FIFA {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup|{{{World cup first}}}]]'')}} |
| label30 = Best result | | label30 = Best result | ||
| data30 = {{{World cup best|}}} | | data30 = {{{World cup best|}}} | ||
| Line 115: | Line 113: | ||
| header31 = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}} | | header31 = {{#if: {{{Regional cup apps|}}}|{{{Regional name}}}}} | ||
| label32 = Appearances | | label32 = Appearances | ||
| − | | data32 = {{{Regional cup apps|}}} {{#if:{{{Regional cup first|}}}|('' | + | | data32 = {{{Regional cup apps|}}} {{#if:{{{Regional cup first|}}}|(''first in {{{Regional cup first}}}'')}} |
| label33 = Best result | | label33 = Best result | ||
| data33 = {{{Regional cup best|}}} | | data33 = {{{Regional cup best|}}} | ||
| Line 121: | Line 119: | ||
| header34 = {{#if: {{{2ndRegional cup apps|}}}|{{{2ndRegional name}}}}} | | header34 = {{#if: {{{2ndRegional cup apps|}}}|{{{2ndRegional name}}}}} | ||
| label35 = Appearances | | label35 = Appearances | ||
| − | | data35 = {{{2ndRegional cup apps|}}} {{#if:{{{2ndRegional cup first|}}}|('' | + | | data35 = {{{2ndRegional cup apps|}}} {{#if:{{{2ndRegional cup first|}}}|(''first in {{{2ndRegional cup first}}}'')}} |
| label36 = Best result | | label36 = Best result | ||
| data36 = {{{2ndRegional cup best|}}} | | data36 = {{{2ndRegional cup best|}}} | ||
| Line 127: | Line 125: | ||
| header37 = {{#if: {{{3rdRegional cup apps|}}}|{{{3rdRegional name}}}}} | | header37 = {{#if: {{{3rdRegional cup apps|}}}|{{{3rdRegional name}}}}} | ||
| label38 = Appearances | | label38 = Appearances | ||
| − | | data38 = {{{3rdRegional cup apps|}}} {{#if:{{{3rdRegional cup first|}}}|('' | + | | data38 = {{{3rdRegional cup apps|}}} {{#if:{{{3rdRegional cup first|}}}|(''first in {{{3rdRegional cup first}}}'')}} |
| label39 = Best result | | label39 = Best result | ||
| data39 = {{{3rdRegional cup best|}}} | | data39 = {{{3rdRegional cup best|}}} | ||
| Line 133: | Line 131: | ||
| header40 = {{#if: {{{Confederations cup apps|}}}|[[FIFA Confederations Cup|Confederations Cup]]}} | | header40 = {{#if: {{{Confederations cup apps|}}}|[[FIFA Confederations Cup|Confederations Cup]]}} | ||
| label41 = Appearances | | label41 = Appearances | ||
| − | | data41 = {{{Confederations cup apps|}}} {{#if:{{{Confederations cup first|}}}|('' | + | | data41 = {{{Confederations cup apps|}}} {{#if:{{{Confederations cup first|}}}|(''first in {{{Confederations cup first}}}'')}} |
| label42 = Best result | | label42 = Best result | ||
| data42 = {{{Confederations cup best|}}} | | data42 = {{{Confederations cup best|}}} | ||
| Line 139: | Line 137: | ||
| header43 = {{#if: {{{UEFAu21Champ apps|}}}|[[UEFA European Under-21 Football Championship|UEFA U-21 Championship]]}} | | header43 = {{#if: {{{UEFAu21Champ apps|}}}|[[UEFA European Under-21 Football Championship|UEFA U-21 Championship]]}} | ||
| label44 = Appearances | | label44 = Appearances | ||
| − | | data44 = {{{UEFAu21Champ apps|}}} {{#if:{{{UEFAu21Champ first|}}}|('' | + | | data44 = {{{UEFAu21Champ apps|}}} {{#if:{{{UEFAu21Champ first|}}}|(''first in {{{UEFAu21Champ first}}}'')}} |
| label45 = Best result | | label45 = Best result | ||
| data45 = {{{UEFAu21Champ best|}}} | | data45 = {{{UEFAu21Champ best|}}} | ||
| Line 145: | Line 143: | ||
| header46 = {{#if: {{{U20WC apps|}}}|[[FIFA U-20 {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup]]}} | | header46 = {{#if: {{{U20WC apps|}}}|[[FIFA U-20 {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup]]}} | ||
| label47 = Appearances | | label47 = Appearances | ||
| − | | data47 = {{{U20WC apps|}}} {{#if:{{{U20WC first|}}}|('' | + | | data47 = {{{U20WC apps|}}} {{#if:{{{U20WC first|}}}|(''first in {{{U20WC first}}}'')}} |
| label48 = Best result | | label48 = Best result | ||
| data48 = {{{U20WC best|}}} | | data48 = {{{U20WC best|}}} | ||
| Line 151: | Line 149: | ||
| header49 = {{#if: {{{U17WC apps|}}}|[[FIFA U-17 {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup]]}} | | header49 = {{#if: {{{U17WC apps|}}}|[[FIFA U-17 {{#ifeq:{{lc:{{{type|{{{Type}}}}}}}}|women|Women's World|World}} Cup]]}} | ||
| label50 = Appearances | | label50 = Appearances | ||
| − | | data50 = {{{U17WC apps|}}} {{#if:{{{U17WC first|}}}|('' | + | | data50 = {{{U17WC apps|}}} {{#if:{{{U17WC first|}}}|(''first in {{{U17WC first}}}'')}} |
| label51 = Best result | | label51 = Best result | ||
| data51 = {{{U17WC best|}}} | | data51 = {{{U17WC best|}}} | ||
| header52 = {{Infobox medal templates | | header52 = {{Infobox medal templates | ||
| − | |||
|medals = {{{medaltemplates|}}} | |medals = {{{medaltemplates|}}} | ||
|expand = {{{medaltemplates-expand|}}} | |expand = {{{medaltemplates-expand|}}} | ||
Latest revision as of 12:48, 30 September 2018
| 50px | This is the template sandbox page for Template:Infobox national football team (diff). See also the companion subpage for test cases. |
| 30px | 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 =
| 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
| Shirt badge/Association crest | |||
| Association | Scottish Football Association | ||
|---|---|---|---|
| Confederation | UEFA (Europe) | ||
| Head coach | Vacant | ||
| Captain | Barry Ferguson | ||
| Most caps | Kenny Dalglish (102) | ||
| Top scorer |
| ||
| Home stadium | Hampden Park | ||
| FIFA code | SCO | ||
|
| |||
| FIFA ranking | |||
| Current | 14 | ||
| Highest | 13 (October 2007) | ||
| Lowest | 88 (March 2005) | ||
| First international | |||
| 23x15px Scotland 0–0 England 23x15px (Partick, Scotland; 30 November 1872) | |||
| World Cup | |||
| Appearances | 8 (first in 1954) | ||
| Best result | 9th, 1974 | ||
| 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
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. Please add categories to the /doc subpage. Subpages of this template. |