Template:Language/prefix
Jump to navigation
Jump to search
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
See Also
The above documentation is transcluded from Template:Language/prefix/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.