Difference between revisions of "Template:Flagright/flag"
Jump to navigation
Jump to search
imported>SiBr4 m (Removed one nbsp) |
imported>Zyxw (moved documentation to /doc) |
||
| Line 1: | Line 1: | ||
| − | [[{{{alias}}}|{{{name}}}]] {{#ifeq:{{{size}}}|23x16px| }}{{#ifeq:{{{alias}}}|Nepal| }}<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span><noinclude> | + | [[{{{alias}}}|{{{name}}}]] {{#ifeq:{{{size}}}|23x16px| }}{{#ifeq:{{{alias}}}|Nepal| }}<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span><noinclude>{{Documentation}}</noinclude> |
| − | |||
| − | |||
| − | |||
| − | </noinclude> | ||
Revision as of 23:33, 16 December 2018
[[{{{alias}}}|{{{name}}}]] [[File:{{{flag alias}}}|23x15px|border |alt=|link=]]
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>
| The above documentation is transcluded from Template:Flagright/flag/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |