Predloga:Infopolje Zastava

Iz Wikipedije, proste enciklopedije
Infopolje Zastava
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

This infobox can display up to 6 flags. It is not only for national flags.

Parameters[uredi kodo]

Only the |Name and |Image parameters are mandatory. However, |Use={{FIAV#Usage symbols}} is required for the |Symbol parameter. (see #Example).

General[uredi kodo]

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 255x170px.

Flag-specific[uredi kodo]

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. (see #Example).

Image
Filename excluding Image: or File: 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. [[File:IFIS Sinister.png|Obverse side of flag]] or {{FIAV|sinister}}. A list of these symbols can be seen at Vexillological symbol#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.
Relinquished
Date on which the flag was relinquished.
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 |Design parameter 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.

Example[uredi kodo]

United Nations
Flag of the United Nations
UporabaDrugo IFIS Equal.svg
Razmerje2:3 or 3:5
SprejetaDecember 7, 1946
OblikaA white UN emblem (world map surrounded by two olive branches) on a light blue background.
OblikovalecDonal McLaughlin (emblem only)
{{Infobox flag
| Name = United Nations
| Article = the
| Image = Flag of the United Nations.svg
| Image_size = 200px
| Alt = Flag of the United Nations
| Use = 000000
| Symbol = [[File:IFIS Equal.svg]]
| 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[uredi kodo]

One flag[uredi kodo]

{{Infobox flag
| 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 = 
| Relinquished = 
| Design = 
| Designer = 
}}

Two flags[uredi kodo]

{{Infobox flag
| 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 = 
| Relinquished = 
| 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 = 
| Relinquished2 = 
| Design2 = 
| Designer2 = 
}}

Three flags... and so on[uredi kodo]

{{Infobox flag
| 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 =
| Relinquished =  
| 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 = 
| Relinquished2 = 
| 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 = 
| Relinquished3 = 
| Design3 = 
| Designer3 = 
}}

TemplateData[uredi kodo]

To je TemplateData dokumentacija za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Infopolje Zastava

An infobox for flags.

[Urejanje podatkov predloge]

Parametri predloge

Za to predlogo je priporočljiva postavitev parametrov v bloku.

ParameterOpisVrstaStanje
NameName

Name of entity

Nizpredlagano
ArticleArticle

What the infobox will append to other variations, if specified. E.g. "Variant flag of [the] American flag"

Zgled
the
Nizpredlagano
Image sizeImage_size

The size of all images used in the infobox

Zgled
255x170px
Neznanoneobvezno
ImageImage

Image of the first flag to display

Datotekazahtevano
CaptionImagetext

The caption of the image

Nizpredlagano
Alt textAlt

brez opisa

Nizpredlagano
BorderedNoborder

To disable a border for non-rectangular flags, enter 'no'.

Zgled
no
Pogojni izrazneobvezno
NicknameNickname

The name of the flag

Nizpredlagano
NicknamesMorenicks

Other nicknames

Nizneobvezno
FIAV usage codeUse

A 6-bit FIAV usage code, if necessary. See [[Template:FIAV#Usage symbols]] for information

Zgled
100101
Nizneobvezno
IFIS symbolSymbol

One or more IFIS symbol. See [[Template:FIAV#Property symbols]]

Zgled
{{FIAV|sinister}}
Neznanoneobvezno
Aspect ratioProportion

The aspect ratio of the width and heights.

Zgled
2:3
Nizpredlagano
AdoptedAdoption

Date or year on which the flag was adopted

Zgled
{{Start date and age|1999}}
Datumpredlagano
RelinquishedRelinquished

Date or year on which the flag was relinquished

Zgled
{{End date|1575}}
Datumneobvezno
DesignDesign

Concise description of the design

Zgled
Solid blue with a white Earth-shaped outline in the center.
Nizpredlagano
DesignerDesigner

The designer(s) of the flag

Nizpredlagano
Image2Image2

brez opisa

Neznanoneobvezno
Alt2Alt2

brez opisa

Neznanoneobvezno
Imagetext2Imagetext2

brez opisa

Neznanoneobvezno
Noborder2Noborder2

brez opisa

Neznanoneobvezno
Nickname2Nickname2

brez opisa

Neznanoneobvezno
Morenicks2Morenicks2

brez opisa

Neznanoneobvezno
Use2Use2

brez opisa

Neznanoneobvezno
Symbol2Symbol2

brez opisa

Neznanoneobvezno
Proportion2Proportion2

brez opisa

Neznanoneobvezno
Adoption2Adoption2

brez opisa

Neznanoneobvezno
Relinquished2Relinquished2

brez opisa

Neznanoneobvezno
Design2Design2

brez opisa

Neznanoneobvezno
Designer2Designer2

brez opisa

Neznanoneobvezno
Image3Image3

brez opisa

Neznanoneobvezno
Alt3Alt3

brez opisa

Neznanoneobvezno
Imagetext3Imagetext3

brez opisa

Neznanoneobvezno
Noborder3Noborder3

brez opisa

Neznanoneobvezno
Nickname3Nickname3

brez opisa

Neznanoneobvezno
Morenicks3Morenicks3

brez opisa

Neznanoneobvezno
Use3Use3

brez opisa

Neznanoneobvezno
Symbol3Symbol3

brez opisa

Neznanoneobvezno
Proportion3Proportion3

brez opisa

Neznanoneobvezno
Adoption3Adoption3

brez opisa

Neznanoneobvezno
Relinquished3Relinquished3

brez opisa

Neznanoneobvezno
Design3Design3

brez opisa

Neznanoneobvezno
Designer3Designer3

brez opisa

Neznanoneobvezno
Image4Image4

brez opisa

Neznanoneobvezno
Alt4Alt4

brez opisa

Neznanoneobvezno
Imagetext4Imagetext4

brez opisa

Neznanoneobvezno
Noborder4Noborder4

brez opisa

Neznanoneobvezno
Nickname4Nickname4

brez opisa

Neznanoneobvezno
Morenicks4Morenicks4

brez opisa

Neznanoneobvezno
Use4Use4

brez opisa

Neznanoneobvezno
Symbol4Symbol4

brez opisa

Neznanoneobvezno
Proportion4Proportion4

brez opisa

Neznanoneobvezno
Adoption4Adoption4

brez opisa

Neznanoneobvezno
Relinquished4Relinquished4

brez opisa

Neznanoneobvezno
Design4Design4

brez opisa

Neznanoneobvezno
Designer4Designer4

brez opisa

Neznanoneobvezno
Image5Image5

brez opisa

Neznanoneobvezno
Alt5Alt5

brez opisa

Neznanoneobvezno
Imagetext5Imagetext5

brez opisa

Neznanoneobvezno
Nickname5Nickname5

brez opisa

Neznanoneobvezno
Morenicks5Morenicks5

brez opisa

Neznanoneobvezno
Use5Use5

brez opisa

Neznanoneobvezno
Symbol5Symbol5

brez opisa

Neznanoneobvezno
Proportion5Proportion5

brez opisa

Neznanoneobvezno
Adoption5Adoption5

brez opisa

Neznanoneobvezno
Relinquished5Relinquished5

brez opisa

Neznanoneobvezno
Design5Design5

brez opisa

Neznanoneobvezno
Designer5Designer5

brez opisa

Neznanoneobvezno
Image6Image6

brez opisa

Neznanoneobvezno
Alt6Alt6

brez opisa

Neznanoneobvezno
Imagetext6Imagetext6

brez opisa

Neznanoneobvezno
Nickname6Nickname6

brez opisa

Neznanoneobvezno
Morenicks6Morenicks6

brez opisa

Neznanoneobvezno
Use6Use6

brez opisa

Neznanoneobvezno
Symbol6Symbol6

brez opisa

Neznanoneobvezno
Proportion6Proportion6

brez opisa

Neznanoneobvezno
Adoption6Adoption6

brez opisa

Neznanoneobvezno
Relinquished6Relinquished6

brez opisa

Neznanoneobvezno
Design6Design6

brez opisa

Neznanoneobvezno
Designer6Designer6

brez opisa

Neznanoneobvezno