Template:Flag/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(set manual links to fix wanted pages like Template:Flag/doc/de)
(link to main page as an example)
 
Line 5: Line 5:


The following flags are supported:
The following flags are supported:
* cs - <code><nowiki>{{Flag|cs}}</nowiki></code> - {{Flag|cs|link=Main/cs}}
* cs - <code><nowiki>{{Flag|cs}}</nowiki></code> - {{Flag|cs|link=Main Page/cs}}
* da - <code><nowiki>{{Flag|da}}</nowiki></code> - {{Flag|da|link=Main/da}}
* da - <code><nowiki>{{Flag|da}}</nowiki></code> - {{Flag|da|link=Main Page/da}}
* de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de|link=Main/de}}
* de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de|link=Main Page/de}}
* en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en|link=Main}}
* en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en|link=Main Page}}
* es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es|link=Main/es}}
* es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es|link=Main Page/es}}
* fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr|link=Main/fr}}
* fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr|link=Main Page/fr}}
* hu - <code><nowiki>{{Flag|hu}}</nowiki></code> - {{Flag|hu|link=Main/hu}}
* hu - <code><nowiki>{{Flag|hu}}</nowiki></code> - {{Flag|hu|link=Main Page/hu}}
* it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it|link=Main/it}}
* it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it|link=Main Page/it}}
* ja - <code><nowiki>{{Flag|ja}}</nowiki></code> - {{Flag|ja|link=Main/ja}}
* ja - <code><nowiki>{{Flag|ja}}</nowiki></code> - {{Flag|ja|link=Main Page/ja}}
* ko - <code><nowiki>{{Flag|ko}}</nowiki></code> - {{Flag|ko|link=Main/ko}}
* ko - <code><nowiki>{{Flag|ko}}</nowiki></code> - {{Flag|ko|link=Main Page/ko}}
* ms - <code><nowiki>{{Flag|ms}}</nowiki></code> - {{Flag|ms|link=Main/ms}}
* ms - <code><nowiki>{{Flag|ms}}</nowiki></code> - {{Flag|ms|link=Main Page/ms}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl|link=Main/nl}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl|link=Main Page/nl}}
* pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br|link=Main/pt-br}}
* pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br|link=Main Page/pt-br}}
* pt-pt - <code><nowiki>{{Flag|pt-pt}}</nowiki></code> - {{Flag|pt-pt|link=Main/pt-pt}}
* pt-pt - <code><nowiki>{{Flag|pt-pt}}</nowiki></code> - {{Flag|pt-pt|link=Main Page/pt-pt}}
* ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru|link=Main/ru}}
* ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru|link=Main Page/ru}}
* sv - <code><nowiki>{{Flag|sv}}</nowiki></code> - {{Flag|sv|link=Main/sv}}
* sv - <code><nowiki>{{Flag|sv}}</nowiki></code> - {{Flag|sv|link=Main Page/sv}}
* tr - <code><nowiki>{{Flag|tr}}</nowiki></code> - {{Flag|tr|link=Main/tr}}
* tr - <code><nowiki>{{Flag|tr}}</nowiki></code> - {{Flag|tr|link=Main Page/tr}}
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk|link=Main/uk}}
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk|link=Main Page/uk}}
* vi - <code><nowiki>{{Flag|vi}}</nowiki></code> - {{Flag|vi|link=Main/vi}}
* vi - <code><nowiki>{{Flag|vi}}</nowiki></code> - {{Flag|vi|link=Main Page/vi}}
* zh - <code><nowiki>{{Flag|zh}}</nowiki></code> - {{Flag|zh|link=Main/zh}}
* zh - <code><nowiki>{{Flag|zh}}</nowiki></code> - {{Flag|zh|link=Main Page/zh}}
* zh-tw - <code><nowiki>{{Flag|zh-tw}}</nowiki></code> - {{Flag|zh-tw|link=Main/zh-tw}}
* zh-tw - <code><nowiki>{{Flag|zh-tw}}</nowiki></code> - {{Flag|zh-tw|link=Main Page/zh-tw}}


<includeonly>[[Category:Localisation templates]]</includeonly>
<includeonly>[[Category:Localisation templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 16:27, 23 June 2024

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}} - Čeština
  • 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
  • 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, Brasil
  • pt-pt - {{Flag|pt-pt}} - Português
  • ru - {{Flag|ru}} - Русский
  • sv - {{Flag|sv}} - Svenska
  • tr - {{Flag|tr}} - Türkçe
  • uk - {{Flag|uk}} - Українська
  • vi - {{Flag|vi}} - Tiếng Việt Nam
  • zh - {{Flag|zh}} - 简体中文
  • zh-tw - {{Flag|zh-tw}} - 繁體中文