Templeeti:Fba
| This template uses Lua: |
Description
[dezie ebe o si]{{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
[dezie ebe o si]{{fba|Argentina}}→
[[Script error: No such module "Fba".|Argentina]]{{fba|ENG}}→
[[Script error: No such module "Fba".|England]]{{fba|Italy|1861}}→
[[Script error: No such module "Fba".|Italy]]{{fba|GER|name=GER}}→
[[Script error: No such module "Fba".|GER]]{{fba|ESP|name=full}}→
[[Script error: No such module "Fba".]]{{fba|Mexico|name=code}}→
[[Script error: No such module "Fba".|Mézíkọ]]
Alternative to avoid Wikipedia's Post-expand include size limit
[dezie ebe o si]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
[dezie ebe o si]TemplateData for Fba
Produces a flag icon attached to a wikilinked national football association article.
| Oke | Nkọwa | Dee | Ọnọdụ | |
|---|---|---|---|---|
| Nation | 1 | Use either the name of the nation or the three-letter country code as used by FIFA
| Eriri | Achọrọ |
| Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| Eriri | Nhọrọ |
| Icon size | size | Can be used to change the flag icon size (use sparingly!) | Nke amaghị | Nhọrọ |
| Link text | name | Can be used to change the wikilink display text | Nke amaghị | Nhọrọ |
| 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) | Nke amaghị | Nhọrọ |
See also
[dezie ebe o si]- 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