Template:Translate/doc
跳至導覽
跳至搜尋

This is a documentation subpage for Template:Translate.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
Todo: document all the type shortcuts
This template is used on pages that need its content to be translated.
Parameters
Parameters | Description | Example | Result |
---|---|---|---|
No Parameters | For use when entire pages need to be translated | {{Translate}} | ![]() |
{{{1}}} | For articles that may be mostly translated, but may have some incomplete sections. | {{Translate|Example text}} | ![]() 本页面需要翻译。
本页面或包含不完全的翻译、不正确的翻译,或未有翻译。 如果本页面出于某些原因无法被翻译,或长时间地处于未翻译的状态,则应予删除。 另外,请确保文章在尽量遵守 多语言指导。 The following content or section specifically needs to be translated: Example text |
{{{namespaceoverride}}} | Overrides the {{NAMESPACE}} magic word. Can only be Template or blank | {{Translate|Example text|namespaceoverride=Article}} | ![]() 本页面需要翻译。
本页面或包含不完全的翻译、不正确的翻译,或未有翻译。 如果本页面出于某些原因无法被翻译,或长时间地处于未翻译的状态,则应予删除。 另外,请确保文章在尽量遵守 多语言指导。 The following content or section specifically needs to be translated: Example text |
{{{lang <1-5>}}} | For use on template pages. Specifies which languages are needed. | {{Translate|Example text|lang 1=zh|lang 2=de|lang 3=ru}} | ![]() This template needs translations.
This template does not contain translations for the following languages: ![]() ![]() ![]() If you are fluent in one of these languages, please help out by translating the text inside this template. This can be done by using the {{Autolang}} template where appropriate. Also, please make sure that the article tries to comply with the 多语言指导。 The following content or section specifically needs to be translated: Example text |
{{{strings}}} | For use on template pages. Adds some text that links to the template's /strings subpage. Should either be true or blank. If set to true you can specify a link using {{{link}}} parameter. |
{{Translate|Example text|strings=true}} | ![]() This template needs translations.
This template does not contain translations for the most popular languages. If you are fluent in one of these languages, please help out by translating the text inside this template. This can be done by using the template's /strings subpage or the {{Autolang}} template where appropriate. Also, please make sure that the article tries to comply with the 多语言指导。 The following content or section specifically needs to be translated: Example text |
{{{nocat}}} | Prevents page from being added to the Category:To be translated category. | {{Translate|nocat=1}} | |
{{{type|finish}}} | For use when pages have been translated but not fully. | {{Translate|type=finish}} | ![]() This page has not been fully translated.
You can help by finishing the translation.另外,请确保文章在尽量遵守 多语言指导。 |
{{{type|inprogress}}} | For use when pages that are currently being translated or will be translated soon. | {{Translate|type=inprogress}} | ![]() This page is being translated.
You can help by finishing the translation.另外,请确保文章在尽量遵守 多语言指导。 |
{{{type|machine}}} | For use when pages have been translated by a machine (e.g. Google Translate). | {{Translate|type=machine}} | ![]() This page is Machine translated
It is not recommended to use machine translation without any corrections. If the article is not corrected in the long term, it will be removed. |
{{{type|update}}} | For use when the translated pages hasn't been updated for long time. | {{Translate|type=update}} | ![]() This translated page needs to be updated.
You can help by updating the translation. 另外,请确保文章在尽量遵守 多语言指导。 |