Template:Flag: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
}} | }} | ||
| <br><includeonly><b>No country code specified! Please insert a country code into the first parameter of the "Flag" template. Example: <code><nowiki>{{Flag|de}}</nowiki></code></b>[[Category:Pages that link to the Flag template without specifying a country codes]]</includeonly><br> | | <br><includeonly><b>No country code specified! Please insert a country code into the first parameter of the "Flag" template. Example: <code><nowiki>{{Flag|de}}</nowiki></code></b>[[Category:Pages that link to the Flag template without specifying a country codes]]</includeonly><br> | ||
}}{{#ifeq: {{{text|}}} | yes | {{-}} {{Country name|local|{{{1}}}}} ( | }}{{#ifeq: {{{text|}}} | yes | {{-}} {{Country name|local|{{{1}}}}} ({{Country name| {{#switch: {{#titleparts: {{FULLPAGENAME}} | | -1 }} |{{{1}}}}}) }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:12, 2 October 2014
{{#ifeq: | yes | Template:- English ({{{2}}}
{{#ifeq: | yes | Template:- {{{1}}} ({{{2}}}
[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 codecs
is not supported by the "Flag" template. Please consider adding it here.
{{#ifeq: | yes | Template:- Česky ({{{2}}} - da -
{{Flag|da}}
-{{#ifeq: | yes | Template:- da ({{{2}}}
- de -
{{Flag|de}}
-{{#ifeq: | yes | Template:- Deutsch ({{{2}}}
- en -
{{Flag|en}}
-{{#ifeq: | yes | Template:- English ({{{2}}}
- es -
{{Flag|es}}
-{{#ifeq: | yes | Template:- Español ({{{2}}}
- fr -
{{Flag|fr}}
-{{#ifeq: | yes | Template:- Français ({{{2}}}
- hu -
{{Flag|hu}}
-{{#ifeq: | yes | Template:- hu ({{{2}}}
- it -
{{Flag|it}}
-{{#ifeq: | yes | Template:- Italiano ({{{2}}}
- ja -
{{Flag|ja}}
-{{#ifeq: | yes | Template:- ja ({{{2}}}
- ko -
{{Flag|ko}}
-{{#ifeq: | yes | Template:- ko ({{{2}}}
- ms -
{{Flag|ms}}
-{{#ifeq: | yes | Template:- ms ({{{2}}}
- nl -
{{Flag|nl}}
-{{#ifeq: | yes | Template:- Nederlands ({{{2}}}
- pt-br -
{{Flag|pt-br}}
-{{#ifeq: | yes | Template:- Português do Brasil ({{{2}}}
- pt-pt -
{{Flag|pt-pt}}
-{{#ifeq: | yes | Template:- pt-pt ({{{2}}}
- ru -
{{Flag|ru}}
-{{#ifeq: | yes | Template:- Русский ({{{2}}}
- sv -
{{Flag|sv}}
-{{#ifeq: | yes | Template:- sv ({{{2}}}
- tr -
{{Flag|tr}}
-{{#ifeq: | yes | Template:- tr ({{{2}}}
- uk -
{{Flag|uk}}
-
Country codeuk
is not supported by the "Flag" template. Please consider adding it here.
{{#ifeq: | yes | Template:- Українська ({{{2}}} - vi -
{{Flag|vi}}
-{{#ifeq: | yes | Template:- vi ({{{2}}}
- zh -
{{Flag|zh}}
-{{#ifeq: | yes | Template:- 简体中文 ({{{2}}}
- zh-tw -
{{Flag|zh-tw}}
-{{#ifeq: | yes | Template:- zh-tw ({{{2}}}