Difference between revisions of "Template:Flagright/core"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(remove CSS span for now - breaks some pages)
imported>Andrwsc
(span icon image with CSS class; remove whitespace to reduce template size — even a few bytes helps for pages with hundreds of transclusions)
Line 1: Line 1:
[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{
+
[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}}}]]<span class="flagicon">&nbsp;[[Image:{{#if:{{{variant|}}}|{{{flag alias-{{{variant}}}}}}|{{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]</span><noinclude>{{documentation}}</noinclude>
  #if: {{{name|}}} | {{{name}}} | {{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}
 
}}]]&nbsp;[[Image:{{
 
  #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}
 
}}|{{
 
  #if: {{{size|}}} | {{{size}}} | 22x20px
 
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]<noinclude>{{documentation}}</noinclude>
 

Revision as of 17:42, 25 January 2008

[[{{{alias}}} {{{altlink}}}|{{{alias}}}]] [[Image:{{{flag alias}}}|22x20px|border|Flag of {{{alias}}}]]

This template is used internally by Template:Fb-rt and others. It is not intended to be transcluded directly.

See Wikipedia:WikiProject Flag Template for further information.