Template:Flaglink/aligned: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>S.A. Julio
m →‎top: adjusting for improved method to define custom flag sizes
meta>S.A. Julio
m →‎top: fixing if statement
Line 1: Line 1:
<includeonly><span class="flagicon" style="display:inline-block;text-align:center;width:{{#invoke:Flaglist|width|{{{size|}}}}}px;">[[File:{{{flag alias-{{{variant}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{{size flag alias-{{{altvar}}}|{{#if:{{{variant|}}}{{{altvar|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}}}}|{{{border-{{{variant}}}|{{{border-{{{altvar}}}|{{{border|border}}}}}}}}} |alt=|link=]]</span>&nbsp;[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]</includeonly><noinclude>
<includeonly><span class="flagicon" style="display:inline-block;text-align:center;width:{{#invoke:Flaglist|width|{{{size|}}}}}px;">[[File:{{{flag alias-{{{variant}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias-{{{altvar}}}|{{#if:{{{altvar|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}}}}}}|{{{border-{{{variant}}}|{{{border-{{{altvar}}}|{{{border|border}}}}}}}}} |alt=|link=]]</span>&nbsp;[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]</includeonly><noinclude>
{{documentation|Template:Flaglink/core/doc}}
{{documentation|Template:Flaglink/core/doc}}
</noinclude>
</noinclude>

Revision as of 14:07, 23 October 2019