Bản mẫu:Flaglink

{{country data {{{1}}} | flaglink/core| variant = | size = | name = | altlink = {{{2}}}

}}

Tài liệu bản mẫu

Mô tả

{{flaglink|quốc gia|liên kết|variant=tùy chọn|cỡ=tùy chọn|tên=tùy chọn}}

Produces a flag icon attached to a wikilinked article. The name of the country is the prefix of the wikilink, but the display text is just the name of the country by itself.

Cho ví dụ, {{flaglink|Brasil|tại Đại hội Thể thao Liên châu Mỹ 2007}} has the same effect as {{flagdeco|Brasil}} [[Brasil tại Đại hội Thể thao Liên châu Mỹ 2007|Brasil]], both producing:  Brasil.

Các tham số
  • nation — Use the name of the country/region as per the set of templates in Thể loại:Bản mẫu dữ liệu quốc gia or an "alias" (such as a three-letter country code) as per the set of templates in Thể loại:Đổi hướng dữ liệu quốc gia
  • link — Specifies the suffix to append to the country's name to form the wikilink
  • variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate country data template. This label can be specified as a named parameter, or as the third positional parameter.
  • size (tùy chọn) — Can be used to change the flag icon size (use sparingly!)
  • name (tùy chọn) — Can be used to change the wikilink display text

Các ví dụ

  • {{flaglink|Hà Lan|tại Eurovision Song Contest}} Hà Lan
  • {{flaglink|ENG|tại Đại hội Thể thao Khối Thịnh vượng chung 2006}} Anh
  • {{flaglink|Canada|tại Đại hội Thể thao Đế quốc Anh 1930|1921}} Canada
  • {{flaglink|Canada|variant=1921|tại Đại hội Thể thao Đế quốc Anh 1930}} Canada

Xem thêm

Kiểu đầu ra →Tên quốc giaQuố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}}