Difference between revisions of "Template:Flagicon"

From Team Fortress Wiki
Jump to: navigation, search
m (Example)
Line 1: Line 1:
<includeonly>[[File:Flag-{{lc:{{{1|}}}}}.png]]</includeonly>
+
<includeonly>[[File:Flag-{{lc:{{{1|}}}}}.png]]</includeonly><noinclude>A template to include a flag icon of a specified country.
<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 country code as specified in the [[wikipedia:ISO_3166-1_alpha-2|ISO 3166-1 Alpha 2 specification]].
  
==Example==
+
== Example ==
 
 
 
<nowiki>{{flagicon|us}}</nowiki> produces - {{flagicon|US}}
 
<nowiki>{{flagicon|us}}</nowiki> produces - {{flagicon|US}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
+
[[Category:Image insertion templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:04, 3 August 2010

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

Takes only one parameter, the country code as specified in the ISO 3166-1 Alpha 2 specification.

Example

{{flagicon|us}} produces - Flag-us.png