Difference between revisions of "Template:Flagright/core"

From blackwiki
Jump to navigation Jump to search
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)
imported>Andrwsc
(allow for optional border rendering)
Line 1: Line 1:
[[{{{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>
+
[[{{{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-{{{variant}}}|{{{border|border}}}}}}|{{{alt attribute|Flag of {{{alias}}}}}}]]</span><noinclude>{{documentation}}</noinclude>

Revision as of 19:34, 9 April 2008

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

50px Template documentation[view] [edit] [history] [purge]

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.