Template:Language exists/doc
This is a documentation subpage for Template:Language exists.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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