Template:TranslatePassage/doc
< Template:TranslatePassage
Jump to navigation
Jump to search
Revision as of 16:42, 22 December 2020 by Wikipedia>Mathglot (Move no-subst advice here from the template page itself. Fix positional param indicator.)
This is a documentation subpage for Template:TranslatePassage. It contains usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:TranslatePassage}}). |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Usage
This template {{Translate passage}} adds a banner on articles that have passages that require translation, and provides instructions on how to list the article at Wikipedia:Pages needing translation into English.
This template should be transcluded, not {{subst:}}ed.
Example:
{{subst:Translate passage|ArticleName|language=LanguageName}} ~~~~
This template categorizes pages on which it appears into Category:Wikipedia articles needing translation, unless suppressed with an optional parameter.
After following instructions provided in the template for listing the article at WP:PNT, please change the listed param to "yes".
Parameters
One positional and two named parameters; all are optional:
- 1 - language of the passage needing translation (e.g., 'Spanish', 'French', 'Chinese')
- category – if set to 'no', suppresses categorization of the article (default: 'yes'; categorization is applied)
- listed - if set to 'yes', this displays a briefer version of the banner without instructions for listing at PNT (default: 'no')
See also
- WP:PNTCU
- Wikipedia:Template messages/Cleanup
- Wikipedia:Translation
- {{Needtrans}}
- {{Translation sidebar}}
- {{Not English}}
- {{Not English-inline}}
- {{Cleanup translation}}
- {{Rough translation}}
- {{Proofreader needed}}
- {{Expand language}}
- {{Whose translation}}