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}}}}} ({{Country name| {{#switch: {{lc: {{#titleparts: {{FULLPAGENAME}} | | -1 }} }} | cs | de | en | es | fr | it | nl | pt-br | ru | uk = {{#titleparts: {{FULLPAGENAME}} | | -1 }} | #default = en }} | {{| {{{1}}} }}) }}<noinclude> | }}{{#ifeq: {{{text|}}} | yes | {{-}} {{Country name|local|{{{1}}}}} ({{Country name| {{#switch: {{lc: {{#titleparts: {{FULLPAGENAME}} | | -1 }} }} | cs | de | en | es | fr | it | nl | pt-br | ru | uk = {{#titleparts: {{FULLPAGENAME}} | | -1 }} | #default = en }} }}| {{| {{{1}}} }}) }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 20:34, 2 October 2014
[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 the "Flag" template. Please consider adding it here.
{{| cs }}) - da -
{{Flag|da}}-
{{| da }}) - de -
{{Flag|de}}-
{{| de }}) - en -
{{Flag|en}}-
{{| en }}) - es -
{{Flag|es}}-
{{| es }}) - fr -
{{Flag|fr}}-
{{| fr }}) - hu -
{{Flag|hu}}-
{{| hu }}) - it -
{{Flag|it}}-
{{| it }}) - ja -
{{Flag|ja}}-
{{| ja }}) - ko -
{{Flag|ko}}-
{{| ko }}) - ms -
{{Flag|ms}}-
{{| ms }}) - nl -
{{Flag|nl}}-
{{| nl }}) - pt-br -
{{Flag|pt-br}}-
{{| pt-br }}) - pt-pt -
{{Flag|pt-pt}}-
{{| pt-pt }}) - ru -
{{Flag|ru}}-
{{| ru }}) - sv -
{{Flag|sv}}-
{{| sv }}) - tr -
{{Flag|tr}}-
{{| tr }}) - uk -
{{Flag|uk}}-
Country codeukis not supported by the "Flag" template. Please consider adding it here.
{{| uk }}) - vi -
{{Flag|vi}}-
{{| vi }}) - zh -
{{Flag|zh}}-
{{| zh }}) - zh-tw -
{{Flag|zh-tw}}-
{{| zh-tw }})