Template:CountryLanguage: Difference between revisions

From FamilySearch Wiki
(Corrected Cabo Verde, Cambodia, Cameroon, & Canada)
(Corrected Indonesia)
Line 112: Line 112:
  | Iceland = {{#switch: {{{2|1}}} | 3 = {{#explode:Icelandic|;|2}} | 2 = {{#explode:Icelandic|;|1}} | all = Icelandic| {{#explode:Icelandic|;|0}} }}
  | Iceland = {{#switch: {{{2|1}}} | 3 = {{#explode:Icelandic|;|2}} | 2 = {{#explode:Icelandic|;|1}} | all = Icelandic| {{#explode:Icelandic|;|0}} }}
  | India = {{#switch: {{{2|1}}} | 3 = {{#explode:English;Hindi|;|2}} | 2 = {{#explode:English;Hindi|;|1}} | all = English;Hindi| {{#explode:English;Hindi|;|0}} }}
  | India = {{#switch: {{{2|1}}} | 3 = {{#explode:English;Hindi|;|2}} | 2 = {{#explode:English;Hindi|;|1}} | all = English;Hindi| {{#explode:English;Hindi|;|0}} }}
  | Indonesia = {{#switch: {{{2|1}}} | 3 = {{#explode:Malay;Javanese|;|2}} | 2 = {{#explode:Malay;Javanese|;|1}} | all = Malay;Javanese| {{#explode:Malay;Javanese|;|0}} }}
  | Indonesia = {{#switch: {{{2|1}}} | 3 = {{#explode:Indonesian;Malay;Javanese|;|2}} | 2 = {{#explode:Indonesian;Malay;Javanese|;|1}} | all = Indonesian;Malay;Javanese| {{#explode:Indonesian;Malay;Javanese|;|0}} }}
  | Iran = {{#switch: {{{2|1}}} | 3 = {{#explode:Persian|;|2}} | 2 = {{#explode:Persian|;|1}} | all = Persian| {{#explode:Persian|;|0}} }}
  | Iran = {{#switch: {{{2|1}}} | 3 = {{#explode:Persian|;|2}} | 2 = {{#explode:Persian|;|1}} | all = Persian| {{#explode:Persian|;|0}} }}
  | Iraq = {{#switch: {{{2|1}}} | 3 = {{#explode:Arabic;Kurdish|;|2}} | 2 = {{#explode:Arabic;Kurdish|;|1}} | all = Arabic;Kurdish| {{#explode:Arabic;Kurdish|;|0}} }}
  | Iraq = {{#switch: {{{2|1}}} | 3 = {{#explode:Arabic;Kurdish|;|2}} | 2 = {{#explode:Arabic;Kurdish|;|1}} | all = Arabic;Kurdish| {{#explode:Arabic;Kurdish|;|0}} }}

Revision as of 18:33, 10 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>}}