Template:Flag/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk}}
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl}}
* 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 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]].
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]].

Revision as of 11:33, 12 October 2014

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:

  • en - {{Flag|en}} - English
  • fr - {{Flag|fr}} - Français
  • de - {{Flag|de}} - Deutsch
  • ru - {{Flag|ru}} - Русский
  • es - {{Flag|es}} - Español
  • pt-br - {{Flag|pt-br}} - Português do Brasil
  • it - {{Flag|it}} - Italiano
  • cs - {{Flag|cs}} - Česky
  • uk - {{Flag|uk}} - Українська
  • nl - {{Flag|nl}} - Nederlands
  • zh - {{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.
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.