Bản mẫu:Lực lượng không gian/doc

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

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

Tạo ra biểu tượng cờ gắn liền với một wiki-link tới lực lượng không gian theo quốc gia.

{{lực lượng không gian|nation|variant|size=tùy chọn|name=tùy chọn}}

Các thông số
  • nation — Sử dụng tên của quốc gia hoặc mã ba chữ cái ISO 3166-1 alpha-3 của quốc gia đấy
  • variant (tùy chọn) — Chỉ định cờ thay thế (có trong lịch sử) sẽ sử dụng. Tham số này được ghi lại bằng bản mẫu thích hợp trong Thể loại:Bản mẫu dữ liệu quốc gia. Lưu ý rằng hành vi tiêu chuẩn của bản mẫu này là sử dụng biến thể lực lượng không gian nếu có, do đó không cần phải chỉ định biến thể này trong lệnh gọi mẫu
  • size (tùy chọn) — Có thể được sử dụng để thay đổi kích thước của biểu tượng cờ
  • name (tùy chọn) — Có thể được sử dụng để thay đổi văn bản hiển thị của wiki-link

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

Other related templates[sửa mã nguồn]

The {{flagicon}} template can be used to display the space force flag by itself, using the space force variant as a template parameter:

  • {{flagicon|Russia|space force}}Nga
  • {{flagicon|United States|space force}}Hoa Kỳ

Implementation notes[sửa mã nguồn]

By default, this template shows the standard national flag for the selected country, following by a wikilink to "Country space force". Both of these items can be changed by adding specific parameters to the appropriate country_data template (complete set found in Thể loại:Bản mẫu dữ liệu quốc gia).

To use a different flag, such as the space force ensign for the nation, use:

flag alias-space force = image name of space force ensign

To use a different name for the wikilinked space force article, use:

link alias-space force = article name