Template:Flag/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4
Default size for Switzerland and Vatican City changed
meta>SiBr4
Default to placeholder flag, to avoid breaking if a bot blanks a "flag alias" parameter
Line 1: Line 1:
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>

Revision as of 18:10, 5 December 2015

 [[{{{alias}}}|{{{name}}}]]