Difference between revisions of "Template:Infobox flag/doc"
Jump to navigation
Jump to search
imported>Treisijs m (Adding lv:Veidne:Infobox Flag) |
imported>16@r (example) |
||
| Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> | <noinclude>{{Documentation subpage}}</noinclude> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
| − | This infobox can display up to 5 flags. It is not only for national flags | + | This infobox can display up to 5 flags. It is not only for national flags. |
| − | ===General | + | ==Parameters== |
| + | Only the <code>Name</code> and <code>Image</code> parameters are mandatory. | ||
| + | |||
| + | ===General=== | ||
;Name: Name of entity. | ;Name: Name of entity. | ||
;Article: Term to include before name of entity, e.g. <code>the</code>. | ;Article: Term to include before name of entity, e.g. <code>the</code>. | ||
;Image_size: Size of images to use in infobox; if not specified, default is 210x105px | ;Image_size: Size of images to use in infobox; if not specified, default is 210x105px | ||
| − | ===Flag-specific | + | ===Flag-specific=== |
Each of these fields can be given a suffix from 2 to 5 in order to specify up to 5 variants (war flags, naval 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 <code>Image</code>. | Each of these fields can be given a suffix from 2 to 5 in order to specify up to 5 variants (war flags, naval 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 <code>Image</code>. | ||
| Line 21: | Line 24: | ||
;Design: Concise description of the design. | ;Design: Concise description of the design. | ||
;Designer: Name of person(s) who designed the flag. | ;Designer: Name of person(s) who designed the flag. | ||
| + | |||
| + | ==Example== | ||
| + | {{Infobox National flag | ||
| + | | Name = United Nations | ||
| + | | Article = the | ||
| + | | Type = International | ||
| + | | Image = Flag of the United Nations.svg | ||
| + | | Image_size = 200px | ||
| + | | Symbol = {{FIAV|normal}} | ||
| + | | Proportion = 2:3 or 3:5 | ||
| + | | Adoption = [[December 7]], [[1946]] | ||
| + | | Design = A white UN emblem (world map surrounded by two olive branches) on a light blue background. | ||
| + | | Designer = Donal McLaughlin (emblem only) | ||
| + | }} | ||
| + | <pre style="overflow:auto;"> | ||
| + | {{Infobox National flag | ||
| + | | Name = United Nations | ||
| + | | Article = the | ||
| + | | Type = International | ||
| + | | Image = Flag of the United Nations.svg | ||
| + | | Image_size = 200px | ||
| + | | Symbol = {{FIAV|normal}} | ||
| + | | Proportion = 2:3 or 3:5 | ||
| + | | Adoption = [[December 7]], [[1946]] | ||
| + | | Design = A white UN emblem (world map surrounded by two olive branches) on a light blue background. | ||
| + | | Designer = Donal McLaughlin (emblem only) | ||
| + | }} | ||
| + | </pre> | ||
==Code== | ==Code== | ||
Revision as of 15:16, 15 August 2008
| This is a documentation subpage for Template:Infobox flag. It contains usage information, categories and other content that is not part of the original template page. |
This infobox can display up to 5 flags. It is not only for national flags.
Parameters
Only the Name and Image parameters are mandatory.
General
- 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 210x105px
Flag-specific
Each of these fields can be given a suffix from 2 to 5 in order to specify up to 5 variants (war flags, naval 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.
- Image
- Filename excluding
Image:prefix. - Noborder
- Leave this field blank to display image with border by default.
- Nickname
- Name of the flag.
- Morenicks
- More names of the flag, separated by commas.
- Use
- 8-bit FIAV usage code, or text.
- Symbol
- One or more IFIS symbols, e.g.
[[Image:IFIS_Sinister.png]]. - Proportion
- width:length, e.g. 2:3
- Adoption
- Date on which the flag was adopted.
- Design
- Concise description of the design.
- Designer
- Name of person(s) who designed the flag.
Example
| Proportion | 2:3 or 3:5 |
|---|---|
| Adopted | December 7, 1946 |
| Design | A white UN emblem (world map surrounded by two olive branches) on a light blue background. |
| Designed by | Donal McLaughlin (emblem only) |
{{Infobox National flag
| Name = United Nations
| Article = the
| Type = International
| Image = Flag of the United Nations.svg
| Image_size = 200px
| Symbol = {{FIAV|normal}}
| Proportion = 2:3 or 3:5
| Adoption = [[December 7]], [[1946]]
| Design = A white UN emblem (world map surrounded by two olive branches) on a light blue background.
| Designer = Donal McLaughlin (emblem only)
}}
Code
{{Infobox National flag
| Name =
| Article =
| Type =
| Image =
| Nickname =
| Morenicks =
| Use =
| Symbol =
| Proportion =
| Adoption =
| Design =
| Designer =
}}
|
{{Infobox National flag
| Name =
| Article =
| Type =
| Image =
| Nickname =
| Morenicks =
| Use =
| Symbol =
| Proportion =
| Adoption =
| Design =
| Designer =
| Image2 =
| Nickname2 =
| Morenicks2 =
| Use2 =
| Symbol2 =
| Proportion2 =
| Adoption2 =
| Design2 =
| Designer2 =
}}
|
{{Infobox National flag
| Name =
| Article =
| Type =
| Image =
| Nickname =
| Morenicks =
| Use =
| Symbol =
| Proportion =
| Adoption =
| Design =
| Designer =
| Image2 =
| Nickname2 =
| Morenicks2 =
| Use2 =
| Symbol2 =
| Proportion2 =
| Adoption2 =
| Design2 =
| Designer2 =
| Image3 =
| Nickname3 =
| Morenicks3 =
| Use3 =
| Symbol3 =
| Proportion3 =
| Adoption3 =
| Design3 =
| Designer3 =
}}
|