Difference between revisions of "Template:Flag"

From comp.tf
Jump to navigation Jump to search
m (Deleting linebreak at beginning of page)
(Adding documentation)
Line 308: Line 308:
 
   }}
 
   }}
 
| [[Category:Unrecognised Flag]]
 
| [[Category:Unrecognised Flag]]
}}}}<noinclude>[[Category:Templates]]</noinclude>
+
}}}}<noinclude>
 +
Template for flags.
 +
 
 +
== Usage ==
 +
<pre>{{flag|uk}}</pre>
 +
yields
 +
{{flag|uk}}
 +
 
 +
== Example flag codes ==
 +
 
 +
{{flag|au}} Australia (au)<br/>
 +
{{flag|ca}} Canada (ca)<br/>
 +
{{flag|en}} England (en)<br/>
 +
{{flag|eu}} European Union (eu)<br/>
 +
{{flag|fr}} France (fr)<br/>
 +
{{flag|de}} Germany (de)<br/>
 +
{{flag|ie}} Ireland (ie)<br/>
 +
{{flag|es}} Spain (es)<br/>
 +
{{flag|se}} Sweden (se)<br/>
 +
{{flag|uk}} United Kingdom (uk)<br/>
 +
{{flag|us}} United States (us)<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:Templates]]</noinclude>

Revision as of 11:42, 25 August 2013

Template for flags.

Usage

{{flag|uk}}

yields

Error creating thumbnail: Unable to save thumbnail to destination

Example flag codes

Error creating thumbnail: Unable to save thumbnail to destination

Australia (au)

Error creating thumbnail: Unable to save thumbnail to destination

Canada (ca)

Error creating thumbnail: Unable to save thumbnail to destination

England (en)

Error creating thumbnail: Unable to save thumbnail to destination

European Union (eu)

Error creating thumbnail: Unable to save thumbnail to destination

France (fr)

Error creating thumbnail: Unable to save thumbnail to destination

Germany (de)

Error creating thumbnail: Unable to save thumbnail to destination

Ireland (ie)

Error creating thumbnail: Unable to save thumbnail to destination

Spain (es)

Error creating thumbnail: Unable to save thumbnail to destination

Sweden (se)

Error creating thumbnail: Unable to save thumbnail to destination

United Kingdom (uk)

Error creating thumbnail: Unable to save thumbnail to destination

United States (us)

Error creating thumbnail: Unable to save thumbnail to destination

Wales (wa)

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

{{flag|united kingdom}} =

Error creating thumbnail: Unable to save thumbnail to destination


{{flag|australia}} =

Error creating thumbnail: Unable to save thumbnail to destination