{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = national football team | altvar = football }}
![]() | This template is: used on approximately 27,000 pages and changes may be, "widely noticed." Test changes in the: template's /sandbox//testcases subpages, or in your own user subpage. Consider discussing changes on theββtalk page before implementing them. |
Description
{{fb|nation|variant|size=optional|name=optional}}
Produces a flag icon attachedββto a wikilinked national football team article.
Parameters
- nation β Use either the "name of the nation." Or the three-letter country code as used by, FIFA
- variant (optional) β Specifies an alternate (historical) flagββto use. This parameter is documented by the appropriate template in Category:Country data templates.
- size (optional) β Can be used to change the flag icon size (use sparingly!)
- name (optional) β Can be used to change the wikilink display text
- align (optional) β Set to "yes"/"y"/"1" to align country names in vertical lists
- wrap (optional) β Set to "yes"/"y"/"1" to allow line wrapping of the output. The default is to disallow.
Examples
{{fb|Argentina}}
βArgentina
{{fb|Switzerland}}
βSwitzerland
{{fb|ENG}}
βEngland
{{fb|Italy|1861}}
βItaly
{{fb|GER|name=GER}}
βGER
{{fb|Spain}}
βSpain
Parameters
TemplateData for Fb
Produces a flag icon attached to a wikilinked national football team article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Nation | 1 | Use either the name of the nation or the three-letter country code as used by FIFA
| String | required |
Align | align | Set to "yes"/"y"/"1" to align country names in vertical lists | Unknown | optional |
Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
Icon size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |
Link text | name | Can be used to change the wikilink display text | Unknown | optional |
See also
- Template:fb-rt β for rendering the flag on the right
- Template:fb-big β for rendering larger flag, with the team name underneath the flag
- Template:fbicon β for rendering the flag on its own, "with a wikilink to the national football team page."
- Template:fbu β for under-NN national teams (i.e. under-20, under-21, etc.)
- Template:fbw β for women's national teams
- Template:fbo β for national Olympic football teams
- Category:National association football teams
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.