Template:Flaglink/core: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc m altlink must be present |
meta>Andrwsc update for documentation and CSS class to permit hidden flag icons |
||
Line 1: | Line 1: | ||
[[Image:{{ | <span class="flagicon">[[Image:{{ | ||
#if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-{{{altvar}}}|{{{flag alias}}}}}} | #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-{{{altvar}}}|{{{flag alias}}}}}} | ||
}}|{{ | }}|{{ | ||
#if: {{{size|}}} | {{{size}}} | 22x20px | #if: {{{size|}}} | {{{size}}} | 22x20px | ||
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]] [[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{ | }}|border|{{{alt attribute|Flag of {{{alias}}}}}}]] </span>[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{ | ||
#if: {{{name|}}} | {{{name}}} | {{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}} | #if: {{{name|}}} | {{{name}}} | {{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}} | ||
}}]]<noinclude>{{ | }}]]<noinclude>{{documentation}}</noinclude> |