Difference between revisions of "Template:Flagicon image/doc"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
(Adding examples for named parameters)
imported>Zyxw
(prevent sandbox from being included in category)
Line 10: Line 10:
 
: <code><nowiki>{{flagicon image|ICS Alpha.svg|border=}}</nowiki></code> → {{flagicon image|ICS Alpha.svg|border=}}
 
: <code><nowiki>{{flagicon image|ICS Alpha.svg|border=}}</nowiki></code> → {{flagicon image|ICS Alpha.svg|border=}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
[[Category:Flag template system|{{PAGENAME}}]]
+
[[Category:Flag template system]]
</includeonly>
+
 
 +
}}</includeonly>

Revision as of 00:12, 17 December 2018

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}}
Examples
{{flagicon image|Red flag.svg}}
{{flagicon image|Red flag.svg|size=30x20px}}
{{flagicon image|ICS Alpha.svg|border=}}