Template:Rough translation section/doc
This is a documentation subpage for Template:Rough translation section. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{Rough translation section/doc}} will categorise tagged articles into Category:Articles needing cleanup after translation. It routes to {{Rough translation}} with that template's third parameter set to "section".
Usage
{{Rough translation section|language}}
Parameters
There are three positional (unnamed) parameters, and two named parameters:
|1=
– name of language (required)|2=
– name of language in "languages" list, if different (see example below); explicitly set to an empty value (|2=|
) if the original is not an article on another language's Wikipedia, or is absent from the list of languages displayed (optional)
Example
{{Rough translation section|German|Deutsch}}
Alternative version of this
{{Rough translation section|1=German|2=Deutsch}}
If the second parameter is filled in as in the example above, the template will display
The original article is under "Deutsch" in the languages list.
Otherwise, the message displayed is a generic
The original article is available in the languages list.
However, if argument 2 is explicitly set to empty (|2=|
), then neither message appears. This is the format to use when the original is not an article on another language's Wikipedia, or it isn't listed in the languages list.
This template will categorize tagged articles into Category:Articles needing cleanup after translation. It should not be substituted.
TemplateData
TemplateData for Rough translation section
<templatedata> {
"description": "Use this template to indicate that a section is a rough translation from another language and may have been generated by a computer or by a translator without dual proficiency.",
"format": "inline", "params": { "1": { "label": "Language", "description": "The language the article or section is a rough translation from", "type": "line", "example": "French", "required": true }, "listed": { "label": "Listed on WP:PNT?", "description": "Enter \"y\", \"yes\", \"true\", \"on\" or \"1\" here if this article is listed on \"Wikipedia:Pages needing translation into English\" to add a link to its entry.", "type": "line", "autovalue": "y", "example": "y" }, "2": { "label": "Alternative native name of language", "description": "Custom text to replace the language's indicated native name as it appears in the \"Languages\" list", "type": "line" }, "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"August 2024\" inserts the current month and year automatically.", "type": "line", "autovalue": "August 2024", "example": "January 2013", "suggested": true } }, "paramOrder": [ "1",
"listed",
"2", "date" ] } </templatedata>
See also
- {{Translated page}} – for use on Talk page
- {{Expand language}}
- {{Google translation}}
- {{Hidden translation}}
- {{Machinetranslate}}
- {{Not English}}
- {{Proofreader needed}}
- {{Whose translation}}