Template:Flag: Difference between revisions
Jump to navigation
Jump to search
Available language flags
(Aymara, Filipino and Swahili not missing anymore) |
(Added Asturian and Sardinian flags, no Provençal text on CPDL yet, Occitan flag is about to be uploaded, Quechuan was existing when Aymara was added with same picture) |
||
Line 1: | Line 1: | ||
{{filepath:{{#switch:{{{1|}}} | {{filepath:{{#switch:{{{1|}}} | ||
| =English | | =English | ||
|Aymara =Quechua | |||
|Scottish Gaelic =Lowland Scots | |Scottish Gaelic =Lowland Scots | ||
|Emilian | |Emilian | ||
Line 7: | Line 8: | ||
|Neapolitan | |Neapolitan | ||
|Piedmontese =Italian | |Piedmontese =Italian | ||
|#default = {{{1}}}}}.png}}{{#switch:{{{2|}}} | |#default = {{{1}}}}}.png}}{{#switch:{{{2|}}} | ||
|show={{sp}}{{{1|English}}} | |show={{sp}}{{{1|English}}} | ||
Line 42: | Line 41: | ||
{{top}} | {{top}} | ||
*{{flag|Afrikaans|show}} | *{{flag|Afrikaans|show}} | ||
*{{flag| | *{{flag|Asturian|show}} | ||
*{{flag|Basque|show}} | *{{flag|Basque|show}} | ||
*{{flag|Catalan|show}} | *{{flag|Catalan|show}} | ||
Line 77: | Line 76: | ||
*{{flag|Quenya|show}} (missing) | *{{flag|Quenya|show}} (missing) | ||
*{{flag|Russian|show}} | *{{flag|Russian|show}} | ||
*{{flag|Sardinian|show}} | |||
*{{flag|Serbian|show}} | *{{flag|Serbian|show}} | ||
*{{flag|Slovenian|show}} | *{{flag|Slovenian|show}} |
Revision as of 16:26, 21 January 2016
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Usage: The normal syntax is:
{{flag|<language>}}
For example,
{{flag|Latvian}}
displays the Latvian flag
If the first (language) parameter is omitted, then
{{flag}}
displays the English language flag by default
Optionally: one may add a second parameter:
{{flag|Norwegian|show}}
to make "Norwegian" appear after the flag, as in
- Norwegian
Alternatively,
{{flag|Norwegian|but my parents were really Swedish!}}
produces
- but my parents were really Swedish!
|
|