Module:OneLang/doc

Category:Module documentation#OneLang/doc

Function

If a parameter is passed with a "/" in it then return the text before the slash. For example, if "en/fr" is passed then return "en".

Category:Module documentation