Template:Flagicon image/sandbox
Appearance
This is the template sandbox page for Template:Flagicon image (diff). See also the companion subpage for test cases. |
This template is used on approximately 46,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. 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: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
[edit]{{ListFlag}}