Template:CountryLanguage: Difference between revisions

From FamilySearch Wiki
(Removed Tuvaluan from Tuvalu)
(Removed Moore from Burkina Faso)
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;French;Dyula|;|2}} | 2 = {{#explode:Moore;French;Dyula|;|1}} | all = Moore;French;Dyula| {{#explode:Moore;French;Dyula|;|0}} }}
  | Burkina Faso = {{#switch: {{{2|1}}} | 3 = {{#explode:French;Dyula|;|2}} | 2 = {{#explode:French;Dyula|;|1}} | all = French;Dyula| {{#explode: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:39, 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>}}