Difference between revisions of "Template:Flag"

From Official Factorio Wiki
Jump to: navigation, search
Line 10: Line 10:
 
                           | #default = {{lc: {{{1}}} }}
 
                           | #default = {{lc: {{{1}}} }}
 
                       }}.png <!--
 
                       }}.png <!--
         --> | {{#if: {{{size|}}}  
+
         --> | {{#ifeq: {{{text|}}} | yes | 25px | {{#if: {{{size|}}}  
 
                   | {{{size}}}px  
 
                   | {{{size}}}px  
 
                   | 25px
 
                   | 25px
               }}  
+
               }} }}
 
             | {{#switch: {{lc: {{{1}}} }}  
 
             | {{#switch: {{lc: {{{1}}} }}  
 
                   | cs | cz = Česky  
 
                   | cs | cz = Česky  

Revision as of 20:58, 2 October 2014

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