Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Autotranslate/doc: Difference between revisions

Template page
Line 16: Line 16:


=== Create a documentation page ===
=== Create a documentation page ===
First create a documentation page at ''template name''/doc. This documentation page should include some code for creating language versions of the template. See for example [[Template:Cc-by-1.0/doc]]
Create a documentation page at ''template name''/doc. This documentation page should include some code for creating language versions of the template. See for example [[Template:Cc-by-1.0/doc]]. Include this documentation in the main template by adding <nowiki>{{documentation}}</nowiki>


=== Convert existing language versions ===
=== Convert existing language versions ===
Each language version of the template should be checked and converted to use the layout template.
Each language version of the template should be checked and converted to use the layout template. Start with the English language versio and compair it to the current template.


Note that everything that is not supposed to be included together with the template, like “<nowiki>{{translated tag|cleanup}}</nowiki>” and documentation, must be inside a “<tt>&lt;noinclude&gt;</tt>” tag.
Note that everything that is not supposed to be included together with the template, like “<nowiki>{{translated tag|cleanup}}</nowiki>” and documentation, must be inside a “<tt>&lt;noinclude&gt;</tt>” tag.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.