Template:CountryLanguage: Difference between revisions
(Changed "State of Palestine" to "Palestine".) |
(Removed the spaces between languages.) |
||
(22 intermediate revisions by the same user not shown) | |||
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 | This will return the major language based on Country as either name (French) or code (fr). | ||
Usage: | Usage: | ||
<pre style="max-width: | <pre style="max-width:390px; margin-left:25px;"><nowiki> | ||
{{CountryLanguage|<Country_Name>|<1,2,3,all>}} | {{CountryLanguage|<Country_Name>|<1,2,3,all>|<code>}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 22: | Line 13: | ||
</noinclude><includeonly>{{#switch: {{{1|}}} | |||
| Afghanistan = Persian;Pashto | |||
| Albania = Albanian | |||
| Algeria = Arabic;Berber | |||
| American Samoa = Samoan;English | |||
| Andorra = Catalan | |||
| Angola = Portuguese | |||
| Anguilla = English | |||
| Antigua & Barbuda = English | |||
| Argentina = Spanish | |||
| Armenia = Armenian | |||
| Aruba = Dutch | |||
| Australia = English | |||
| Austria = German | |||
| Azerbaijan = Azerbaijani | |||
| Bahamas = English | |||
| Bahrain = Arabic | |||
| Bangladesh = Bengali | |||
| Barbados = English | |||
| Belarus = Belarusian;Russian | |||
| Belgium = Dutch;French;German | |||
| Belize = English | |||
| Benin = French | |||
| Bermuda = English | |||
| Bhutan = Dzongkha | |||
| Bolivia = Castilian | |||
| Bonaire = Dutch | |||
| Bosnia and Herzegovina = Bosnian;Croatian;Serbian | |||
| Botswana = English | |||
| Brazil = Protuguese (Brazil) | |||
| British Indian Ocean Territory = English | |||
| British Virgin Islands = English | |||
| Brunei = Malay | |||
<!-- No Match Returns Blank --> | <!-- No Match Returns Blank --> | ||
| | | | ||
}}</includeonly> | }}</includeonly> |
Revision as of 15:44, 22 November 2024
Country language lookup template
This will return the major language based on Country as either name (French) or code (fr).
Usage:
{{CountryLanguage|<Country_Name>|<1,2,3,all>|<code>}}