Commons:WikiProject Flags/template

From Wikimedia Commons, the free media repository
Jump to: navigation, search
See also Template:Infobox flag.

Proposal for the structure of flag templates


{{Infobox flag
|NAME=Name of the flag (e.g. ''Union Jack'')
|DEFAULT=(optional) If this variable has a value, a star 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 let empty.

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.svg' 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 (for Image:Flag of Australia.svg):

Flag of {{{OF}}}
used by {{{OF}}}
current since {{{FROM}}}
created by
format {{{FORMAT}}}
shape rectangular}}
colors see included flag
other characteristics {{{CHARACTERISTICS}}}