Template:Flag
Jump to navigation
Jump to search
This template displays a flag, depending on the specified code. All flag codes must be a MediaWiki language code (unless it's not language-specific, which it will be based off ISO 3166 instead). However, some flags are not language-specific, such as au
or zw
, so these flags will not have a tooltip.
See Category:flag icons for adding new flags.
Parameters and Examples
Parameters | Description | Examples | Preview |
---|---|---|---|
{{{1}}} |
Flag code. If not specified, a white flag will be displayed. | |
|
{{{link}}} |
Adds a link to a flag. | ||
{{{size}}} |
Sets the size of the flag. The default value is 16. Note:Enter only the size, without px at the end. |
|
Available Flags
Language-specific
{{Flag|ar}}
{{Flag|be}}
{{Flag|bg}}
{{Flag|bn}}
{{Flag|bs}}
{{Flag|ca}}
{{Flag|cs}}
{{Flag|de}}
{{Flag|el}}
{{Flag|en}}
{{Flag|en-gb}}
{{Flag|eo}}
{{Flag|es}}
{{Flag|et}}
{{Flag|fi}}
{{Flag|fr}}
{{Flag|ga}}
{{Flag|he}}
{{Flag|hi}}
{{Flag|hr}}
{{Flag|hu}}
{{Flag|id}}
{{Flag|it}}
{{Flag|ja}}
{{Flag|jam}}
{{Flag|ka}}
{{Flag|km}}
{{Flag|ko}}
{{Flag|lo}}
{{Flag|ms}}
{{Flag|nl}}
{{Flag|no}}
{{Flag|pl}}
{{Flag|pt}}
{{Flag|pt-br}}
{{Flag|ro}}
{{Flag|ru}}
{{Flag|sco}}
{{Flag|sv}}
{{Flag|sw}}
{{Flag|th}}
{{Flag|tn}}
{{Flag|tr}}
{{Flag|uk}}
{{Flag|vi}}
{{Flag|vro}}
{{Flag|zh}}
{{Flag|zh-tw}}
Countries
{{Flag|au}}
{{Flag|ph}}
{{Flag|zw}}
{{Flag|su}}
See also
The above documentation is transcluded from Template:Flag/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.