Template:Flag: Difference between revisions
Jump to navigation
Jump to search
(Categorized as localisation template) |
(Removed migration of wrong country codes (cz and uk)) |
||
Line 1: | Line 1: | ||
<noinclude>{{Flag|en}}</noinclude>{{#if: {{{1|}}} | | <noinclude>{{Flag|en}}</noinclude>{{#if: {{{1|}}} | | ||
{{#ifexist: File:Flag_ | {{#ifexist: File:Flag_{{{1}}}.png | ||
| [[File:Flag_{{{1}}}.png<!-- | |||
| [[File:Flag_ | |||
-->| {{#if: {{{size|}}} | -->| {{#if: {{{size|}}} | ||
| {{{size}}}px | | {{{size}}}px | ||
Line 15: | Line 7: | ||
}}<!-- | }}<!-- | ||
-->| {{#switch: {{lc: {{{1}}} }} | -->| {{#switch: {{lc: {{{1}}} }} | ||
| cs | | cs = Česky | ||
| da = Dansk | | da = Dansk | ||
| de = Deutsch | | de = Deutsch | ||
Line 33: | Line 25: | ||
| sv = Svenska | | sv = Svenska | ||
| tr = Turkish | | tr = Turkish | ||
| uk | | uk = Українська | ||
| vi = Tiếng Việt | | vi = Tiếng Việt | ||
| zh = 中文 | | zh = 中文 | ||
Line 49: | Line 41: | ||
}}{{#switch: {{lc: {{{1}}} }} | }}{{#switch: {{lc: {{{1}}} }} | ||
| en = | | en = | ||
| #default = /{{{1}}} | | #default = /{{{1}}} | ||
}} | }} |
Revision as of 17:48, 7 May 2020
[View] [Edit] [Page history]
DocumentationUsage
{{Flag|Language code|link=Page to link to|size=Size of the flag}}
This template creates a flag for a specific country.
The following flags are supported:
- cs -
{{Flag|cs}}
- - da -
{{Flag|da}}
- - de -
{{Flag|de}}
- - en -
{{Flag|en}}
- - es -
{{Flag|es}}
- - fr -
{{Flag|fr}}
- - hu -
{{Flag|hu}}
- - it -
{{Flag|it}}
- - ja -
{{Flag|ja}}
- - ko -
{{Flag|ko}}
- - ms -
{{Flag|ms}}
- - nl -
{{Flag|nl}}
- - pt-br -
{{Flag|pt-br}}
- - pt-pt -
{{Flag|pt-pt}}
- - ru -
{{Flag|ru}}
- - sv -
{{Flag|sv}}
- - tr -
{{Flag|tr}}
- - uk -
{{Flag|uk}}
- - vi -
{{Flag|vi}}
- - zh -
{{Flag|zh}}
- - zh-tw -
{{Flag|zh-tw}}
-