Bước tới nội dung

Bản mẫu:FlagCGFteam/doc

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

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

{{flagCGFteam|mã|đại hội|vận động viên}}

This template is used to display a small flag and name of a country, with a wikilink to the country's page for the specified Commonwealth Games games.

  • is a Commonwealth Games Federation three letter country code (see List of CGF country codes). This must be written in CAPS.
  • đại hội is the year expressed in the format yyyy. WikiProject Multi-sport events has created a full set of pages of the form "<country> at the <year> Commonwealth Games" and the intent is that this template can be used from medal tables and event result tables to point to the right country page. This will also give the correct name of the games. e.g. 1930 to 1950: British Empire Games, 1954 to 1966: British Empire and Commonwealth Games, 1970 and 1974: British Commonwealth Games, 1978 onwards: Commonwealth Games. Also, the correct historical flag is chosen based on this string, for countries that had different flags in the past.

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

  • {{flagCGFteam|CAN}} Canada (CAN)
  • {{flagCGFteam|MAS|2006}} Malaysia (MAS)
  • {{flagCGFteam|AUS|1974}} Úc (AUS)
  • {{flagCGFteam|NZL|1962}} New Zealand (NZL)
  • {{flagCGFteam|IND|1934}} Ấn Độ (IND)

Bản mẫu hỗ trợ[sửa mã nguồn]

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}}