Difference between revisions of "Template:Flag/core"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(add new parameter for alt attribute of image (with default to previous value); "name" will now always be set, so no need to put into a conditional)
m (moved Template:Country flag to Template:Country flag2: merge page history)
Line 1: Line 1:
[[Image:{{
+
<!-- country_flag -->[[Image:{{country flag alias {{{1|}}}}}|{{#if:{{{size|}}}|{{{size}}}|22x20px}}|{{country alias {{{1}}}}}]]&nbsp;[[{{country alias {{{1|}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{country label alias {{{1|}}}}}}}]]<noinclude>[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>
  #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias}}}
 
}}|{{
 
  #if: {{{size|}}} | {{{size}}} | 22x20px
 
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]&nbsp;[[{{{alias}}}|{{{name}}}]]<noinclude>
 
{{protected template}}{{template doc}}</noinclude>
 

Revision as of 01:41, 26 August 2007

[[Image:Template:Country flag alias|22x20px|{{country alias {{{1}}}}}]] [[Template:Country alias|Template:Country label alias]]