Template:Flagicon/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc
add link parameter to image syntax, so that clicking on the icon takes you to the article and not the image page
meta>Andrwsc
MediaWiki image syntax update
Line 1: Line 1:
<span class="flagicon">[[Image:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |{{{alt attribute|Flag of {{{alias}}}}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt={{{alt attribute|Flag of {{{alias}}}}}}|link={{{alias}}}]]</span><noinclude>{{documentation}}</noinclude>

Revision as of 19:24, 21 September 2009

[[File:{{{flag alias}}}|22x20px|border |alt=Flag of {{{alias}}}|link={{{alias}}}]]