Template talk:CountryLanguage: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
| <code><nowiki>{{CountryLanguage|Indonesia|all}}</nowiki></code> || {{CountryLanguage|Indonesia|all}} | | <code><nowiki>{{CountryLanguage|Indonesia|all}}</nowiki></code> || {{CountryLanguage|Indonesia|all}} | ||
|} | |} | ||
Examples incorporating [[Template:CountryLanguage|CountryLanguage]] with [https://www.mediawiki.org/wiki/Extension:Page_Forms/Page_Forms_and_templates#arraymap arraymap]: | Examples incorporating [[Template:CountryLanguage|CountryLanguage]] with [https://www.mediawiki.org/wiki/Extension:Page_Forms/Page_Forms_and_templates#arraymap arraymap]: | ||
Line 22: | Line 23: | ||
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s|\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s|\s }} | | <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s|\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s|\s }} | ||
|} | |} | ||
Examples of [[Template:LanguageISO|LanguageISO]]: | Examples of [[Template:LanguageISO|LanguageISO]]: | ||
Line 31: | Line 33: | ||
| <code><nowiki>{{LanguageISO|Javanese}}</nowiki></code> || {{LanguageISO|Javanese}} | | <code><nowiki>{{LanguageISO|Javanese}}</nowiki></code> || {{LanguageISO|Javanese}} | ||
|} | |} | ||
Working on incorporating all of the above: | Working on incorporating all of the above: |
Revision as of 19:09, 26 November 2024
Examples of CountryLanguage:
Wikitext | Result |
---|---|
{{CountryLanguage|Indonesia|1}} |
Indonesian |
{{CountryLanguage|Indonesia|2}} |
Malay |
{{CountryLanguage|Indonesia|3}} |
Javanese |
{{CountryLanguage|Indonesia|all}} |
Indonesian;Malay;Javanese |
Examples incorporating CountryLanguage with arraymap:
Wikitext | Result |
---|---|
{{#arraymap:{{CountryLanguage|Indonesia|1}} | ; | @@@@ | [[@@@@]] | \s|\s }} |
Indonesian |
{{#arraymap:{{CountryLanguage|Indonesia|2}} | ; | @@@@ | [[@@@@]] | \s|\s }} |
Malay |
{{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s|\s }} |
Indonesian | Malay | Javanese |
Examples of LanguageISO:
Wikitext | Result |
---|---|
{{LanguageISO|Malay}} |
ms |
{{LanguageISO|Javanese}} |
jw |
Working on incorporating all of the above:
- Language count: 3 (Indonesian;Malay;Javanese)
In other languages: Indonesian (melayu) (manual for #1)
In other languages: Malay (basa jawa) (manual for #2)
In other languages: Indonesian | Malay | Javanese (automatic for #1 & #2, but need the localized language names)