Template:Flagicon image/doc

From wikiNonStop
Revision as of 15:30, 17 July 2024 by en>6ii9 (Updated template name.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Produces an icon for the supplied image parameter, of the same size, CSS class, etc. as images produced by Template:Flag icon. This template can be used for arbitrary images that are not included in any country data template.

Caution is advised if this is used in infoboxes, as flags are generally discouraged there, and additional concerns (such as not using flags purely for decoration, and not using them in an anachronistic manner) may apply. Further guidance is given at MOS:FLAGS.

Please do not use this template to render non-free images, which would also not be acceptable within a country data template.

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

{{ListFlag }}