Template:Flag/doc: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "Test") |
(Undo revision 112355 by TheWombatGuru (talk)) |
||
Line 1: | Line 1: | ||
== 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}}
- - fr -
{{Flag|fr}}
- - de -
{{Flag|de}}
- - ru -
{{Flag|ru}}
- - es -
{{Flag|es}}
- - pt-br -
{{Flag|pt-br}}
- - it -
{{Flag|it}}
- - cs -
{{Flag|cs}}
- - uk -
{{Flag|uk}}
- - nl -
{{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.
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.