Commons:WikiProject Flags/template

See also Template:Infobox flag.

Keep in mind that this proposal is used as a description by the Template:Infobox flag — make alternations with care !

Proposal for the structure of flag template edit

{{Infobox flag
|NAME=Name of the flag (e.g. ''Union Jack'')
|DEFAULT=(optional) If this variable has a value, an asterisc will appear next to NAME.
|OTHERNAMES=(optional) Other names of the flag
|COUNTRY=(optional) Country to which the flag belongs
|OF=Object, which uses the flag
|FROM=Date, when the flag was officially introduced (set 'never' when the flag is inofficial or a proposal)
|UNTIL=Date, when the flag was officially disestablished (only to be entered if not current)
|CREATOR=Creator of the flag, if known
|FORMAT=proportion height/width
|FIAV=(optional) FIAV-Code (six binary numbers)
|TYPE=(optional) Usage not covered by FIAV<br />
possible values:
:{{ethnic flag}}
:{{language flag}}
:{{flag of organisation}} (club, political party etc.)
:{{city flag}}
:{{regional flag}}
|MAINCOLORS=main colors of the flags
|SHAPE=shape of the flag (only to be specified if not rectangular)
|CHARACTERISTICS=

{{Horizontal stripes|Parameter: number of horizontal stripes}}
{{Vertical stripes|Parameter: number of vertical stripes}}
{{Crescent}} (use this, if the crescent is depicted)
{{Full moon}} (use this, if the full moon is depicted)
{{Sun}} (use this, if the sun is depicted)
{{Cross|Parameter: type of cross (latin, maltese, greek etc.}} (use this, if a cross is depicted)
{{Hammer and sickle}} (use this, if hammer and sickle are depicted)
{{Swastika}} (use this, if swastika is depicted)
{{Symbol|Parameter: lemma on Commons of the depicted symbol}} (can be used more than one time)
{{Tool|Parameter: lemma on Commons of the depicted tool, arm or instrument}} (can be used more than one time)
{{Organism|Parameter: latin name of the depicted animal/plant/creature}} (can be used more than one time)
{{Stripe|left;right;centerhor;centerver;bottom;top;ul2lr;ll2ur|;jagged;wave;crenellated}}
{{Stars|Parameter: number of stars in the flag|Parameter: optional identifier for specific formation (e.g. Southern Cross)}}
{{Includes coat of arms|Parameter: Name of the image showing the coat of arms, which is included in this flag}} (can be used more than one time)
{{Includes flag|Parameter: Name of the image showing the flag, which is included in this flag|position, possible values 'upper left', 'full' (if the flag consists completely of another flag [so with [[:Image:Flag of Lower Saxony.svg]] and [[:Image:Flag of Germany.svg]]], if so, please only set this tag and don't describe the features of the overtaken flag) <!-- more? -->}} (can be used more than one time)
{{Includes text|Parameter: text of a included writing}} (can be used more than one time)
{{Includes map|Parameter: Name of the Commons gallery showing the territory, whose map is included in this flag}} (can be used more than one time)
}}

more detailed info on usage edit

NAME edit

Name of the flag (e.g. Union Jack). If there is no name other than 'Flag of Foo' then omit this parameter; use an '*' to show the file name.

DEFAULT edit

Optional. Set '1', if the flag is the default flag of the entity specified in OF. In most cases the filename will be 'Flag of FOO' if this is true. If it is not the default flag, omit the parameter.

OTHERNAMES edit

Optional. Other names of the flag additionally to 'Flag of FOO' and the name specified in NAME, separated by ';'. Omit paramter when there is no such name.

COUNTRY edit

Optional. Country to which the flag belongs. If it is no country flag, omit this parameter. Use the name of the Commons gallery of that country.

OF edit

Object, which uses the flag. Use the name of the Commons gallery of that entity. If there is no gallery use the name from English Wikipedia.

FROM edit

Date, when the flag was officially introduced (set 'never' when the flag is inofficial or a proposal). Format of the date should be YYYY-MM-DD, YYYY-MM, YYYY, YYY0s or CCth century.

UNTIL edit

Date, when the flag was officially disestablished (only to be entered if not current). Same format of the date as with FROM.

CREATOR edit

Name of the creator of the flag, if known. If the flag was co-created by more persons, separate them with ';'.

FORMAT edit

The proportion height/width. Two numbers separated by ':' (e.g. '2:3'). Should be corresponding the proportion of image height to image width.

FIAV edit

Optional. FIAV code made up of six binary numbers and specifying the specific use of the flag in its territory. [1] is a good source for FIAV codes.

TYPE edit

Optional. Use this only when the type of usage is not covered by FIAV. Else omit this parameter.

Possible values:

{{ethnic flag}}
{{language flag}}
{{flag of organisation}} (club, political party etc.)
{{city flag}}
{{regional flag}}

MAINCOLORS edit

Main colors of the flag. If the flag is striped, then mention them in order of the stripes from top to bottom respectively from left to right. Mention other colors at the end.

SHAPE edit

Optional. Shape of the flag. Only to be specified if not rectangular.

Possible values:

{{Pennant}}
{{Double pennant}}
{{Burgee}}

CHARACTERISTICS edit

{{Horizontal stripes|Parameter: number of horizontal stripes}}
{{Vertical stripes|Parameter: number of vertical stripes}}
{{Chevron}} (use this, if flag has a chevron)
{{Saltire}} (use this, if flag has a saltire)
{{Bordered}} (use this, if flag is bordered)
{{Pall}} (use this, if flag has a pall)
{{Crescent}} (use this, if the crescent is depicted)
{{Full moon}} (use this, if the full moon is depicted)
{{Sun}} (use this, if the sun is depicted)
{{Cross|Parameter: type of cross (latin, maltese, greek, Lorraine, Scandinavian, St.Andrews, symmetric etc.}} (use this, if a cross is depicted)
{{Hammer and sickle}} (use this, if hammer and sickle are depicted)
{{Swastika}} (use this, if swastika is depicted)
{{Symbol|Parameter: lemma on Commons of the depicted symbol}} (can be used more than one time)
{{Tool|Parameter: lemma on Commons of the depicted tool, arm or instrument}} (can be used more than one time)
{{Organism|Parameter: latin name of the depicted animal/plant/creature}} (can be used more than one time)
{{Stripe|left;right;center|horizontal;vertical;diagonal}}
{{Stars|Parameter: number of stars in the flag|Parameter: optional identifier for specific formation (e.g. Southern Cross)}}
{{Includes coat of arms|Parameter: Name of the image showing the coat of arms, which is included in this flag}} (can be used more than one time)
{{Includes flag|Parameter: Name of the image showing the flag, which is included in this flag|position, possible values 'upper left' (canton), 'full' (if the flag consists completely of another flag [so with [[:Image:Flag of Lower Saxony.svg]] and [[:Image:Flag of Germany.svg]]], if so, please only set this tag and don't describe the features of the overtaken flag) <!-- more? -->}} (can be used more than one time)
{{Includes text|Parameter: text of a included writing}} (can be used more than one time)
{{Includes map|Parameter: Name of the Commons gallery showing the territory, whose map is included in this flag}} (can be used more than one time)

Example edit

Example (for File:Flag of Australia.svg):

Flag of Australia
country Australia
used by Australia
current since 1909-05-22
created by Ivor Evans, Leslie John Hawkins, Egbert John Nuttall, Annie Dorrington, William Stevens
format 1:2
shape rectangular
FIAV  
colours blue
other characteristics flag contains 6 stars   (special formation of the stars: Southern Cross).

flag includes the flag  

{{Infobox flag
|BGC            = #DFF
|NAME           =
|DEFAULT        = 
|COUNTRY        = Australia
|OF             = Australia
|FROM           = 1909-05-22
|CREATOR        = Ivor Evans, Leslie John Hawkins, Egbert John Nuttall, Annie Dorrington, William Stevens
|FORMAT         = 1:2
|FIAV           = 111000
|MAINCOLORS     = {{flagcolors|blue}}
|CHARACTERISTICS= {{Stars|6|Crux}}
                  {{Includes flag|Flag of the United Kingdom.svg}}
}}

Copy and paste parameters edit

{{Infobox flag
 |bgc        = 
 |name       = 
 |default    =
 |country    = 
 |of         = 
 |from       = 
 |creator    = 
 |format     = 
 |fiav       = 
 |maincolors = 
 |characters =
}}