Template:Get language code

From Official Factorio Wiki
Revision as of 15:48, 24 March 2020 by Bilka (talk | contribs) (Categorized as localisation template, added doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


[View] [Edit] [Page history]

Gets the language code from the pagename, no / 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