Template:Flaglink/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4
m Fixed Switzerland/Vatican spacing
meta>S.A. Julio
m →‎top: adjust logic for spacing
Line 1: Line 1:
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border-{{{altvar}}}|{{{border|border}}}}}}}}} |alt=|link=]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]<noinclude>{{documentation}}</noinclude>
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border-{{{altvar}}}|{{{border|border}}}}}}}}} |alt=|link=]]&nbsp;{{#switch:{{{flag alias}}}|Flag of Switzerland.svg|Flag of the Vatican City.svg=&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]<noinclude>{{documentation}}</noinclude>

Revision as of 22:42, 22 October 2019

[[File:{{{flag alias}}}|23x15px|border |alt=|link=]] [[{{{alias}}} {{{altlink}}}|{{{alias}}}]]