<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://valheim-wiki.mave.me/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://valheim-wiki.mave.me/index.php?action=history&amp;feed=atom&amp;title=Template%3ALang"/>
	<link rel="alternate" type="text/html" href="https://valheim-wiki.mave.me/index.php?title=Template:Lang&amp;action=history"/>
	<updated>2026-06-08T09:36:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://valheim-wiki.mave.me/index.php?title=Template:Lang&amp;diff=1680&amp;oldid=prev</id>
		<title>Mave at 18:33, 2 January 2022</title>
		<link rel="alternate" type="text/html" href="https://valheim-wiki.mave.me/index.php?title=Template:Lang&amp;diff=1680&amp;oldid=prev"/>
		<updated>2022-01-02T18:33:48Z</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 18:33, 2 January 2022&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-l28&quot;&gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&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;| #default = {{{en|{{{1|}}}}}}&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;| #default = {{{en|{{{1|}}}}}}&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;}}&amp;lt;noinclude&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;}}&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{main|Help:Translation switching|l1=&#039;&#039;&#039;Help:Translation switching&#039;&#039;&#039;}}&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;&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;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;/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;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;/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;br&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mave</name></author>
	</entry>
	<entry>
		<id>https://valheim-wiki.mave.me/index.php?title=Template:Lang&amp;diff=1679&amp;oldid=prev</id>
		<title>Mave: Created page with &quot;{{#switch:{{{force|{{SUBPAGENAME}}}}} | ar = {{{ar|{{{en|{{{1}}}}}}}}} | bg = {{{bg|{{{en|{{{1}}}}}}}}} | cs = {{{cs|{{{en|{{{1}}}}}}}}} | da = {{{da|{{{en|{{{1}}}}}}}}} | de...&quot;</title>
		<link rel="alternate" type="text/html" href="https://valheim-wiki.mave.me/index.php?title=Template:Lang&amp;diff=1679&amp;oldid=prev"/>
		<updated>2022-01-02T18:33:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{#switch:{{{force|{{SUBPAGENAME}}}}} | ar = {{{ar|{{{en|{{{1}}}}}}}}} | bg = {{{bg|{{{en|{{{1}}}}}}}}} | cs = {{{cs|{{{en|{{{1}}}}}}}}} | da = {{{da|{{{en|{{{1}}}}}}}}} | de...&amp;quot;&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;
| bg = {{{bg|{{{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;
| th = {{{th|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| tr = {{{tr|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| uk = {{{uk|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| vi = {{{vi|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| zh-hans = {{{zh-hans|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| zh-hant = {{{zh-hant|{{{en|{{{1}}}}}}}}}&lt;br /&gt;
| #default = {{{en|{{{1|}}}}}}&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&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, bg, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, th, tr, uk, vi, 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;
| pt-br = Bem-vindo&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>Mave</name></author>
	</entry>
</feed>