Template:Fba/doc
| This is a documentation subpage for Template:Fba. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Description
{{fb|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national football association article. The list of article titles of the national football associations is located at Template:Fba/list.
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
- Setting the parameter to
|name=fullwill display the full association name instead of the country - Setting the parameter to
|name=codewill display the association code instead of the country name
- Setting the parameter to
- old (optional) - When given a value (e.g. "
yes"/"y"/"1"), will link to the country's former football association (only applies to Brunei and Kenya) - wrap (optional) - When given a value (e.g. "
yes"/"y"/"1"), the text is allowed to wrap
Examples
{{fba|Argentina}}→
Argentina{{fba|ENG}}→
England{{fba|Italy|1861}}→
Italy{{fba|GER|name=GER}}→
GER{{fba|ESP|name=full}}→
Royal Spanish Football Federation{{fba|Mexico|name=code}}→
MEX
Alternative to avoid Wikipedia's Post-expand include size limit
Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using lua modules instead:
- {{#invoke:flag|Fba}} is a wrapper for Module:Flagg that can reduce the include size when invoked directly. For basic use,
{{Fba|country}}can be replaced with{{#invoke:flag|Fba|country}}.
Parameters
TemplateData for Fba
Produces a flag icon attached to a wikilinked national football association 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 |
| 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 |
| Old | old | When given a value (e.g. "yes"/"y"/"1"), will link to the country's former football association (only applies to Brunei and Kenya) | Unknown | optional |
See also
- Template:fbaicon – for rendering the flag on its own, with a wikilink to the national association team page.
- Template:fb – for linking to men's national football teams
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.