<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://komunejo.kitakujo.de/w/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="eo">
		<id>http://komunejo.kitakujo.de/w/index.php?feed=atom&amp;target=Rizome&amp;title=Speciala%3AKontribuoj</id>
		<title>Komunejo - Kontribuoj de uzanto [eo]</title>
		<link rel="self" type="application/atom+xml" href="http://komunejo.kitakujo.de/w/index.php?feed=atom&amp;target=Rizome&amp;title=Speciala%3AKontribuoj"/>
		<link rel="alternate" type="text/html" href="http://komunejo.kitakujo.de/w/index.php?title=Speciala:Kontribuoj/Rizome"/>
		<updated>2026-04-20T23:45:18Z</updated>
		<subtitle>El Komunejo</subtitle>
		<generator>MediaWiki 1.15.1</generator>

	<entry>
		<id>http://komunejo.kitakujo.de/w/index.php?title=%C5%9Cablono:Autotranslate/doc</id>
		<title>Ŝablono:Autotranslate/doc</title>
		<link rel="alternate" type="text/html" href="http://komunejo.kitakujo.de/w/index.php?title=%C5%9Cablono:Autotranslate/doc"/>
				<updated>2009-06-14T16:34:42Z</updated>
		
		<summary type="html">&lt;p&gt;Rizome:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
This template is used to show a template in the users interface language.&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:Template name|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:Cc-by-1.0/layout]].&amp;lt;br /&amp;gt;&lt;br /&gt;
You must create a layout template, named &amp;lt;code&amp;gt;[[Template:Template name/layout|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.&amp;lt;br /&amp;gt;&lt;br /&gt;
This template should not add any categories when transcluded.&lt;br /&gt;
&lt;br /&gt;
In this page, you must add the code that will make the template to recognise automaticly the translations when available:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Autotranslate/Languages|{{subst:NAMESPACE}}:{{subst:BASEPAGENAME}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Convert existing language versions ===&lt;br /&gt;
&amp;amp;mdash;See for example [[Template:Cc-by-1.0/en]].&amp;lt;br /&amp;gt;&lt;br /&gt;
All versions must be subpages of &amp;lt;code&amp;gt;[[Template:Template name|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;. Posibilities are listed [[Template:Autotranslate/Languages/doc#Supported_languages|here]]. For example, Spanish subpage must be named &amp;lt;code&amp;gt;[[Template:Template name/es|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:Template name/en|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:Template name/layout|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 sintaxis you must use for &amp;lt;code&amp;gt;[[Template:Template name/en|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;, where &amp;lt;code&amp;gt;&amp;amp;lt;&amp;lt;var&amp;gt;prefix&amp;lt;/var&amp;gt;&amp;amp;gt;&amp;lt;/code&amp;gt; is [[Template:Autotranslate/Languages/doc#Supported_languages|one of this]].&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;&amp;lt;code&amp;gt;[[Template:Template name/layout|Template:&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;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;{{&amp;lt;/nowiki&amp;gt;translated tag|license&amp;lt;nowiki&amp;gt;}}&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:Cc-by-1.0/doc]].&amp;lt;br /&amp;gt;&lt;br /&gt;
Create a documentation page at &amp;lt;code&amp;gt;[[Template:Template name/doc|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.&lt;br /&gt;
&lt;br /&gt;
=== Convert the main template ===&lt;br /&gt;
&amp;amp;mdash;See for example [[Template:Cc-by-1.0]].&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:Template name|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|}}}|base=&amp;lt;/nowiki&amp;gt;''template name''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;{{documentation}}&amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Protect templates ===&lt;br /&gt;
The main template page is probably already protected. You should probably also protect &amp;lt;code&amp;gt;/layout&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/en&amp;lt;/code&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&amp;gt;{{Autotranslate|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|7={{{7|}}}|8={{{8|}}}|9={{{9|}}}&lt;br /&gt;
|base={{subst:PAGENAME}}&lt;br /&gt;
}}&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>	</entry>

	</feed>