Difference between revisions of "Template:Flagicon image"
Jump to navigation
Jump to search
test>Little Mountain 5 m (Changed protection level of Template:Flagicon image: Highly visible template: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
test>SiBr4 (Unbordered transparent image if first parameter is empty or undefined (see talk page)) |
||
| Line 1: | Line 1: | ||
| − | <span class="flagicon">[[File:{{{1|Flag placeholder.svg | + | <span class="flagicon">[[File:{{#if:{{{1|}}}|{{{1}}}|Flag placeholder.svg}}|{{{size|23x15px}}}|{{{border|{{#if:{{{1|}}}|border}}}}} |alt=|link=]]</span><noinclude>{{documentation}}</noinclude> |
Revision as of 08:49, 8 December 2014
![]()
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.
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 Alpha.svg|border=}}→
See also
{{ListFlag}}
| The above documentation is transcluded from Template:Flagicon image/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |