Template:Flagicon image/doc
This is a documentation subpage for Template:Flagicon image. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Produces an icon for the supplied image parameter, of the same size, CSS class, etc. as images produced by Template:Flagicon. 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}}