Template:CountryLanguage: Difference between revisions
(Removed carriage returns in array vardefine.) |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<big>'''Country language lookup template'''</big><br> | <big>'''Country language lookup template'''</big><br> | ||
This will return the major languages based on Country as either the 1st, 2nd, 3rd, or all. The following are used together: | This will return the major languages based on Country as either the 1st, 2nd, 3rd, or all. Note, this list includes English, see [[Template:CountryLanguage(NoEnglish)]] for the same list without English. | ||
The following are used together: | |||
* [[Template:CountryLanguage(NoEnglish)]] | |||
* [[Template:CountryLanguage]] | * [[Template:CountryLanguage]] | ||
* [[Template:LanguageISO]] | * [[Template:LanguageISO]] |
Revision as of 17:30, 3 January 2025
Country language lookup template
This will return the major languages based on Country as either the 1st, 2nd, 3rd, or all. Note, this list includes English, see Template:CountryLanguage(NoEnglish) for the same list without English.
The following are used together:
- Template:CountryLanguage(NoEnglish)
- Template:CountryLanguage
- Template:LanguageISO
- Template:LanguageLocalization
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.