Template:Flag/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Replaced content with "Test")
(Undo revision 112355 by TheWombatGuru (talk))
Line 1: Line 1:
Test
== Usage ==
 
<code><nowiki>{{</nowiki>Flag|''Language code''|link=''Page to link to''|size=''Size of the flag''}}</code>
 
This template creates a flag for a specific country.
 
The following flags are supported:
* en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en}}
* fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr}}
* de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de}}
* ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru}}
* es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es}}
* pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br}}
* it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it}}
* cs - <code><nowiki>{{Flag|cs}}</nowiki></code> - {{Flag|cs}}
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk}}
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl}}
 
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 an unsupported language code is specified, 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 20:20, 29 September 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, Brasil
  • it - {{Flag|it}} - Italiano
  • cs - {{Flag|cs}} - Čeština
  • uk - {{Flag|uk}} - Українська
  • nl - {{Flag|nl}} - Nederlands

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 an unsupported language code is specified, the page this template is used on will be added to Category:Pages that link to the Flag template using unsupported country codes.