Jump to content

Template:RelevantLanguage/doc

From translatewiki.net
This is the documentation subpage for the parent Template:RelevantLanguage page.

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}}