Difference between revisions of "Template:Flagright/flag"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
m (Removed one nbsp)
imported>Zyxw
(moved documentation to /doc)
Line 1: Line 1:
[[{{{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>
+
[[{{{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}}</noinclude>
 
 
== 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.
 
</noinclude>
 

Revision as of 23:33, 16 December 2018

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

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

This template is used internally by Template:Flagright. It is not intended to be transcluded directly.

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. </noinclude>