Bản mẫu:Hộp thông tin lá cờ
Giao diện
Hộp thông tin này có thể hiển thị tối đa 6 lá cờ. Nó không chỉ dành cho quốc kỳ.
Các thông số
[sửa mã nguồn]Only the |Name and |Image parameters are mandatory. However, |Use={{FIAV#Usage symbols}} is required for the |Symbol parameter. (xem #Ví dụ).
Tổng quát
[sửa mã nguồn]- Name
- Name of entity.
- Article
- Term to include before name of entity, e.g.
the. - Image_size
- Size of images to use in infobox; if not specified, default is
300x150px.
Flag-specific
[sửa mã nguồn]Each of these fields can be given a suffix from 2 to 6 in order to specify up to 6 variants (war flags, naval ensigns, air force ensigns, alternative civil flags, etc.) of the national flag, in addition to the main (non-suffixed) version considered the national flag. For an example, see Flag of Morocco. All of the following parameters are optional with the exception of |Image. However, |Use={{FIAV#Usage symbols}} is required for |Symbol. (xem #Ví dụ).
- Image
- Filename excluding
hình:orTập tin:prefix. - Imagetext
- Caption for the image.
- Noborder
- Leave this field blank to display image with border by default for rectangular flag. For non-rectangular flag, type
no. - Nickname
- Name of the flag.
- Morenicks
- More names of the flag, separated by commas.
- Use
- 6-bit FIAV usage code (see {{FIAV#Usage symbols}}). Required for
|Symbol. - Symbol
- One or more IFIS symbols, e.g.
[[Tập tin:IFIS Sinister.png|Obverse side of flag]]or{{FIAV|sinister}}. A list of these symbols can be seen at Glossary of vexillology#Other symbols or {{FIAV#Property symbols}}.|Use={{FIAV#Usage symbols}}is required. - Proportion
width:length, e.g.2:3.- Adoption
- Date on which the flag was adopted.
- Design
- Concise description of the design.
- Alt
- Alt text for the image, for visually impaired readers. See Wikipedia:Alternative text for images. If omitted or empty, the
|Designparameter should contain a suitable description, or there should be nearby text in the article that describes the image. - Designer
- Name of person(s) who designed the flag.
Ví dụ
[sửa mã nguồn]| Sử dụng | Khác |
|---|---|
| Tỉ lệ | 2:3 or 3:5 |
| Ngày phê chuẩn | 7 tháng 12, 1946 |
| Thiết kế | A white UN emblem (world map surrounded by two olive branches) on a light blue background. |
| Thiết kế bởi | Donal McLaughlin (emblem only) |
{{Hộp thông tin lá cờ
| Name = United Nations
| Article = the
| Image = Flag of the United Nations.svg
| Image_size = 200px
| Alt = Flag of the United Nations
| Use = 000000
| Symbol = [[Tập tin:IFIS Equal.svg]]
| Proportion = 2:3 or 3:5
| Adoption = 7 tháng 12, 1946
| Design = A white UN emblem (world map surrounded by two olive branches) on a light blue background.
| Designer = [[Donal McLaughlin]] (emblem only)
}}
Mã
[sửa mã nguồn]Lá cờ 1
[sửa mã nguồn]{{Hộp thông tin lá cờ
| Name =
| Article =
| Image =
| Alt =
| Noborder = <!-- Leave blank for rectangular flag; for non-rectangular flag, type "no". -->
| Nickname =
| Morenicks =
| Use = <!-- Required for |Symbol -->
| Symbol = <!-- |Use="6-digit FIAV usage code" is required. -->
| Proportion =
| Adoption =
| Design =
| Designer =
}}
Lá cờ 2
[sửa mã nguồn]{{Hộp thông tin lá cờ
| Name =
| Article =
| Image =
| Alt =
| Noborder = <!-- Leave blank for rectangular flag; for non-rectangular flag, type "no". -->
| Nickname =
| Morenicks =
| Use = <!-- Required for |Symbol -->
| Symbol = <!-- |Use="6-digit FIAV usage code" is required. -->
| Proportion =
| Adoption =
| Design =
| Designer =
| Image2 =
| Alt2 =
| Noborder2 = <!-- Leave blank for rectangular flag; for non-rectangular flag, type "no". -->
| Nickname2 =
| Morenicks2 =
| Use2 = <!-- Required for |Symbol2 -->
| Symbol2 = <!-- |Use2="6-digit FIAV usage code" is required. -->
| Proportion2 =
| Adoption2 =
| Design2 =
| Designer2 =
}}
Lá cờ 3... và nhiều hơn
[sửa mã nguồn]{{Hộp thông tin lá cờ
| Name =
| Article =
| Image =
| Alt =
| Noborder = <!-- Leave blank for rectangular flag; for non-rectangular flag, type "no". -->
| Nickname =
| Morenicks =
| Use = <!-- Required for |Symbol -->
| Symbol = <!-- |Use="6-digit FIAV usage code" is required. -->
| Proportion =
| Adoption =
| Design =
| Designer =
| Image2 =
| Alt2 =
| Noborder2 = <!-- Leave blank for rectangular flag; for non-rectangular flag, type "no". -->
| Nickname2 =
| Morenicks2 =
| Use2 = <!-- Required for |Symbol2 -->
| Symbol2 = <!-- |Use2="6-digit FIAV usage code" is required. -->
| Proportion2 =
| Adoption2 =
| Design2 =
| Designer2 =
| Image3 =
| Alt3 =
| Noborder3 = <!-- Leave blank for rectangular flag; for non-rectangular flag, type "no". -->
| Nickname3 =
| Morenicks3 =
| Use3 = <!-- Required for |Symbol3 -->
| Symbol3 = <!-- |Use3="6-digit FIAV usage code" is required. -->
| Proportion3 =
| Adoption3 =
| Design3 =
| Designer3 =
}}