Template:Flag: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
{{#ifexist: File:Flag_{{#switch: {{lc: {{{1}}} }} | {{#ifexist: File:Flag_{{#switch: {{lc: {{{1}}} }} | ||
| cs = cz | |||
| uk = ua | |||
| #default = {{{1}}} | |||
}}.png | |||
| [[File:Flag_{{#switch: {{lc: {{{1}}} }} | | [[File:Flag_{{#switch: {{lc: {{{1}}} }} | ||
| cs = cz | |||
| uk = ua | |||
| #default = {{{1}}} | |||
}}.png | |||
| {{#if: {{{size|}}} | |||
| {{{size}}}px | |||
| 25px | |||
}} | |||
| {{#switch: {{lc: {{{1}}} }} | |||
| en = English | |||
| fr = Français | |||
| de = Deutsch | |||
| ru = Русский | |||
| es = Español | |||
| pt-br = Português do Brasil | |||
| it = Italiano | |||
| cs | cz = Česky | |||
| uk | ua = Українська | |||
| nl = Nederlands | |||
| #default = {{{1}}} | |||
}} | |||
| link= {{#if: {{{2|}}} | |||
| {{{2}}} | |||
| {{FULLPAGENAME}}/{{#switch: {{lc: {{{1}}} }} | |||
| cz = cs | |||
| ua = uk | |||
| #default = {{{1}}} | |||
}} | |||
}} | |||
]] | ]] | ||
| <br><b>Country code <code>{{{1}}}</code> is not supported by this template!</b><br> | | <br><b>Country code <code>{{{1}}}</code> is not supported by this template!</b><br> | ||
Revision as of 16:18, 26 August 2014
Country parameter not found! Please insert a country code into the first parameter of the "Flag" template. Example: {{Flag|de}}
[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}}-
Country codecsis not supported by this template! - da -
{{Flag|da}}- [[File:Flag_da.png
| 25px
| da
| link= Template:Flag/da
]]
- de -
{{Flag|de}}- [[File:Flag_de.png
| 25px
| Deutsch
| link= Template:Flag/de
]]
- en -
{{Flag|en}}- [[File:Flag_en.png
| 25px
| English
| link= Template:Flag/en
]]
- es -
{{Flag|es}}- [[File:Flag_es.png
| 25px
| Español
| link= Template:Flag/es
]]
- fr -
{{Flag|fr}}- [[File:Flag_fr.png
| 25px
| Français
| link= Template:Flag/fr
]]
- hu -
{{Flag|hu}}- [[File:Flag_hu.png
| 25px
| hu
| link= Template:Flag/hu
]]
- it -
{{Flag|it}}- [[File:Flag_it.png
| 25px
| Italiano
| link= Template:Flag/it
]]
- ja -
{{Flag|ja}}- [[File:Flag_ja.png
| 25px
| ja
| link= Template:Flag/ja
]]
- ko -
{{Flag|ko}}- [[File:Flag_ko.png
| 25px
| ko
| link= Template:Flag/ko
]]
- ms -
{{Flag|ms}}- [[File:Flag_ms.png
| 25px
| ms
| link= Template:Flag/ms
]]
- nl -
{{Flag|nl}}- [[File:Flag_nl.png
| 25px
| Nederlands
| link= Template:Flag/nl
]]
- pt-br -
{{Flag|pt-br}}- [[File:Flag_pt-br.png
| 25px
| Português do Brasil
| link= Template:Flag/pt-br
]]
- pt-pt -
{{Flag|pt-pt}}- [[File:Flag_pt-pt.png
| 25px
| pt-pt
| link= Template:Flag/pt-pt
]]
- ru -
{{Flag|ru}}- [[File:Flag_ru.png
| 25px
| Русский
| link= Template:Flag/ru
]]
- sv -
{{Flag|sv}}- [[File:Flag_sv.png
| 25px
| sv
| link= Template:Flag/sv
]]
- tr -
{{Flag|tr}}- [[File:Flag_tr.png
| 25px
| tr
| link= Template:Flag/tr
]]
- uk -
{{Flag|uk}}-
Country codeukis not supported by this template! - vi -
{{Flag|vi}}- [[File:Flag_vi.png
| 25px
| vi
| link= Template:Flag/vi
]]
- zh -
{{Flag|zh}}- [[File:Flag_zh.png
| 25px
| zh
| link= Template:Flag/zh
]]
- zh-tw -
{{Flag|zh-tw}}- [[File:Flag_zh-tw.png
| 25px
| zh-tw
| link= Template:Flag/zh-tw
]]
List of all templates