Template:Language/prefix/doc
< Template:Language | prefix(Redirected from Template:Pagelang/doc)
Returns language of the given page in lowercase based on prefix. Returns en on pages that don't start with valid language prefix.
{{pagelang}}
onRu/Info_target
becomes ru{{pagelang}}
onSk/Info_target
becomes sk{{pagelang}}
onDota_2_Workshop_Tools/Addon_Overview/Addon_Creation
becomes en{{pagelang}}
onKo/Dota_2_Workshop_Tools/Addon_Overview/Addon_Creation
becomes ko