Template:CountryLanguage: Difference between revisions

From FamilySearch Wiki
(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:Tuvaluan;English|;|2}} | 2 = {{#explode:Tuvaluan;English|;|1}} | all = Tuvaluan;English| {{#explode:Tuvaluan;English|;|0}} }}
  | 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>}}