Template:Flagicon/core: Difference between revisions

Jump to navigation Jump to search
imported>Andrwsc
(add ability to change alt attribute (defaults to same as before); update doc)
imported>PineApple1298
m (1 revision imported)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Image:{{
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{safesubst<noinclude />:#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{safesubst<noinclude />:#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{safesubst<noinclude />:#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt={{{alias}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>
  #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
}}|{{
  #if: {{{size|}}} | {{{size}}} | 22x20px
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]<noinclude>{{protected template}}{{template doc}}
</noinclude>

Latest revision as of 21:06, 27 January 2021

{{{alias}}}