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: {{{link|}}}  
             | {{#if: {{{link|}}}  
                        | {{{link}}}
                  | {{#ifeq {{{link|}}} | none
                        | {{FULLPAGENAME}}/{{#switch: {{lc: {{{1}}} }}
                        | link=
                                              | cz = cs
                        | link= {{{link}}}
                                              | ua = uk
                                              | #default = {{{1}}}  
                                          }}
                     }}
                     }}
                  | link= {{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 17:04, 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}} -
    link= Main Page/da }}
  • de - {{Flag|de}} -
    link= Main Page/de }}
  • en - {{Flag|en}} -
    link= Main Page }}
  • es - {{Flag|es}} -
    link= Main Page/es }}
  • fr - {{Flag|fr}} -
    link= Main Page/fr }}
  • hu - {{Flag|hu}} -
    link= Main Page/hu }}
  • it - {{Flag|it}} -
    link= Main Page/it }}
  • ja - {{Flag|ja}} -
    link= Main Page/ja }}
  • ko - {{Flag|ko}} -
    link= Main Page/ko }}
  • ms - {{Flag|ms}} -
    link= Main Page/ms }}
  • nl - {{Flag|nl}} -
    link= Main Page/nl }}
  • pt-br - {{Flag|pt-br}} -
    link= Main Page/pt-br }}
  • pt-pt - {{Flag|pt-pt}} -
    link= Main Page/pt-pt }}
  • ru - {{Flag|ru}} -
    link= Main Page/ru }}
  • sv - {{Flag|sv}} -
    link= Main Page/sv }}
  • tr - {{Flag|tr}} -
    link= Main Page/tr }}
  • uk - {{Flag|uk}} -
    Country code uk is not supported by this template!
  • vi - {{Flag|vi}} -
    link= Main Page/vi }}
  • zh - {{Flag|zh}} -
    link= Main Page/zh }}
  • zh-tw - {{Flag|zh-tw}} -
    link= Main Page/zh-tw }}
List of all templates