Templat:Fba

Daripada Wikipedia, ensiklopedia bebas.
Jump to navigation Jump to search

 

Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Description[sunting sumber]

{{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
    • However, setting the parameter to |name=full will display the full association name instead of the country
  • 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)

Examples[sunting sumber]

  • {{fba|Argentina}} Argentina
  • {{fba|ENG}} England
  • {{fba|Italy|1861}} [[|Itali]]
  • {{fba|GER|name=GER}} [[|GER]]
  • {{fba|ESP|name=full}} [[]]

Parameters[sunting sumber]

Berikut ialah pendokumenan TemplateData untuk templat ini yang digunakan oleh VisualEditor dan alatan-alatan lain; lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk Fba

Kategori:Templat menggunakan TemplateData

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

Parameter templat

Templat ini lebih menyukai pemformatan parameter dalam baris.

ParameterKeteranganJenisStatus
Nation1

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

Contoh
Argentina
Rentetandiperlukan
Flag variantvariant 2

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

Contoh
1861
Rentetanpilihan
Icon sizesize

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

Tidak diketahuipilihan
Link textname

Can be used to change the wikilink display text

Tidak diketahuipilihan
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)

Tidak diketahuipilihan

See also[sunting sumber]

  • 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