Difference between revisions of "Template:Flagright/flag"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
m (Update Swiss/Vatican size)
imported>SiBr4
m (Removed one nbsp)
Line 1: Line 1:
[[{{{alias}}}|{{{name}}}]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}&nbsp;<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span><noinclude>
+
[[{{{alias}}}|{{{name}}}]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span><noinclude>
  
 
== Documentation ==
 
== Documentation ==
 
Because {{tl|flagright/core}} doesn't seem to work properly for non-sports usages in some cases (possibly related to the absence of the {{{altlink}}} parameter on some country data templates), this template is used as the "core" for {{tl|flagright}}. The code is copied from {{tl|flag/core}}, but has the flag icon and the country link switched.
 
Because {{tl|flagright/core}} doesn't seem to work properly for non-sports usages in some cases (possibly related to the absence of the {{{altlink}}} parameter on some country data templates), this template is used as the "core" for {{tl|flagright}}. The code is copied from {{tl|flag/core}}, but has the flag icon and the country link switched.
 
</noinclude>
 
</noinclude>

Revision as of 16:15, 11 April 2015

[[{{{alias}}}|{{{name}}}]] [[File:{{{flag alias}}}|23x15px|border |alt=|link=]]

Documentation

Because {{flagright/core}} doesn't seem to work properly for non-sports usages in some cases (possibly related to the absence of the {{{altlink}}} parameter on some country data templates), this template is used as the "core" for {{flagright}}. The code is copied from {{flag/core}}, but has the flag icon and the country link switched.