<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://politicalsg.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ALang</id>
	<title>Template:Lang - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://politicalsg.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ALang"/>
	<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Lang&amp;action=history"/>
	<updated>2026-07-21T21:29:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://politicalsg.com/index.php?title=Template:Lang&amp;diff=5031&amp;oldid=prev</id>
		<title>SGPolitico at 20:23, 14 July 2026</title>
		<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Lang&amp;diff=5031&amp;oldid=prev"/>
		<updated>2026-07-14T20:23:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:23, 14 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{{2|{{{text|}}}}}}|{{#switch:{{{italic|auto}}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{{2|{{{text|}}}}}}|{{#switch:{{{italic|auto}}}|no=&amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot; style=&quot;font-style: normal;&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;|unset=&amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;|yes=&amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;i lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;|#default={{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK|ja|ko|th|ar|he|hi|ta|te|kn|ml|bn|km|my|lo|ka|hy|el|ru|uk|bg|sr|mn=&amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;|#default=&amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;i lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;}}}}{{#if:{{{nocat|}}}||[[Category:Articles containing non-English-language text]]}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| no = &amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot; style=&quot;font-style: normal;&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| unset = &amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| yes = &amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;i lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| #default = {{#switch:{{{1|{{{code|}}}}}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;| zh | zh-Hans | zh-Hant | zh-CN | zh-TW | zh-SG | zh-HK | ja | ko | th | ar | he | hi | ta | te | kn | ml | bn | km | my | lo | ka | hy | el | ru | uk | bg | sr | mn = &amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;| #default = &amp;lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&amp;gt;&amp;lt;i lang=&quot;{{{1|{{{code|}}}}}}&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}{{#if:{{{nocat|}}}||[[Category:Articles containing non-English-language text]]}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A Lua-free reimplementation of Wikipedia&amp;#039;s &amp;lt;nowiki&amp;gt;{{lang}}&amp;lt;/nowiki&amp;gt;, built for Politicalsg because the wiki cannot run Scribunto/Lua (&amp;lt;code&amp;gt;proc_open&amp;lt;/code&amp;gt; is blocked; any &amp;lt;code&amp;gt;#invoke&amp;lt;/code&amp;gt; errors). This version uses only &amp;lt;code&amp;gt;{{#if:}}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;{{#switch:}}&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A Lua-free reimplementation of Wikipedia&amp;#039;s &amp;lt;nowiki&amp;gt;{{lang}}&amp;lt;/nowiki&amp;gt;, built for Politicalsg because the wiki cannot run Scribunto/Lua (&amp;lt;code&amp;gt;proc_open&amp;lt;/code&amp;gt; is blocked; any &amp;lt;code&amp;gt;#invoke&amp;lt;/code&amp;gt; errors). This version uses only &amp;lt;code&amp;gt;{{#if:}}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;{{#switch:}}&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SGPolitico</name></author>
	</entry>
	<entry>
		<id>https://politicalsg.com/index.php?title=Template:Lang&amp;diff=5010&amp;oldid=prev</id>
		<title>SGPolitico: Created page with &quot;&lt;includeonly&gt;{{#if:{{{2|{{{text|}}}}}}|{{#switch:{{{italic|auto}}} | no = &lt;span title=&quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&quot;&gt;&lt;span lang=&quot;{{{1|{{{code|}}}}}}&quot; style=&quot;font-style: normal;&quot;{{#if:{{{rtl|}}}| dir=&quot;rtl&quot;}}&gt;{{{2|{{{text|}}}}}...&quot;</title>
		<link rel="alternate" type="text/html" href="https://politicalsg.com/index.php?title=Template:Lang&amp;diff=5010&amp;oldid=prev"/>
		<updated>2026-07-14T19:51:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#if:{{{2|{{{text|}}}}}}|{{#switch:{{{italic|auto}}} | no = &amp;lt;span title=&amp;quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&amp;quot;&amp;gt;&amp;lt;span lang=&amp;quot;{{{1|{{{code|}}}}}}&amp;quot; style=&amp;quot;font-style: normal;&amp;quot;{{#if:{{{rtl|}}}| dir=&amp;quot;rtl&amp;quot;}}&amp;gt;{{{2|{{{text|}}}}}...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{{2|{{{text|}}}}}}|{{#switch:{{{italic|auto}}}&lt;br /&gt;
| no = &amp;lt;span title=&amp;quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&amp;quot;&amp;gt;&amp;lt;span lang=&amp;quot;{{{1|{{{code|}}}}}}&amp;quot; style=&amp;quot;font-style: normal;&amp;quot;{{#if:{{{rtl|}}}| dir=&amp;quot;rtl&amp;quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| unset = &amp;lt;span title=&amp;quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&amp;quot;&amp;gt;&amp;lt;span lang=&amp;quot;{{{1|{{{code|}}}}}}&amp;quot;{{#if:{{{rtl|}}}| dir=&amp;quot;rtl&amp;quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| yes = &amp;lt;span title=&amp;quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&amp;quot;&amp;gt;&amp;lt;i lang=&amp;quot;{{{1|{{{code|}}}}}}&amp;quot;{{#if:{{{rtl|}}}| dir=&amp;quot;rtl&amp;quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| #default = {{#switch:{{{1|{{{code|}}}}}}&lt;br /&gt;
  | zh | zh-Hans | zh-Hant | zh-CN | zh-TW | zh-SG | zh-HK | ja | ko | th | ar | he | hi | ta | te | kn | ml | bn | km | my | lo | ka | hy | el | ru | uk | bg | sr | mn = &amp;lt;span title=&amp;quot;{{#switch:{{{1|{{{code|}}}}}}|zh|zh-Hans|zh-Hant|zh-CN|zh-TW|zh-SG|zh-HK=Chinese|ja=Japanese|ko=Korean|th=Thai|ar=Arabic|he=Hebrew|hi=Hindi|ta=Tamil|ru=Russian|#default={{{1|{{{code|}}}}}}}}-language text&amp;quot;&amp;gt;&amp;lt;span lang=&amp;quot;{{{1|{{{code|}}}}}}&amp;quot;{{#if:{{{rtl|}}}| dir=&amp;quot;rtl&amp;quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
  | #default = &amp;lt;span title=&amp;quot;{{#switch:{{{1|{{{code|}}}}}}|ms=Malay|fr=French|de=German|es=Spanish|it=Italian|pt=Portuguese|la=Latin|#default={{{1|{{{code|}}}}}}}}-language text&amp;quot;&amp;gt;&amp;lt;i lang=&amp;quot;{{{1|{{{code|}}}}}}&amp;quot;{{#if:{{{rtl|}}}| dir=&amp;quot;rtl&amp;quot;}}&amp;gt;{{{2|{{{text|}}}}}}&amp;lt;/i&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
  }}&lt;br /&gt;
}}{{#if:{{{nocat|}}}||[[Category:Articles containing non-English-language text]]}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
A Lua-free reimplementation of Wikipedia&amp;#039;s &amp;lt;nowiki&amp;gt;{{lang}}&amp;lt;/nowiki&amp;gt;, built for Politicalsg because the wiki cannot run Scribunto/Lua (&amp;lt;code&amp;gt;proc_open&amp;lt;/code&amp;gt; is blocked; any &amp;lt;code&amp;gt;#invoke&amp;lt;/code&amp;gt; errors). This version uses only &amp;lt;code&amp;gt;{{#if:}}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;{{#switch:}}&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{lang|language code|text}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Deviations from the Wikipedia original — read before assuming parity:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* No Lua means no full IETF-tag validation, no ISO 639 database lookup, and no automatic per-language subcategorisation. Everything below is hand-coded.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Italics default&amp;#039;&amp;#039;&amp;#039; is decided by a fixed list of language codes, not real script detection. CJK, Arabic, Hebrew, Devanagari, Cyrillic-family and a few other non-Latin codes render upright by default; everything else (French, German, Malay, Spanish, etc.) renders in italics by default. Override with &amp;lt;code&amp;gt;|italic=yes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;|italic=no&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;|italic=unset&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The &amp;lt;code&amp;gt;title=&amp;quot;...-language text&amp;quot;&amp;lt;/code&amp;gt; attribute only resolves a language &amp;#039;&amp;#039;name&amp;#039;&amp;#039; for the codes in the switch list above (mainly the ones actually in use on this wiki: Chinese variants, Japanese, Korean, Thai, Arabic, Hebrew, Hindi, Tamil, Russian, Malay, French, German, Spanish, Italian, Portuguese, Latin). Anything else falls back to showing the raw code, e.g. &amp;lt;code&amp;gt;title=&amp;quot;cy-language text&amp;quot;&amp;lt;/code&amp;gt; instead of &amp;quot;Welsh-language text&amp;quot;. Add more codes to the switch list as the wiki needs them.&lt;br /&gt;
* Categorisation is a single flat &amp;lt;code&amp;gt;[[Category:Articles containing non-English-language text]]&amp;lt;/code&amp;gt;, not per-language subcategories (Wikipedia&amp;#039;s Module:Lang generates ~150 of those; not worth building without Lua). Suppress with &amp;lt;code&amp;gt;|nocat=yes&amp;lt;/code&amp;gt;.&lt;br /&gt;
* No support for script/region/variant subtags beyond what&amp;#039;s hard-coded above (no &amp;lt;code&amp;gt;zh-Latn-pinyin&amp;lt;/code&amp;gt;-style transliteration handling, no &amp;lt;code&amp;gt;-x-proto&amp;lt;/code&amp;gt; asterisk prefixing). If a page needs that, extend the switch list rather than trying to genericise it — this wiki&amp;#039;s actual use cases are narrow (mostly Chinese-language quotes in event pages).&lt;br /&gt;
* No &amp;lt;code&amp;gt;{{langx}}&amp;lt;/code&amp;gt; companion template built yet. If a page needs the &amp;quot;Chinese: 讲华语&amp;quot; prefixed form, that would be a separate template built the same way (switch-based name lookup + this same span logic).&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{lang|zh-Hans|讲华语运动}}&amp;lt;/pre&amp;gt; → renders upright, &amp;lt;code&amp;gt;title=&amp;quot;Chinese-language text&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{lang|fr|Je suis française.}}&amp;lt;/pre&amp;gt; → renders in italics, &amp;lt;code&amp;gt;title=&amp;quot;French-language text&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{lang|zh-Hans|讲华语运动|nocat=yes}}&amp;lt;/pre&amp;gt; → same, but does not add the category (use inside wikilinks/citation titles, same as upstream)&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>SGPolitico</name></author>
	</entry>
</feed>