<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theportalwiki.com/w/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://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ALang"/>
	<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Lang&amp;action=history"/>
	<updated>2026-04-18T22:24:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=8370&amp;oldid=prev</id>
		<title>Seb: Protected &quot;Template:Lang&quot;: high-use! ([edit=sysop] (indefinite) [move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=8370&amp;oldid=prev"/>
		<updated>2011-04-30T22:18:11Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Template:Lang&quot; title=&quot;Template:Lang&quot;&gt;Template:Lang&lt;/a&gt;&amp;quot;: high-use! ([edit=sysop] (indefinite) [move=sysop] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:18, 30 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Seb</name></author>
	</entry>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=816&amp;oldid=prev</id>
		<title>RJackson: 1 revision: Stealing TF Wiki&#039;s maintenance templates</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=816&amp;oldid=prev"/>
		<updated>2011-04-23T16:13:14Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Stealing TF Wiki&amp;#039;s maintenance templates&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:13, 23 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>RJackson</name></author>
	</entry>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=187&amp;oldid=prev</id>
		<title>Moussekateer: Created page with &quot;{{#switch:{{{force|{{SUBPAGENAME}}}}} | ar = {{{ar|{{{en|{{{1}}}}}}}}} | cs = {{{cs|{{{en|{{{1}}}}}}}}} | da = {{{da|{{{en|{{{1}}}}}}}}} | de = {{{de|{{{en|{{{1}}}}}}}}} | es = {...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=187&amp;oldid=prev"/>
		<updated>2011-04-21T23:55:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{#switch:{{{force|{{SUBPAGENAME}}}}} | ar = {{{ar|{{{en|{{{1}}}}}}}}} | cs = {{{cs|{{{en|{{{1}}}}}}}}} | da = {{{da|{{{en|{{{1}}}}}}}}} | de = {{{de|{{{en|{{{1}}}}}}}}} | es = {...&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:55, 21 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Moussekateer</name></author>
	</entry>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=815&amp;oldid=prev</id>
		<title>*&gt;Seb26: pt-br no longer falls back to pt</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Lang&amp;diff=815&amp;oldid=prev"/>
		<updated>2010-11-30T19:27:15Z</updated>

		<summary type="html">&lt;p&gt;pt-br no longer falls back to pt&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#switch:{{{force|{{SUBPAGENAME}}}}}&lt;br /&gt;
| ar = {{{ar|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| cs = {{{cs|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| da = {{{da|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| de = {{{de|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| es = {{{es|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| fi = {{{fi|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| fr = {{{fr|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| hu = {{{hu|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| it = {{{it|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| ja = {{{ja|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| ko = {{{ko|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| nl = {{{nl|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| no = {{{no|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| pl = {{{pl|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| pt = {{{pt|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| pt-br = {{{pt-br|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| ro = {{{ro|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| ru = {{{ru|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| sv = {{{sv|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| zh-hans = {{{zh-hans|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| zh-hant = {{{zh-hant|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
&lt;br /&gt;
| blank&lt;br /&gt;
| none &lt;br /&gt;
| #default = {{{en|{{{1|}}}}}}&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;{{doc begin}}&lt;br /&gt;
{{main|Help:Translation switching|l1=&amp;#039;&amp;#039;&amp;#039;Help:Translation switching&amp;#039;&amp;#039;&amp;#039;}}&lt;br /&gt;
The main purpose of this template is to retain consistency across multiple translated pages. {{tl|lang}} will detect the language page name, and display that language&amp;#039;s translation by itself (e.g. if a template with Polish translations in it, when used on a Polish page, only the Polish translations will be displayed).&lt;br /&gt;
&lt;br /&gt;
By default, {{tl|lang}} will display English if no translation is available for a particular language.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* To define a language, simply use the code &amp;lt;code&amp;gt;| xx = &amp;lt;/code&amp;gt; and then add your translation after (replacing xx with the correct code from below).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable grid&amp;quot; style=&amp;quot;margin: 1em 0;&amp;quot;&lt;br /&gt;
! Available languages&lt;br /&gt;
| ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Options ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Forcing a particular language&amp;#039;&amp;#039;&amp;#039;: the parameter {{code|force}} is available to force a particular language to show regardless of the {{code|SUBPAGENAME}}. It can be useful on some templates to force English to always show.&lt;br /&gt;
::Example: {{tlx|lang|2=force=en}}&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{lang&lt;br /&gt;
| de = Willkommen&lt;br /&gt;
| en = Welcome&lt;br /&gt;
| ja = Irashaimasu&lt;br /&gt;
| pl = Witaj&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates|Lang]]&lt;br /&gt;
[[Category:Language templates|Lang]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>*&gt;Seb26</name></author>
	</entry>
</feed>