Template:PageLanguage/doc

This template detects the page language by its title. You can also choose the format of the template's output, the default format is the page's language name in its native language. This template uses the language names and codes defined in Language.

Parameters
{	"params": { "1": {			"required": false, "label": "Page title", "type": "string/wiki-page-name", "description": "The title of the page to be checked." },		"code": { "required": false, "label": "Language code", "description": "Set to have this template return the language code." },		"en": { "required": false, "label": "English", "description": "Set to have this template return the language name in English." }	},	"description": "This template detects the page language by its title." }

Examples
produces:

produces:

produces:

produces: