Jump to content

Template:Flagicon image/doc

From Wikipedia, the free encyclopedia

This template generates an icon for the specified image given in |1=, matching the size, CSS class, and other attributes of images produced by {{Flag icon}}. It can be used for arbitrary images not included in any Category:Country data templates.

Please consider the Manual of Style section on flags before using this template. Use caution when applying this template in infoboxes, as flags are generally discouraged in that context per MOS:INFOBOXFLAG. Additional considerations include avoiding flags used purely for decoration and ensuring historical accuracy. For further guidance, see MOS:FLAGS.

Do not use this template to display non-free images, as they are also not permitted in country data templates.
Usage
{{flagicon image|image name|size=optional|border=optional|link=optional}}
Examples
{{flagicon image|Red flag.svg}}
{{flagicon image|Red flag.svg|size=30x20px|link=Japan}}
{{flagicon image|ICS Alfa.svg|border=}}

See also

[edit]

{{ListFlag}}