Template:Get language code/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Gets the language code from the pagename, no <code>/</code> in front, "en" for pages without a language suffix (English pages). See Template:If language suffix for having...")
 
m (word)
Line 1: Line 1:
Gets the language code from the pagename, no <code>/</code> in front, "en" for pages without a language suffix (English pages). See [[Template:If language suffix]] for having a <code>/</code> in front of the suffix, and getting an empty string for English pages.
Gets the language code from the pagename, no <code>/</code> in front, "en" for pages without a language suffix (English pages). See [[Template:If language suffix]] for having a <code>/</code> in front of the language code, and getting an empty string for English pages.

Revision as of 15:48, 24 March 2020

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.