Template:CountryLanguage: Difference between revisions
(Removed Tokelauan from Tokelau) |
(Removed Tuvaluan from Tuvalu) |
||
| Line 238: | Line 238: | ||
| Turkmenistan = {{#switch: {{{2|1}}} | 3 = {{#explode:Turkmen|;|2}} | 2 = {{#explode:Turkmen|;|1}} | all = Turkmen| {{#explode:Turkmen|;|0}} }} | | Turkmenistan = {{#switch: {{{2|1}}} | 3 = {{#explode:Turkmen|;|2}} | 2 = {{#explode:Turkmen|;|1}} | all = Turkmen| {{#explode:Turkmen|;|0}} }} | ||
| Turks and Caicos Islands = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | | Turks and Caicos Islands = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | ||
| Tuvalu = {{#switch: {{{2|1}}} | 3 = {{#explode: | | Tuvalu = {{#switch: {{{2|1}}} | 3 = {{#explode:English|;|2}} | 2 = {{#explode:English|;|1}} | all = English| {{#explode:English|;|0}} }} | ||
| Uganda = {{#switch: {{{2|1}}} | 3 = {{#explode:English;Swahili|;|2}} | 2 = {{#explode:English;Swahili|;|1}} | all = English;Swahili| {{#explode:English;Swahili|;|0}} }} | | Uganda = {{#switch: {{{2|1}}} | 3 = {{#explode:English;Swahili|;|2}} | 2 = {{#explode:English;Swahili|;|1}} | all = English;Swahili| {{#explode:English;Swahili|;|0}} }} | ||
| Ukraine = {{#switch: {{{2|1}}} | 3 = {{#explode:Ukrainian|;|2}} | 2 = {{#explode:Ukrainian|;|1}} | all = Ukrainian| {{#explode:Ukrainian|;|0}} }} | | Ukraine = {{#switch: {{{2|1}}} | 3 = {{#explode:Ukrainian|;|2}} | 2 = {{#explode:Ukrainian|;|1}} | all = Ukrainian| {{#explode:Ukrainian|;|0}} }} | ||
Revision as of 15:37, 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.