Difference between revisions of "Template:Flagicon"

From LINKS Community Center
Jump to: navigation, search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{lc:{{{1|}}}}}.svg|200x200px]]</includeonly><noinclude>A template to include a flag icon of a specified country.
+
<includeonly>[[File:{{{1}}}.svg|link=|class=country-flag]]</includeonly><noinclude>A template to include a flag icon of a specified country.
 
 
Takes only one parameter, the country code as specified in the [[wikipedia:ISO_3166-1_alpha-2|ISO 3166-1 Alpha 2 specification]].
 
  
 +
Takes only one parameter, the name of the country
 
== Example ==
 
== Example ==
<nowiki>{{flagicon|us}}</nowiki> produces - {{flagicon|US}}
+
<nowiki>{{flagicon|United States of America}}</nowiki> produces - {{flagicon|United States of America}}
  
 
== See also ==
 
== See also ==

Latest revision as of 12:16, 25 May 2022

A template to include a flag icon of a specified country.

Takes only one parameter, the name of the country

Example

{{flagicon|United States of America}} produces - United States of America.svg

See also

Template:Image insertion templates list