Template:Get language code
Jump to navigation
Jump to search
Gets the language code from the pagename, no
en
[View] [Edit] [Page history]
Documentation/
in front, "en" for pages without a language suffix (English pages). See Template:If language suffix for having a /
in front of the language code, and getting an empty string for English pages.
List of all templates