Difference between revisions of "Template:Infobox flag/doc"

From blackwiki
Jump to navigation Jump to search
imported>Yakiv Gluck
m
imported>Jacklee
(→‎Flag-specific: Updated documentation subpage)
Line 19: Line 19:
 
;Morenicks: More names of the flag, separated by commas.
 
;Morenicks: More names of the flag, separated by commas.
 
;Use: 8-bit [[Fédération internationale des associations vexillologiques|FIAV]] usage code, or text.
 
;Use: 8-bit [[Fédération internationale des associations vexillologiques|FIAV]] usage code, or text.
;Symbol: One or more IFIS symbols, e.g. <code>[[[[:Image:IFIS_Sinister.png]]]]</code>.
+
;Symbol: One or more IFIS symbols, e.g. <code>[[[[:Image:IFIS_Sinister.png]]]]</code>. A list of these symbols can be seen at "[[Flag terminology#Other symbols]]".
 
;Proportion: width:length, e.g. 2:3
 
;Proportion: width:length, e.g. 2:3
 
;Adoption: Date on which the flag was adopted.
 
;Adoption: Date on which the flag was adopted.

Revision as of 08:07, 23 December 2008

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]]. A list of these symbols can be seen at "Flag terminology#Other symbols".
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

Script error: No such module "If empty".
Flag of the United Nations.svg
Proportion2:3 or 3:5
AdoptedDecember 7, 1946
DesignA white UN emblem (world map surrounded by two olive branches) on a light blue background.
Designed byDonal 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