This wiki is about 0.17, the current experimental version of Factorio.

Information about 0.16, the current stable version of Factorio, can be found on stable.wiki.factorio.com.

Difference between revisions of "Template:Flag"

From Official Factorio Wiki
Jump to: navigation, search
Line 27: Line 27:
 
                   | ru = Русский  
 
                   | ru = Русский  
 
                   | sv = Svenska  
 
                   | sv = Svenska  
 +
                  | tr = Turkish
 
                   | uk | ua = Українська  
 
                   | uk | ua = Українська  
 
                   | zh = 中文
 
                   | zh = 中文
Line 38: Line 39:
 
                           }}
 
                           }}
 
                         | {{#switch: {{Language suffix}}
 
                         | {{#switch: {{Language suffix}}
                               | cs| de | es | fr | it | ja | nl | pl | pt-br | ru | sv | uk | zh = {{#titleparts: {{FULLPAGENAME}} | -1 }}
+
                               | cs| de | es | fr | it | ja | nl | pl | pt-br | ru | sv | tr | uk | zh = {{#titleparts: {{FULLPAGENAME}} | -1 }}
 
                               | #default = {{FULLPAGENAME}}
 
                               | #default = {{FULLPAGENAME}}
 
                           }}{{#switch: {{lc: {{{1}}} }}
 
                           }}{{#switch: {{lc: {{{1}}} }}
Line 51: Line 52:
 
     }}  
 
     }}  
 
     | <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 | ja | 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 | tr | uk | zh = {{Language suffix}} | #default = en }} | {{{1}}} }}) <br/> }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 02:05, 26 February 2017

English

[View] [Edit] [Page history]

Documentation

Usage

{{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}} - Česky
  • da - {{Flag|da}} - Dansk
  • de - {{Flag|de}} - Deutsch
  • en - {{Flag|en}} - English
  • es - {{Flag|es}} - Español
  • fr - {{Flag|fr}} - Français
  • hu - {{Flag|hu}} - Magyar nyelv
  • it - {{Flag|it}} - Italiano
  • ja - {{Flag|ja}} - 日本語
  • ko - {{Flag|ko}} - 한국어
  • ms - {{Flag|ms}} - Bahasa Melayu
  • nl - {{Flag|nl}} - Nederlands
  • pt-br - {{Flag|pt-br}} - Português do Brasil
  • pt-pt - {{Flag|pt-pt}} - Português
  • ru - {{Flag|ru}} - Русский
  • sv - {{Flag|sv}} - Svenska
  • tr - {{Flag|tr}} - Turkish
  • uk - {{Flag|uk}} - Українська
  • vi - {{Flag|vi}} - Tiếng Việt
  • zh - {{Flag|zh}} - 中文
List of all templates