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