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

From blackwiki
Jump to navigation Jump to search
imported>Blomsterhagens
imported>Jonesey95
(fix linter error (bogus file options))
Line 1: Line 1:
<span class="flagicon">[[File:{{#if:{{{1|}}}|{{{1}}}|Flag placeholder.svg}}|{{{size|23x15px}}}{{yesno|{{{border}}}|yes={{#if:{{{1|}}}|{{!}}border}}}} |alt=|link=]]</span><noinclude>{{documentation}}</noinclude>
+
<span class="flagicon">[[File:{{#if:{{{1|}}}|{{{1}}}|Flag placeholder.svg}}{{#if:{{{size|}}}|{{!}}{{{size}}}|{{!}}23x15px}}{{#if:{{{border|}}}|{{!}}{{{border}}}|{{#if:{{{1|}}}|{{!}}border}}|alt=|link=]]</span><noinclude>{{documentation}}</noinclude>
 
 
{{flagicon image|Estonia-nordic-cross-flag-2.svg|size=25x16px}}
 

Revision as of 18:18, 17 August 2018

File:Flag placeholder.svg

50px Template documentation[view] [edit] [history] [purge]

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}}23x15px
{{flagicon image|Red flag.svg|size=30x20px|link=Japan}}30x20px
{{flagicon image|ICS Alpha.svg|border=}}File:ICS Alpha.svg

See also

{{ListFlag}}