Template:RelevantLanguage
Appearance
en
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}}