Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Description แก้

{{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 หมวดหมู่:แม่แบบข้อมูลประเทศ.
  • 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)

Examples แก้

Parameters แก้

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Fba (ยังไม่มีการตรวจสอบ)

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

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

แม่แบบนี้ต้องการการจัดรูปแบบพารามิเตอร์แบบอินไลน์

พารามิเตอร์คำอธิบายชนิดสถานะ
Nation1

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

ตัวอย่าง
Argentina
สตริงจำเป็น
Flag variantvariant 2

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

ตัวอย่าง
1861
สตริงเลือกได้
Icon sizesize

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

ไม่ทราบชนิดเลือกได้
Link textname

Can be used to change the wikilink display text

ไม่ทราบชนิดเลือกได้
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)

ไม่ทราบชนิดเลือกได้

See also แก้

  • 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