Template talk:CountryLanguage

From FamilySearch Wiki
Revision as of 18:52, 26 November 2024 by Tegnosis (talk | contribs) (Created page with "Examples of CountryLanguage: {| class="wikitable" style="margin-left:25px;" ! Wikitext !! Result |- | <code><nowiki>{{CountryLanguage|Indonesia|1}}</nowiki></code> || {{CountryLanguage|Indonesia|1}} |- | <code><nowiki>{{CountryLanguage|Indonesia|2}}</nowiki></code> || {{CountryLanguage|Indonesia|2}} |- | <code><nowiki>{{CountryLanguage|Indonesia|3}}</nowiki></code> || {{CountryLanguage|Indonesia|3}} |- | <code><nowiki>{{CountryLanguage|Indone...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Examples of incorporating all of the above: