Template:Flagicon image: Difference between revisions

Jump to navigation Jump to search
imported>Andrwsc
(add optional border rendering control)
imported>PineApple1298
m (1 revision imported)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<span class="flagicon">[[Image:{{{1|Sin bandera.svg}}}|{{{size|22x20px}}}|{{{border|border}}}}}} |{{{attr|{{{2|}}}}}}]]</span><noinclude>
<span class="flagicon">[[File:{{#if:{{{1|}}}|{{{1}}}|Flag placeholder.svg}}|{{{size|23x15px}}}|{{{border|{{#if:{{{1|}}}|border}}}}} |alt=|link={{{link|}}}]]</span><noinclude>{{documentation}}</noinclude>
 
{{Documentation, template|content=
<code><nowiki>{{flagicon image|image name|size=optional|attr=optional}}</nowiki></code>
 
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 [[:Category:Country data templates|country data template]].
 
'''Example:'''  <code><nowiki>{{flagicon image|Jolly-roger.svg|attr=Pirate flag}}</nowiki></code> {{flagicon image|Jolly-roger.svg|attr=Pirate flag}}
}}
[[Category:Flag template system|{{PAGENAME}}]]
</noinclude>

Latest revision as of 21:06, 27 January 2021

File:Flag placeholder.svg