Difference between revisions of "Template:TOC en"
Line 17: | Line 17: | ||
Translators should create a similar template named <tt>TOC_XX</tt>, where <tt>XX</tt> is the ISO language code (case-sensitive!) which you will be using in your template calls. To create your template, you may copy the following line: <br /><br /><nowiki> | Translators should create a similar template named <tt>TOC_XX</tt>, where <tt>XX</tt> is the ISO language code (case-sensitive!) which you will be using in your template calls. To create your template, you may copy the following line: <br /><br /><nowiki> | ||
− | {{ | + | {{TOC_XX}} |
</nowiki><br /><br /> into any page which you are editing (probably this page), and change the <tt>XX</tt> to your ISO code. Then click '''Show preview''', and you will see a redlink to the new template page. It is ''not'' necessary to save the current page, to use the link. Just open it in a new browser window or tab. | </nowiki><br /><br /> into any page which you are editing (probably this page), and change the <tt>XX</tt> to your ISO code. Then click '''Show preview''', and you will see a redlink to the new template page. It is ''not'' necessary to save the current page, to use the link. Just open it in a new browser window or tab. |
Latest revision as of 11:41, 31 August 2011
Translate MasterTOC phrases into English (en).
Help for Translators
This auxiliary template is used by template MasterTOC if it is called with Lang=en, or called without the Lang parameter.
Translators should create a similar template named TOC_XX, where XX is the ISO language code (case-sensitive!) which you will be using in your template calls. To create your template, you may copy the following line:
{{TOC_XX}}
into any page which you are editing (probably this page), and change the XX to your ISO code. Then click Show preview, and you will see a redlink to the new template page. It is not necessary to save the current page, to use the link. Just open it in a new browser window or tab.
The following instructions will make sense when you edit this page:
- Copy the top part of this page, including the Category lines, into your new page.
- Replace the right-hand copy of the four phrases with your translations. Use whatever alphabets or diacritics you need. Notice that you do not need quotation marks around the phrases.
- Add a closing </noinclude>, save your new page, and you're done. (Remember to Cancel the edit of this page!)