defzone.net@gmail.comLiên hệ
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki

 

Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Fba

Description

[edit]

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

Produces a flag icon attached to a 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!)
  • name (optional) – Can be used to change the wikilink display text
    • Setting the parameter to |name=full will display the full association name instead of the country
    • Setting the parameter to |name=code will display the association code instead of the country name
  • 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)
  • wrap (optional) - When given a value (e.g. "yes"/"y"/"1"), the text is allowed to wrap

Examples

[edit]
  • {{fba|Argentina}} →  Argentina
  • {{fba|ENG}} →  England
  • {{fba|Italy|1861}} →  Italy
  • {{fba|GER|name=GER}} →  GER
  • {{fba|ESP|name=full}} →  Royal Spanish Football Federation
  • {{fba|Mexico|name=code}} → Mexico MEX

Alternative to avoid Wikipedia's Post-expand include size limit

[edit]

Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using lua modules instead:

  • {{#invoke:flag|Fba}} is a wrapper for Module:Flagg that can reduce the include size when invoked directly. For basic use, {{Fba|country}} can be replaced with {{#invoke:flag|Fba|country}}.

Parameters

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

TemplateData for Fba

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

Template parameters[Edit template data]

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

Can be used to change the wikilink display text

Unknownoptional
Oldold

When given a value (e.g. "yes"/"y"/"1"), will link to the country's former football association (only applies to Brunei and Kenya)

Unknownoptional

See also

[edit]
  • Template:fbaicon – for rendering the flag on its own, with a wikilink to the national association team page.
  • Template:fb – for linking to men's national football teams
The above documentation is transcluded from Template:Fba/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCửa hàngLiên hệ

Liên hệ

Email: defzone.net@gmail.com
Điện thoại: +84 762 559 696
Địa chỉ: Thiên Hương, Thủy Nguyên, Hải Phòng

Đăng ký nhận tin

Nhận bài viết và cập nhật mới nhất qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap