Template:Fbicon/doc

From Fantasipedia
Jump to navigation Jump to search

Description[edit]

{{fbicon|nation|variant|size=optional}}

Produces a flag icon to the 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!)

Examples[edit]

  • {{fbicon|Levalle}}Levalle
  • {{fbicon|POH}}Pohunskia
  • {{fbicon|SYL}}Sylvan

Parameters[edit]

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 Fbicon

<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 }, "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!)" } }, "description": "Produces a flag icon attached to a wikilinked national football team article.", "paramOrder": [ "1", "variant", "size" ], "format": "inline" } </templatedata>

See also[edit]