Template:Flag: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
                   | #default = {{{1}}}
                   | #default = {{{1}}}
               }}  
               }}  
             | link= {{#if: {{{2|}}}  
             | {{#if: {{{link|}}}  
                        | {{#ifeq {{{2|}}} | none  
                  | {{#ifeq {{{link|}}} | none  
                              |
                        |
                              | {{{2}}}
                         | {{{link}}}
                          }}
                         | {{FULLPAGENAME}}/{{#switch: {{lc: {{{1}}} }}
                                              | cz = cs
                                              | ua = uk
                                              | #default = {{{1}}}
                                          }}
                     }}
                     }}
                  | {{FULLPAGENAME}}/{{#switch: {{lc: {{{1}}} }}
                                        | cz = cs
                                        | ua = uk
                                        | #default = {{{1}}}
                                    }}
              }}
         ]]  
         ]]  
         | <br><b>Country code <code>{{{1}}}</code> is not supported by this template!</b><br>  
         | <br><b>Country code <code>{{{1}}}</code> is not supported by this template!</b><br>  

Revision as of 16:46, 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}} - Template:Flag/da
  • de - {{Flag|de}} - Template:Flag/de
  • en - {{Flag|en}} - Template:Flag/en
  • es - {{Flag|es}} - Template:Flag/es
  • fr - {{Flag|fr}} - Template:Flag/fr
  • hu - {{Flag|hu}} - Template:Flag/hu
  • it - {{Flag|it}} - Template:Flag/it
  • ja - {{Flag|ja}} - Template:Flag/ja
  • ko - {{Flag|ko}} - Template:Flag/ko
  • ms - {{Flag|ms}} - Template:Flag/ms
  • nl - {{Flag|nl}} - Template:Flag/nl
  • pt-br - {{Flag|pt-br}} - Template:Flag/pt-br
  • pt-pt - {{Flag|pt-pt}} - Template:Flag/pt-pt
  • ru - {{Flag|ru}} - Template:Flag/ru
  • sv - {{Flag|sv}} - Template:Flag/sv
  • tr - {{Flag|tr}} - Template:Flag/tr
  • uk - {{Flag|uk}} -
    Country code uk is not supported by this template!
  • vi - {{Flag|vi}} - Template:Flag/vi
  • zh - {{Flag|zh}} - Template:Flag/zh
List of all templates