Template:Flag/doc: Difference between revisions
Jump to navigation
Jump to search
{{Flag|au}}
{{Flag|be}}
{{Flag|bn}}
{{Flag|ca}}
{{Flag|cs}}
{{Flag|de}}
{{Flag|el}}
{{Flag|en}}
{{Flag|en-GB}}
{{Flag|eo}}
{{Flag|es}}
{{Flag|et}}
{{Flag|fr}}
{{Flag|ga}}
{{Flag|he}}
{{Flag|hi}}
{{Flag|hu}}
{{Flag|it}}
{{Flag|ja}}
{{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|sv}}
{{Flag|th}}
{{Flag|tr}}
{{Flag|uk}}
{{Flag|vi}}
{{Flag|zh}}
{{Flag|zh-tw}}
{{Flag|zw}}
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Doc/subpage}} | {{Doc/subpage}} | ||
This template displays a flag, depending on the specified code. All flag codes must follow the [[w:ISO 639|ISO 639]] codes (unless it's not language-specific). However, some flags are not language-specific, such as {{Code|preset=2|au}} or {{Code|preset=2|zw}}, so these flags will not have a tooltip. | This template displays a flag, depending on the specified code. All flag codes must follow the [[w:ISO 639|ISO 639]] codes (unless it's not language-specific, which it will be based off [[w:ISO 3166|ISO 3166]] instead). However, some flags are not language-specific, such as {{Code|preset=2|au}} or {{Code|preset=2|zw}}, so these flags will not have a tooltip. | ||
== Parameters and Examples == | == Parameters and Examples == | ||
Line 31: | Line 31: | ||
}} | }} | ||
== Available Flags == | == Available Flags ==<!-- It's highly recommended to sort this from A-Z --> | ||
<div style="background:#262626; display:flex; flex-wrap:wrap; gap:.7em; white-space:nowrap"> | <div style="background:#262626; display:flex; flex-wrap:wrap; gap:.7em; white-space:nowrap"> | ||
{{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|au}}}} {{Code|select=all|<nowiki>{{Flag|au}}</nowiki>}} }} | {{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|au}}}} {{Code|select=all|<nowiki>{{Flag|au}}</nowiki>}} }} | ||
Line 57: | Line 57: | ||
{{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|ko}}}} {{Code|select=all|<nowiki>{{Flag|ko}}</nowiki>}} }} | {{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|ko}}}} {{Code|select=all|<nowiki>{{Flag|ko}}</nowiki>}} }} | ||
{{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|lo}}}} {{Code|select=all|<nowiki>{{Flag|lo}}</nowiki>}} }} | {{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|lo}}}} {{Code|select=all|<nowiki>{{Flag|lo}}</nowiki>}} }} | ||
{{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|ms}}}} {{Code|select=all|<nowiki>{{Flag|ms}}</nowiki>}} }} | |||
{{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|nl}}}} {{Code|select=all|<nowiki>{{Flag|nl}}</nowiki>}} }} | {{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|nl}}}} {{Code|select=all|<nowiki>{{Flag|nl}}</nowiki>}} }} | ||
{{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|no}}}} {{Code|select=all|<nowiki>{{Flag|no}}</nowiki>}} }} | {{Capsule|align=center| {{Capsule|style=2|padding=12px 14px|width=fit-content|{{Flag|no}}}} {{Code|select=all|<nowiki>{{Flag|no}}</nowiki>}} }} |
Revision as of 02:04, 20 June 2023

This is a documentation subpage for Template:Flag.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template displays a flag, depending on the specified code. All flag codes must follow the ISO 639 codes (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.
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. ![]() |
![]() |
Available Flags












{{Flag|fil}}


























