Template:Flag: Difference between revisions
Jump to navigation
Jump to search
Available language flags
(removed Corsican) |
m (using #switch) |
||
Line 1: | Line 1: | ||
{{filepath:{{switch | {{filepath:{{#switch:{{{1|}}} | ||
| | | =English | ||
| | |Scottish Gaelic =Lowland Scots | ||
| | |Emilian | ||
| | |Friulian | ||
| | |Lombard | ||
| | |Neapolitan | ||
| | |Piedmontese | ||
| | |Venetian =Italian | ||
|default = {{{1}}}}}.png}}{{switch | |#default = {{{1}}}}}.png}}{{#switch:{{{2|}}} | ||
| | |show={{sp}}{{{1|English}}} | ||
| | | = | ||
|default ={{sp}}{{{2}}}}}<noinclude> | |#default ={{sp}}{{{2}}}}}<noinclude> | ||
{{prot-temp}} | {{prot-temp}} | ||
{{DisplayBox|text= | {{DisplayBox|text= |
Revision as of 03:23, 18 November 2015
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!
|
|