模板:Fb
外觀
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = guók-gă kă-giù-dôi | altvar = football }}
Description
[Gāi nguòng-mā]{{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
[Gāi nguòng-mā]{{fb|Argentina}}
→ Argentina{{fb|Switzerland}}
→ Sôi-sê̤ṳ{{fb|ENG}}
→ Ĭng-gáik-làng{{fb|Italy|1861}}
→ É-dâi-lé{{fb|GER|name=GER}}
→ GER
Parameters
[Gāi nguòng-mā]Produces a flag icon attached to a wikilinked national football team article.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
Nation | 1 | Use either the name of the nation or the three-letter country code as used by FIFA
| 字串 | 必填 |
Align | align | Set to "yes"/"y"/"1" to align country names in vertical lists | 不明 | 非必填 |
Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| 字串 | 非必填 |
Icon size | size | Can be used to change the flag icon size (use sparingly!) | 不明 | 非必填 |
Link text | name | Can be used to change the wikilink display text | 不明 | 非必填 |
See also
[Gāi nguòng-mā]- Template:fb-rt – for rendering the flag on the right
- Template:fb-big – for rendering a 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
The above documentation is transcluded from 模板:Fb/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |