Template:Flagcountry/core: Difference between revisions

m
en>Andrwsc
(make shortname alias optional (only needed if different from alias), add alt attribute (optional - defaults to same as before), and update doc)
en>Andrwsc
m (moved Template:Country flagcountry to Template:Country flagcountry2: merging page histories)
Line 1:
[[Image:{{country flag alias {{{1}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|Flag of {{country alias {{{1}}}}}]]&nbsp;[[{{country alias {{{1}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{country shortname alias {{{1}}}}}}}]]<noinclude>
[[Image:{{
 
#if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
[[Category:Flag templates| ]]
}}|{{
[[sl:Predloga:Država zastavadržave]]
#if: {{{size|}}} | {{{size}}} | 22x20px
</noinclude>
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]&nbsp;[[{{{alias}}}|{{
#if: {{{name|}}} | {{{name}}} | {{{shortname alias|{{{alias}}}}}}
}}]]<noinclude>{{protected template}}{{template doc}}</noinclude>
Anonymous user