Jump to content

Template:Fb/doc

From Wikipedia, the free encyclopedia

Description

[edit]

{{fb|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked men's 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
  • wrap (optional) – Set to "yes"/"y"/"1" to allow line wrapping of the output. The default is to disallow.

Examples

[edit]

Parameters

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fb in articles based on its TemplateData.

TemplateData for Fb

Produces a flag icon attached to a wikilinked national football team 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
Alignalign

Set to "yes"/"y"/"1" to align country names in vertical lists

Unknownoptional
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
Link textname

Can be used to change the wikilink display text

Unknownoptional

See also

[edit]