Template:Autotranslate/doc: Difference between revisions
Template page
More actions
→Convert existing language versions: noinclude |
→How to convert a template: update |
||
| Line 16: | Line 16: | ||
=== Create a documentation page === | === Create a documentation page === | ||
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><noinclude></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><noinclude></tt>” tag. | ||