Template:CountryLanguage: Difference between revisions
(Fixed "Afrikaans") |
(Changed Bolivia from Castilian to Spanish) |
||
Line 39: | Line 39: | ||
| Bermuda = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | | Bermuda = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | ||
| Bhutan = {{#switch: {{{2|1}}} | 3 = {{#explode:Dzongkha|;|2}} | 2 = {{#explode:Dzongkha|;|1}} | all = Dzongkha| {{#explode:Dzongkha|;|0}} }} | | Bhutan = {{#switch: {{{2|1}}} | 3 = {{#explode:Dzongkha|;|2}} | 2 = {{#explode:Dzongkha|;|1}} | all = Dzongkha| {{#explode:Dzongkha|;|0}} }} | ||
| Bolivia = {{#switch: {{{2|1}}} | 3 = {{#explode: | | Bolivia = {{#switch: {{{2|1}}} | 3 = {{#explode:Spanish|;|2}} | 2 = {{#explode:Spanish|;|1}} | all = Spanish| {{#explode:Spanish|;|0}} }} | ||
| Bonaire = {{#switch: {{{2|1}}} | 3 = {{#explode:Dutch|;|2}} | 2 = {{#explode:Dutch|;|1}} | all = Dutch| {{#explode:Dutch|;|0}} }} | | Bonaire = {{#switch: {{{2|1}}} | 3 = {{#explode:Dutch|;|2}} | 2 = {{#explode:Dutch|;|1}} | all = Dutch| {{#explode:Dutch|;|0}} }} | ||
| Bosnia and Herzegovina = {{#switch: {{{2|1}}} | 3 = {{#explode:Bosnian;Croatian;Serbian|;|2}} | 2 = {{#explode:Bosnian;Croatian;Serbian|;|1}} | all = Bosnian;Croatian;Serbian| {{#explode:Bosnian;Croatian;Serbian|;|0}} }} | | Bosnia and Herzegovina = {{#switch: {{{2|1}}} | 3 = {{#explode:Bosnian;Croatian;Serbian|;|2}} | 2 = {{#explode:Bosnian;Croatian;Serbian|;|1}} | all = Bosnian;Croatian;Serbian| {{#explode:Bosnian;Croatian;Serbian|;|0}} }} |
Revision as of 16:28, 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.