Difference between revisions of "Template:Flag/core"

From Self-sufficiency
Jump to: navigation, search
(new test: find pages that previously had to use name=hack to get desired country code (e.g. {{flag|GER|name=GER}}))
m (1 revision imported)
 
(28 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Image:{{
+
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{alias}}}|{{{name}}}]]<noinclude>{{documentation}}</noinclude>
  #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
+
}}|{{
+
  #if: {{{size|}}} | {{{size}}} | 22x20px
+
}}|Flag of {{{alias}}}]]&nbsp;[[{{{alias}}}|{{
+
  #if: {{{name|}}} | {{{name}}} | {{{countryname|Earth}}}  
+
}}]]{{<!--temporary-->
+
  #ifeq: {{{name}}} | {{{countryname}}} | [[Category:Articles that use Flag with unnecessary name parameter]] }}<noinclude>{{/doc}}</noinclude>
+

Latest revision as of 21:55, 17 February 2018

23x15px [[{{{alias}}}|{{{name}}}]]