Template:Get language code

From Official Factorio Wiki
Jump to: navigation, search

en

[View] [Edit] [Page history]

Documentation
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
https://stable.wiki.factorio.com/Template:Get_language_code
stable.wiki.factorio.com
crawl=CC-MAIN-2022-27
24640
application/http; msgtype=response
sha1:3CO7HKCW2XQU6DXAGEMWHHJAOXKWDFMB
<urn:uuid:f35d9034-011b-412a-87c4-9b461aef2acf>
2022-07-04T06:23:32Z
139.162.175.161
text/html
sha1:3MK4GMSRJZ5VZCICVKO2SGGWOFHW73TB
<urn:uuid:7e3bdc90-a06a-4596-88be-fcb5b61d09d1>
https://stable.wiki.factorio.com/Template:Get_language_code
response
<urn:uuid:be195230-7d8a-4b05-bc65-9fa2e77fba28>
isPartOf: CC-MAIN-2022-27
publisher: Common Crawl
description: Wide crawl of the web for June/July 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-185
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/