Difference between revisions of "Template:Fbaicon/doc"

From blackwiki
Jump to navigation Jump to search
imported>S.A. Julio
imported>S.A. Julio
Line 4: Line 4:
 
<code><nowiki>{{fbicon|nation|variant|size=optional}}</nowiki></code>
 
<code><nowiki>{{fbicon|nation|variant|size=optional}}</nowiki></code>
  
Produces a flag icon to the wikilinked national football association article.
+
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
 
;Parameters
 
*''nation''&nbsp;– Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]
 
*''nation''&nbsp;– Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]

Revision as of 05:07, 20 April 2019

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, will link to the country's former football association (only applies to Brunei and Kenya)

Examples

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Fbaicon

Produces a flag icon attached to a wikilinked national football association article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Nation1

Use either the name of the nation or the three-letter country code as used by FIFA

Example
Argentina
Stringrequired
Flag variantvariant 2

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.

Example
1861
Stringoptional
Icon sizesize

Can be used to change the flag icon size (use sparingly!)

Unknownoptional
Oldold

When given a value, will link to the country's former football association (only applies to Brunei and Kenya)

Unknownoptional

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