Difference between revisions of "Template:Flagcountry/core"
Jump to navigation
Jump to search
imported>GPHemsley (Add support for {{{link alias-{{{variant}}}}}} parameter.) |
imported>S.A. Julio m (→top: adjusting for improved method to define custom flag sizes) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]] {{# | + | <span class="datasortkey" data-sort-value="{{{sortkey|{{{shortname alias|{{{alias}}}}}}}}}"><!-- |
| + | --><span class="flagicon"><!-- | ||
| + | -->[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|<!-- | ||
| + | -->{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}|<!-- | ||
| + | -->{{{border-{{{variant}}}|{{{border|border}}}}}} |<!-- | ||
| + | -->alt=|<!-- | ||
| + | -->link=]] <!-- | ||
| + | -->{{#switch:{{{flag alias}}}|Flag of Switzerland.svg|Flag of the Vatican City.svg= }}<!-- | ||
| + | -->{{#ifeq:{{{alias}}}|Nepal| }}<!-- | ||
| + | --></span>[[{{{link alias-{{{variant}}}|{{{alias}}}}}}|<!-- | ||
| + | -->{{#if:{{{name|}}}|{{{name}}}|{{{shortname alias|{{{alias}}}}}}}}]]<!-- | ||
| + | --></span><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 23:20, 22 October 2019
[[File:{{{flag alias}}}|23x15px|border |alt=|link=]] [[{{{alias}}}|{{{alias}}}]]
This template is used internally by Template:Flagcountry. It is not intended to be transcluded directly.
See Wikipedia:WikiProject Flag Template for further information.
| The above documentation is transcluded from Template:Flagcountry/core/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |