Template:CountryLanguage: Difference between revisions
(Changed Bolivia from Castilian to Spanish) |
(Changed Burkina Faso from Bissa to French) |
||
Line 48: | Line 48: | ||
| Brunei = {{#switch: {{{2|1}}} | 3 = {{#explode:Malay|;|2}} | 2 = {{#explode:Malay|;|1}} | all = Malay| {{#explode:Malay|;|0}} }} | | Brunei = {{#switch: {{{2|1}}} | 3 = {{#explode:Malay|;|2}} | 2 = {{#explode:Malay|;|1}} | all = Malay| {{#explode:Malay|;|0}} }} | ||
| Bulgaria = {{#switch: {{{2|1}}} | 3 = {{#explode:Bulgarian|;|2}} | 2 = {{#explode:Bulgarian|;|1}} | all = Bulgarian| {{#explode:Bulgarian|;|0}} }} | | Bulgaria = {{#switch: {{{2|1}}} | 3 = {{#explode:Bulgarian|;|2}} | 2 = {{#explode:Bulgarian|;|1}} | all = Bulgarian| {{#explode:Bulgarian|;|0}} }} | ||
| Burkina Faso = {{#switch: {{{2|1}}} | 3 = {{#explode:Moore; | | Burkina Faso = {{#switch: {{{2|1}}} | 3 = {{#explode:Moore;French;Dyula|;|2}} | 2 = {{#explode:Moore;French;Dyula|;|1}} | all = Moore;French;Dyula| {{#explode:Moore;French;Dyula|;|0}} }} | ||
| Burundi = {{#switch: {{{2|1}}} | 3 = {{#explode:Kirundi;French|;|2}} | 2 = {{#explode:Kirundi;French|;|1}} | all = Kirundi;French| {{#explode:Kirundi;French|;|0}} }} | | Burundi = {{#switch: {{{2|1}}} | 3 = {{#explode:Kirundi;French|;|2}} | 2 = {{#explode:Kirundi;French|;|1}} | all = Kirundi;French| {{#explode:Kirundi;French|;|0}} }} | ||
| Cabo Verde = {{#switch: {{{2|1}}} | 3 = {{#explode:Khmer|;|2}} | 2 = {{#explode:Khmer|;|1}} | all = Khmer| {{#explode:Khmer|;|0}} }} | | Cabo Verde = {{#switch: {{{2|1}}} | 3 = {{#explode:Khmer|;|2}} | 2 = {{#explode:Khmer|;|1}} | all = Khmer| {{#explode:Khmer|;|0}} }} |
Revision as of 16:31, 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.