Bản mẫu:FlagSEAGFathlete/doc

Bách khoa toàn thư mở Wikipedia

Mô tả[sửa mã nguồn]

This template is used to simplify creation of Southeast Asian Games results articles. It expands upon the infrastructure developed for the {{FlagSEAGF}} template to render the following additions to an athlete's name:

  • flag icon for the athlete's nation before the name
  • country code for the athlete's nation after the name
  • wikilink from the country code to the appropriate "Quốc gia at the năm Southeast Asian Games" article

Cách sử dụng[sửa mã nguồn]

{{FlagSEAGFathlete|vận động viên||đại hội}}

vận động viên
Any text string, usually a wikilinked name. Could also be a pair of names, for example.
Three letter code as per List of SEAGF country codes
đại hội
Year expressed in the format yyyy

Note that the combination of and đại hội parameters will automatically choose the correct flag for the nation (including historical flags for nations in which they have changed over the years) and the correct wikilink to the nation's article.

Các ví dụ[sửa mã nguồn]

{{flagSEAGFathlete | [[Nguyễn Thị Ánh Viên]] | VIE | 2013 }}

 Nguyễn Thị Ánh Viên (VIE)

{{flagSEAGFathlete | [[Phan Thị Hà Thanh]] | VIE | 2011 }}

 Phan Thị Hà Thanh (VIE)

{{flagSEAGFathlete | [[Feng Tianwei]] và [[Sun Beibei]] | SIN | 2011 }}

 Feng TianweiSun Beibei (SIN)

{{flagSEAGFathlete | [[Myint Myint Aye]] | MYA | 1973}} (shows historical Burma flag, in use before 1974)

 Myint Myint Aye (MYA)

For comparison, the output of {{flagSEAGFmedalist | [[Myint Myint Aye]] | MYA | 2007 }} is:

Myint Myint Aye
 Myanmar

Xem thêm[sửa mã nguồn]

Kiểu đầu ra → Tên quốc gia Quốc gia (mã) Vận động viên (quốc gia) Quốc gia
Vận động viên
Mã quốc gia
Thế vận hội {{FlagIOC}} {{FlagIOCteam}} {{FlagIOCathlete}} {{FlagIOCmedalist}} {{FlagIOCshort}}
Đại hội Thể thao khác {{FlagIOC2}} {{FlagIOC2team}} {{FlagIOC2athlete}} {{FlagIOC2medalist}} {{FlagIOC2short}}
Thế vận hội Người khuyết tật {{FlagIPC}} {{FlagIPCteam}} {{FlagIPCathlete}} {{FlagIPCmedalist}} {{FlagIPCshort}}
Liên châu Mỹ {{FlagPASO}} {{FlagPASOteam}} {{FlagPASOathlete}} {{FlagPASOmedalist}}
Người khuyết tật Liên châu Mỹ {{FlagPPASO}}
Khối Thịnh vượng chung {{FlagCGF}} {{FlagCGFteam}} {{FlagCGFathlete}} {{FlagCGFmedalist}}
Đông Nam Á {{FlagSEAGF}} {{FlagSEAGFteam}} {{FlagSEAGFathlete}} {{FlagSEAGFmedalist}} {{FlagSEAGFshort}}
Đại hội Thể thao thế giới {{FlagIWGA}}
Đại hội Thể thao Trung Mỹ và Caribe {{FlagCAC}}
Đại hội Thể thao châu Á {{FlagOCA}}
Kiểu "Quốc gia tại giải vô địch" {{FlagATHCH}} {{FlagATHCHathlete}}
Chung {{Flag}} {{Flagteam}} {{Flagathlete}} {{Flagmedalist}}
Chung (biến thể) {{Flaglink}} {{Flaglinkmedalist}}