Difference between revisions of "Template:Flag"

From comp.tf
Jump to navigation Jump to search
m
(updated flag template, should be more self explanatory)
Line 312: Line 312:
 
| [[Category:Unrecognised Flag]]
 
| [[Category:Unrecognised Flag]]
 
}}}}<noinclude>
 
}}}}<noinclude>
Template for flags.
+
 
 +
Template for flag icons.
  
 
== Usage ==
 
== Usage ==
 +
Just copy the code below to the page you want.
 +
 +
=== Example ===
 
<pre>{{flag|uk}}</pre>
 
<pre>{{flag|uk}}</pre>
yields
+
=== Will Yeld ===
 
{{flag|uk}}
 
{{flag|uk}}
 +
 +
You can also use the full names, e.g.:
 +
 +
<code><nowiki>{{flag|united kingdom}}</nowiki></code> = {{flag|united kingdom}}<br/>
 +
<code><nowiki>{{flag|australia}}</nowiki></code> = {{flag|australia}}
  
 
== Available Flags ==
 
== Available Flags ==
 +
 +
The coutry codes are as follows:
  
 
*{{flag|au}} Australia (au)<br/>
 
*{{flag|au}} Australia (au)<br/>
 
*{{flag|be}} Belgium (be)<br/>
 
*{{flag|be}} Belgium (be)<br/>
 +
*{{flag|br}} Brazil (br)<br/>
 
*{{flag|ca}} Canada (ca)<br/>
 
*{{flag|ca}} Canada (ca)<br/>
 
*{{flag|en}} England (en)<br/>
 
*{{flag|en}} England (en)<br/>
Line 333: Line 345:
 
*{{flag|no}} Norway (no)<br/>
 
*{{flag|no}} Norway (no)<br/>
 
*{{flag|pt}} Portugal (pt)<br/>
 
*{{flag|pt}} Portugal (pt)<br/>
 +
*{{flag|sa}} Saudi Arabia (sa)<br/>
 
*{{flag|es}} Spain (es)<br/>
 
*{{flag|es}} Spain (es)<br/>
 
*{{flag|se}} Sweden (se)<br/>
 
*{{flag|se}} Sweden (se)<br/>
Line 338: Line 351:
 
*{{flag|us}} United States (us)<br/>
 
*{{flag|us}} United States (us)<br/>
 
*{{flag|wa}} Wales (wa)<br/>
 
*{{flag|wa}} Wales (wa)<br/>
 
You can also use the full names, e.g.:
 
 
<code><nowiki>{{flag|united kingdom}}</nowiki></code> = {{flag|united kingdom}}<br/>
 
<code><nowiki>{{flag|australia}}</nowiki></code> = {{flag|australia}}
 
  
 
[[Category:Template]]</noinclude>
 
[[Category:Template]]</noinclude>

Revision as of 21:58, 7 September 2013


Template for flag icons.

Usage

Just copy the code below to the page you want.

Example

{{flag|uk}}

Will Yeld

United Kingdom

You can also use the full names, e.g.:

{{flag|united kingdom}} = United Kingdom
{{flag|australia}} = Australia

Available Flags

The coutry codes are as follows:

  • Australia Australia (au)
  • Belgium Belgium (be)
  • Brazil Brazil (br)
  • Canada Canada (ca)
  • England England (en)
  • Europe European Union (eu)
  • Finland Finland (fi)
  • France France (fr)
  • Germany Germany (de)
  • Ireland Ireland (ie)
  • Netherlands Netherlands (nl)
  • Norway Norway (no)
  • Portugal Portugal (pt)
  • Saudi Arabia Saudi Arabia (sa)
  • Spain Spain (es)
  • Sweden Sweden (se)
  • United Kingdom United Kingdom (uk)
  • USA United States (us)
  • Wales Wales (wa)