Template:PageLanguage/doc/en

This template returns the language name or language code of the page provided. If the detected language is invalid or there is no language code, defaults to English. Language is used to make this work. By default, this template returns the language name in its native language. If  is set, returns the detected language code or   if invalid.

Parameters

 * 1: (Default: ) The title of the page to be checked.
 * code: (Optional) If set, returns the language code of the detected language.
 * en: (Optional) If set, returns the language name of the detected language in English.

Examples
produces

produces

produces

produces