Template:Flaglink/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc
update for documentation and CSS class to permit hidden flag icons
Ookami (talk | contribs)
m 28 revisions imported
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<span class="flagicon">[[Image:{{
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias-{{{altvar}}}|{{#if:{{{flag alias-{{{altvar}}}|}}}|23x15px|{{{size flag alias|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>
  #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}
}}|{{
  #if: {{{size|}}} | {{{size}}} | 22x20px
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]&nbsp;</span>[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{
  #if: {{{name|}}} | {{{name}}} | {{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}
}}]]<noinclude>{{documentation}}</noinclude>

Latest revision as of 02:08, 3 September 2020

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