Template talk:CountryLanguage: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 17: Line 17:
! Wikitext !! Result
! Wikitext !! Result
|-
|-
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|1}} | ; | @@@@ | [[@@@@]] | \s&#124;\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|1}} | ; | @@@@ | [[@@@@]] | \s&#124;\s }}
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|1}} | ; | @@@@ | @@@@ | \s&#124;\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|1}} | ; | @@@@ | @@@@ | \s&#124;\s }}
|-
|-
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|2}} | ; | @@@@ | [[@@@@]] | \s&#124;\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|2}} | ; | @@@@ | [[@@@@]] | \s&#124;\s }}
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|2}} | ; | @@@@ | @@@@ | \s&#124;\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|2}} | ; | @@@@ | @@@@ | \s&#124;\s }}
|-
|-
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s&#124;\s }}</nowiki></code> || {{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | [[@@@@]] | \s&#124;\s }}
| <code><nowiki>{{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | @@@@ | \s&#124;\s }}</nowiki></code> ||  
{{#arraymap:{{CountryLanguage|Indonesia|all}} | ; | @@@@ | @@@@ | \s&#124;\s }}
|}
|}



Revision as of 12:40, 27 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)
  1. Geographylogo.png In other languages: Indonesian (melayu) (manual for #1)
  2. Geographylogo.png In other languages: Malay (basa jawa) (manual for #2)
  3. Geographylogo.png In other languages: Indonesian | Malay | Javanese (automatic for #1 & #2, but need the localized language names)