<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://aerialwiki.iamcolorful.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AAutotranslate%2Fdoc</id>
	<title>Template:Autotranslate/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://aerialwiki.iamcolorful.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AAutotranslate%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://aerialwiki.iamcolorful.com/index.php?title=Template:Autotranslate/doc&amp;action=history"/>
	<updated>2026-05-02T19:08:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://aerialwiki.iamcolorful.com/index.php?title=Template:Autotranslate/doc&amp;diff=1386&amp;oldid=prev</id>
		<title>Kwickert: Protected &quot;Template:Autotranslate/doc&quot; (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://aerialwiki.iamcolorful.com/index.php?title=Template:Autotranslate/doc&amp;diff=1386&amp;oldid=prev"/>
		<updated>2012-09-06T19:07:32Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Template:Autotranslate/doc&quot; title=&quot;Template:Autotranslate/doc&quot;&gt;Template:Autotranslate/doc&lt;/a&gt;&amp;quot; (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite))&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:07, 6 September 2012&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key kovsph_mw890-mw_:diff::1.12:old-1385:rev-1386 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kwickert</name></author>
		
	</entry>
	<entry>
		<id>http://aerialwiki.iamcolorful.com/index.php?title=Template:Autotranslate/doc&amp;diff=1385&amp;oldid=prev</id>
		<title>Kwickert: Created page with &quot;{{Documentation subpage}} This template is used to show a template in the user's interface language.  {{see also|Help:Autotranslate}}  == How to convert a template == Before y...&quot;</title>
		<link rel="alternate" type="text/html" href="http://aerialwiki.iamcolorful.com/index.php?title=Template:Autotranslate/doc&amp;diff=1385&amp;oldid=prev"/>
		<updated>2012-09-06T19:07:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} This template is used to show a template in the user&amp;#039;s interface language.  {{see also|Help:Autotranslate}}  == How to convert a template == Before y...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
This template is used to show a template in the user's interface language.&lt;br /&gt;
&lt;br /&gt;
{{see also|Help:Autotranslate}}&lt;br /&gt;
&lt;br /&gt;
== How to convert a template ==&lt;br /&gt;
Before you apply this template, first you have to prepare the template.&lt;br /&gt;
&lt;br /&gt;
=== Pick a template ===&lt;br /&gt;
&amp;amp;mdash;See for example [http://commons.wikimedia.org/w/index.php?title=Template:Cc-by-1.0&amp;amp;oldid=12667239 Template:Cc-by-1.0 before changes].&amp;lt;br /&amp;gt;&lt;br /&gt;
First you have to pick a template to autotranslate.&amp;lt;br /&amp;gt;&lt;br /&gt;
''In this documentation, we will name our &amp;quot;selected template&amp;quot; as:'' &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
*See [[Commons:Template i18n]] for a list of templates needing translation or translated.&lt;br /&gt;
&lt;br /&gt;
=== Create a layout template ===&lt;br /&gt;
&amp;amp;mdash;See for example [[Template:Apache/layout]].&amp;lt;br /&amp;gt;&lt;br /&gt;
You must create a layout template, named &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/layout&amp;lt;/code&amp;gt;, to contain the layout of all language versions of the template. The easiest way to do this is to copy a layout template of a similar template.&amp;lt;br /&amp;gt;&lt;br /&gt;
This template should not add any categories when transcluded.&lt;br /&gt;
&lt;br /&gt;
=== Convert existing language versions ===&lt;br /&gt;
&amp;amp;mdash;See for example [[Template:Apache/en]].&amp;lt;br /&amp;gt;&lt;br /&gt;
All versions must be subpages of &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;, and his name must use the appropriate prefix, [[m:List_of_Wikipedias|as used on Wikipedia]] when adding a new language &amp;amp;ndash;ISO 639 language code&amp;amp;ndash;. For example, Spanish subpage must be named &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/es&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;Usually the English language link to the main template &amp;amp;ndash;&amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;ndash;. That is incorrect, point it to the &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/en&amp;lt;/code&amp;gt; subpage.&lt;br /&gt;
&lt;br /&gt;
Each language version of the template should be checked and converted to use the layout template &amp;amp;ndash;&amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/layout&amp;lt;/code&amp;gt;&amp;amp;ndash;. Start with the English language version and compare it to the current template.&lt;br /&gt;
&lt;br /&gt;
Note that everything that is not supposed to be included together with the template, like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{translated tag|cleanup}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{documentation}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, must be inside a &amp;lt;code&amp;gt;&amp;amp;lt;noinclude&amp;amp;gt;&amp;lt;/code&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
Here is the syntax you must use for &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/&amp;amp;lt;&amp;lt;var&amp;gt;prefix&amp;lt;/var&amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;&amp;lt;code&amp;gt;&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/layout&amp;lt;/code&amp;gt;&lt;br /&gt;
 |text=&amp;amp;lt;''translated text of the template''&amp;amp;gt;&lt;br /&gt;
 |lang=&amp;amp;lt;''prefix''&amp;amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;}}&amp;amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{translated tag|license}}&lt;br /&gt;
&amp;amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create a documentation page ===&lt;br /&gt;
&amp;amp;mdash;See for example [[Template:Apache/doc]].&amp;lt;br /&amp;gt;&lt;br /&gt;
Create a documentation page at &amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;/doc&amp;lt;/code&amp;gt;. This documentation page should include some code for creating language versions of the template. {{tl|TemplateBox}} has a &amp;lt;tt&amp;gt;|il8n=autotranslate&amp;lt;/tt&amp;gt; option which provides a standard explanation of how to localise an autotranslated template.&lt;br /&gt;
&lt;br /&gt;
=== Convert the main template ===&lt;br /&gt;
&amp;amp;mdash;See for example [[Template:Apache]].&amp;lt;br /&amp;gt;&lt;br /&gt;
The last step is to enable the template. Be sure to check everything before you enable the template. You can cause a really big mess!&lt;br /&gt;
To enable the template, put this code in the template &amp;amp;ndash;&amp;lt;code&amp;gt;Template:&amp;lt;var&amp;gt;Template name&amp;lt;/var&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;ndash;.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|&amp;lt;/nowiki&amp;gt;base=&amp;lt;var&amp;gt;template name&amp;lt;/var&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Code snippet ==&lt;br /&gt;
To use this template, include the following code:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|7={{{7|}}}|8={{{8|}}}|9={{{9|}}}|base={{subst:PAGENAME}}}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Internationalization templates]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kwickert</name></author>
		
	</entry>
</feed>