Template:Flag: Difference between revisions

From Official Factorio Wiki
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
                     | cs = cz
                     | uk = ua
                     | uk = ua
                     | #default = {{{1}}}
                     | #default = {{{1}}}
                 }}.png
                 }}.png
         | [[File:Flag_{{#switch: {{lc {{{1}}} }}
         | [[File:Flag_{{#switch: {{lc: {{{1}}} }}
               | cs = cz
               | cs = cz
               | uk = ua
               | uk = ua

Revision as of 16:08, 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]

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}} -
    Country code cs is not supported by this template!
  • da - {{Flag|da}} - da
  • de - {{Flag|de}} - Deutsch
  • en - {{Flag|en}} - English
  • es - {{Flag|es}} - Español
  • fr - {{Flag|fr}} - Français
  • hu - {{Flag|hu}} - hu
  • it - {{Flag|it}} - Italiano
  • ja - {{Flag|ja}} - ja
  • ko - {{Flag|ko}} - ko
  • ms - {{Flag|ms}} - ms
  • nl - {{Flag|nl}} - Nederlands
  • pt-br - {{Flag|pt-br}} - Português do Brasil
  • pt-pt - {{Flag|pt-pt}} - pt-pt
  • ru - {{Flag|ru}} - Русский
  • sv - {{Flag|sv}} - sv
  • tr - {{Flag|tr}} - tr
  • uk - {{Flag|uk}} -
    Country code uk is not supported by this template!
  • vi - {{Flag|vi}} - vi
  • zh - {{Flag|zh}} - zh
  • zh-tw - {{Flag|zh-tw}} - zh-tw
List of all templates