Template:CountryLanguage: Difference between revisions
(Removed Moore from Burkina Faso) |
(Removed Nauruan from Nauru) |
||
Line 159: | Line 159: | ||
| Myanmar = {{#switch: {{{2|1}}} | 3 = {{#explode:Burmese;English|;|2}} | 2 = {{#explode:Burmese;English|;|1}} | all = Burmese;English| {{#explode:Burmese;English|;|0}} }} | | Myanmar = {{#switch: {{{2|1}}} | 3 = {{#explode:Burmese;English|;|2}} | 2 = {{#explode:Burmese;English|;|1}} | all = Burmese;English| {{#explode:Burmese;English|;|0}} }} | ||
| Namibia = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | | Namibia = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | ||
| Nauru = {{#switch: {{{2|1}}} | 3 = {{#explode:English | | Nauru = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | ||
| Nepal = {{#switch: {{{2|1}}} | 3 = {{#explode:Nepali|;|2}} | 2 = {{#explode:Nepali|;|1}} | all = Nepali| {{#explode:Nepali|;|0}} }} | | Nepal = {{#switch: {{{2|1}}} | 3 = {{#explode:Nepali|;|2}} | 2 = {{#explode:Nepali|;|1}} | all = Nepali| {{#explode:Nepali|;|0}} }} | ||
| Netherlands = {{#switch: {{{2|1}}} | 3 = {{#explode:Dutch|;|2}} | 2 = {{#explode:Dutch|;|1}} | all = Dutch| {{#explode:Dutch|;|0}} }} | | Netherlands = {{#switch: {{{2|1}}} | 3 = {{#explode:Dutch|;|2}} | 2 = {{#explode:Dutch|;|1}} | all = Dutch| {{#explode:Dutch|;|0}} }} |
Revision as of 16:45, 9 December 2024
Country language lookup template
This will return the major languages based on Country as either the 1st, 2nd, 3rd, or all.
Usage:
{{CountryLanguage|<Country_Name>|<1,2,3,all>}}
The country is mandatory, if the primary (1st), secondary (2nd), tertiary (3rd), or all is blank, it assumes the primary language.