Template:Flagicon image/doc: Difference between revisions

From wikiNonStop
Content added Content deleted
m (Updated template name.)
(No difference)

Revision as of 15:30, 17 July 2024

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 }}