Jump to content

Template:RelevantLanguage

From translatewiki.net

en

The documentation of this template is included from its /doc subpage.

This template is designed to be used in {{Msg-mw}} and the like. It returns the subpage name of the current page if it matches a known language code, or falls back to the user’s default UI language.

The algorithm is implemented in Lua: Module:RelevantLanguage.

Syntax: {{RelevantLanguage}}