Template:Flag: Difference between revisions
Jump to navigation
Jump to search
Villager303 (talk | contribs) m (Attempt at adding Swedish language) |
No edit summary |
||
Line 21: | Line 21: | ||
| fr = Français | | fr = Français | ||
| it = Italiano | | it = Italiano | ||
| ja = 日本語 | |||
| nl = Nederlands | | nl = Nederlands | ||
| pl = Polska | | pl = Polska | ||
Line 36: | Line 37: | ||
}} | }} | ||
| {{#switch: {{Language suffix}} | | {{#switch: {{Language suffix}} | ||
| cs| de | es | fr | it | nl | pl | pt-br | ru | sv | uk | zh = {{#titleparts: {{FULLPAGENAME}} | -1 }} | | cs| de | es | fr | it | ja | nl | pl | pt-br | ru | sv | uk | zh = {{#titleparts: {{FULLPAGENAME}} | -1 }} | ||
| #default = {{FULLPAGENAME}} | | #default = {{FULLPAGENAME}} | ||
}}{{#switch: {{lc: {{{1}}} }} | }}{{#switch: {{lc: {{{1}}} }} | ||
Line 49: | Line 50: | ||
}} | }} | ||
| <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}}}}} ({{Country name| {{#switch: {{Language suffix}} | cs | de | es | fr | it | nl | pl | pt-br | ru | sv | uk | zh = {{Language suffix}} | #default = en }} | {{{1}}} }}) <br/> }}<noinclude> | }}{{#ifeq: {{{text|}}} | yes | {{-}} {{Country name|local|{{{1}}}}} ({{Country name| {{#switch: {{Language suffix}} | cs | de | es | fr | it | ja | nl | pl | pt-br | ru | sv | uk | zh = {{Language suffix}} | #default = en }} | {{{1}}} }}) <br/> }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 13:51, 19 October 2016
[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. - 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}}
-
Country codeuk
is not supported by the "Flag" template. Please consider adding it here. - vi -
{{Flag|vi}}
- - zh -
{{Flag|zh}}
- - zh-tw -
{{Flag|zh-tw}}
-