Template:Flagcountry/core: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
en>Andrwsc (make shortname alias optional (only needed if different from alias), add alt attribute (optional - defaults to same as before), and update doc) |
m (1 revision imported) |
||
(18 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<span class="datasortkey" data-sort-value="{{{sortkey|{{{shortname alias|{{{alias}}}}}}}}}"><!-- |
|||
[[Image:{{ |
|||
--><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}}}}}} |<!-- |
|||
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]] [[{{{alias}}}|{{ |
|||
-->alt=|<!-- |
|||
⚫ | |||
-->link=]] <!-- |
|||
}}]]<noinclude>{{protected template}}{{template doc}}</noinclude> |
|||
-->{{#switch:{{{flag alias}}}|Flag of Switzerland.svg|Flag of the Vatican City.svg= }}<!-- |
|||
-->{{#ifeq:{{{alias}}}|Nepal| }}<!-- |
|||
--></span>[[{{{link alias-{{{variant}}}|{{{alias}}}}}}|<!-- |
|||
⚫ | |||
--></span><noinclude>{{documentation}}</noinclude> |