Difference between revisions of "Template:Fbaicon/doc"
imported>S.A. Julio (add) |
imported>Ahecht (→Examples: add examples) |
||
Line 16: | Line 16: | ||
*<code><nowiki>{{fbaicon|Italy|1861}}</nowiki></code> → {{fbaicon|Italy|1861}} | *<code><nowiki>{{fbaicon|Italy|1861}}</nowiki></code> → {{fbaicon|Italy|1861}} | ||
*<code><nowiki>{{fbaicon|USA|1776}}</nowiki></code> → {{fbaicon|USA|1776}} | *<code><nowiki>{{fbaicon|USA|1776}}</nowiki></code> → {{fbaicon|USA|1776}} | ||
+ | *<code><nowiki>{{fbaicon|Kenya}}{{fbaicon|Kenya|old=yes}}</nowiki></code> → {{fbaicon|Kenya}}{{fbaicon|Kenya|old=yes}} | ||
==Parameters== | ==Parameters== |
Latest revision as of 14:03, 8 June 2020
![]() | This is a documentation subpage for Template:Fbaicon. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Description
{{fbicon|nation|variant|size=optional}}
Produces a flag icon to the 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!)
- 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)
Examples
{{fbaicon|Argentina}}
→{{fbaicon|ENG}}
→{{fbaicon|Italy|1861}}
→{{fbaicon|USA|1776}}
→{{fbaicon|Kenya}}{{fbaicon|Kenya|old=yes}}
→
Parameters
TemplateData for Fbaicon
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 |
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:fba – for rendering a flag icon attached with the nation name, wikilinked national football association article.
- Template:fbicon – for linking flags to men's national football teams