Template:Flag/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Added Swedish)
(Added Portuguese language support)
 
(9 intermediate revisions by 2 users not shown)
Line 7: Line 7:
The following flags are supported:
The following flags are supported:
* cs - <code><nowiki>{{Flag|cs}}</nowiki></code> - {{Flag|cs}}
* cs - <code><nowiki>{{Flag|cs}}</nowiki></code> - {{Flag|cs}}
* da - <code><nowiki>{{Flag|da}}</nowiki></code> - {{Flag|da}}
* de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de}}
* de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de}}
* en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en}}
* en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en}}
* es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es}}
* es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es}}
* fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr}}
* fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr}}
* hu - <code><nowiki>{{Flag|hu}}</nowiki></code> - {{Flag|hu}}
* it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it}}
* it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it}}
* ja - <code><nowiki>{{Flag|ja}}</nowiki></code> - {{Flag|ja}}
* ko - <code><nowiki>{{Flag|ko}}</nowiki></code> - {{Flag|ko}}
* ms - <code><nowiki>{{Flag|ms}}</nowiki></code> - {{Flag|ms}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl}}
* pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br}}
* pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br}}
* pt-pt - <code><nowiki>{{Flag|pt-pt}}</nowiki></code> - {{Flag|pt-pt}}
* ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru}}
* ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru}}
* sv - <code><nowiki>{{Flag|sv}}</nowiki></code> - {{Flag|sv}}
* sv - <code><nowiki>{{Flag|sv}}</nowiki></code> - {{Flag|sv}}
* tr - <code><nowiki>{{Flag|tr}}</nowiki></code> - {{Flag|tr}}
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk}}
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk}}
* vi - <code><nowiki>{{Flag|vi}}</nowiki></code> - {{Flag|vi}}
* zh - <code><nowiki>{{Flag|zh}}</nowiki></code> - {{Flag|zh}}
* zh - <code><nowiki>{{Flag|zh}}</nowiki></code> - {{Flag|zh}}
If no language code is specified, the page this template is used on will be added to [[:Category:Pages that link to the Flag template without specifying a country codes]].<br>
If the specified language code is not supported by this template, the page this template is used on will be added to [[:Category:Pages that link to the Flag template using unsupported country codes]].

Latest revision as of 15:02, 4 July 2018

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}} - 中文