Template:Fb/doc

< Template:Fb

Description

{{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

Examples

Parameters

This is the TemplateData documentation for the template used by the new VisualEditor.

Fb

<templatedata> { "params": { "1": { "label": "Nation", "description": "Use either the name of the nation or the three-letter country code as used by FIFA", "example": "Argentina", "type": "string", "required": true }, "align": { "label": "Align", "description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists", "type": "unknown" }, "variant": { "aliases": [ "2" ], "label": "Flag variant", "description": "Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.", "example": "1861", "type": "string" }, "size": { "label": "Icon size", "description": "Can be used to change the flag icon size (use sparingly!)" }, "name": { "label": "Link text", "description": "Can be used to change the wikilink display text" } }, "description": "Produces a flag icon attached to a wikilinked national football team article.", "paramOrder": [ "1", "align", "variant", "size", "name" ], "format": "inline" } </templatedata>

See also