Template:Language exists
Efficient way to test if a language code exists on Valve Developer community.
Usage
{{language exists|code}}
will show "yes" if the language exists or nothing if it doesn't.
Examples
{{language exists|en}}
→ yes
{{language exists|asdf}}
→
{{#if:{{language exists|en}}|true|false}}
→ true
{{#if:{{language exists|asdf}}|true|false}}
→ false
{{yesno|{{language exists|en}}|yes=true|no=false}}
→ true
{{yesno|{{language exists|asdf}}|yes=true|no=false}}
→ false
The above documentation is transcluded from Template:Language exists/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.