Template:Flag/doc: Difference between revisions
Jump to navigation
Jump to search
m (wrong lang code for Korean) |
(link to main page as an example) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
<code><nowiki>{{</nowiki>Flag|''Language code''|link=''Page to link to''|size=''Size of the flag''}}</code> | <code><nowiki>{{</nowiki>Flag|''Language code''|link=''Page to link to''|size=''Size of the flag''}}</code> | ||
Line 6: | Line 5: | ||
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|link=Main Page/cs}} | ||
* de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de}} | * da - <code><nowiki>{{Flag|da}}</nowiki></code> - {{Flag|da|link=Main Page/da}} | ||
* en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en}} | * de - <code><nowiki>{{Flag|de}}</nowiki></code> - {{Flag|de|link=Main Page/de}} | ||
* es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es}} | * en - <code><nowiki>{{Flag|en}}</nowiki></code> - {{Flag|en|link=Main Page}} | ||
* fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr}} | * es - <code><nowiki>{{Flag|es}}</nowiki></code> - {{Flag|es|link=Main Page/es}} | ||
* it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it}} | * fr - <code><nowiki>{{Flag|fr}}</nowiki></code> - {{Flag|fr|link=Main Page/fr}} | ||
* ja - <code><nowiki>{{Flag|ja}}</nowiki></code> - {{Flag|ja}} | * hu - <code><nowiki>{{Flag|hu}}</nowiki></code> - {{Flag|hu|link=Main Page/hu}} | ||
* ko - <code><nowiki>{{Flag|ko}}</nowiki></code> - {{Flag|ko}} | * it - <code><nowiki>{{Flag|it}}</nowiki></code> - {{Flag|it|link=Main Page/it}} | ||
* ms - <code><nowiki>{{Flag|ms}}</nowiki></code> - {{Flag|ms}} | * ja - <code><nowiki>{{Flag|ja}}</nowiki></code> - {{Flag|ja|link=Main Page/ja}} | ||
* nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl}} | * ko - <code><nowiki>{{Flag|ko}}</nowiki></code> - {{Flag|ko|link=Main Page/ko}} | ||
* pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br}} | * ms - <code><nowiki>{{Flag|ms}}</nowiki></code> - {{Flag|ms|link=Main Page/ms}} | ||
* ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru}} | * nl - <code><nowiki>{{Flag|nl}}</nowiki></code> - {{Flag|nl|link=Main Page/nl}} | ||
* sv - <code><nowiki>{{Flag|sv}}</nowiki></code> - {{Flag|sv}} | * pt-br - <code><nowiki>{{Flag|pt-br}}</nowiki></code> - {{Flag|pt-br|link=Main Page/pt-br}} | ||
* tr - <code><nowiki>{{Flag|tr}}</nowiki></code> - {{Flag|tr}} | * pt-pt - <code><nowiki>{{Flag|pt-pt}}</nowiki></code> - {{Flag|pt-pt|link=Main Page/pt-pt}} | ||
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk}} | * ru - <code><nowiki>{{Flag|ru}}</nowiki></code> - {{Flag|ru|link=Main Page/ru}} | ||
* zh - <code><nowiki>{{Flag|zh}}</nowiki></code> - {{Flag|zh}} | * sv - <code><nowiki>{{Flag|sv}}</nowiki></code> - {{Flag|sv|link=Main Page/sv}} | ||
* tr - <code><nowiki>{{Flag|tr}}</nowiki></code> - {{Flag|tr|link=Main Page/tr}} | |||
* uk - <code><nowiki>{{Flag|uk}}</nowiki></code> - {{Flag|uk|link=Main Page/uk}} | |||
* vi - <code><nowiki>{{Flag|vi}}</nowiki></code> - {{Flag|vi|link=Main Page/vi}} | |||
* 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 Page/zh-tw}} | |||
<includeonly>[[Category:Localisation templates]]</includeonly> | |||
<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}}
- - da -
{{Flag|da}}
- - de -
{{Flag|de}}
- - en -
{{Flag|en}}
- - es -
{{Flag|es}}
- - fr -
{{Flag|fr}}
- - hu -
{{Flag|hu}}
- - it -
{{Flag|it}}
- - ja -
{{Flag|ja}}
- - ko -
{{Flag|ko}}
- - ms -
{{Flag|ms}}
- - nl -
{{Flag|nl}}
- - pt-br -
{{Flag|pt-br}}
- - pt-pt -
{{Flag|pt-pt}}
- - ru -
{{Flag|ru}}
- - sv -
{{Flag|sv}}
- - tr -
{{Flag|tr}}
- - uk -
{{Flag|uk}}
- - vi -
{{Flag|vi}}
- - zh -
{{Flag|zh}}
- - zh-tw -
{{Flag|zh-tw}}
-