Template:Translate/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
| For use when entire pages need to he translated
| For use when entire pages need to he translated
| {{Code|<nowiki>{{Translate}}</nowiki>}}
| {{Code|<nowiki>{{Translate}}</nowiki>}}
| {{translate|nocat=1}}
| {{translate|nocat=1|namespaceoverride=Article}}
|-  
|-  
| {{param|1}}
| {{param|1}}
| For articles that may be mostly translated, but may have some incomplete sections
| For articles that may be mostly translated, but may have some incomplete sections
| {{Code|<nowiki>{{Translate|Example text}}</nowiki>}}
| {{Code|<nowiki>{{Translate|Example text}}</nowiki>}}
| {{translate|Example text|nocat=1}}
| {{translate|Example text|nocat=1|namespaceoverride=Article}}
|-
|-
| {{param|type}}
| {{param|namespaceoverride}}
| For use on template pages. Can only be {{Code|template}} or blank
| Overrides the {{NAMESPACE}} magic word. Can only be {{Code|Template}} or blank
| {{Code|<nowiki>{{Translate|Example text|type=template}}</nowiki>}}
| {{Code|<nowiki>{{Translate|Example text|namespaceoverride=Article}}</nowiki>}}
| {{translate|Example text|type=template|nocat=1}}
| {{translate|Example text|namespaceoverride=Article|nocat=1}}
|-
|-
| {{param|lang <1-5>}}
| {{param|lang <1-5>}}

Revision as of 10:10, 8 June 2023

Edit-copy.png
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.

The strings used on this page can be found on the Template:Translate/doc/strings subpage. Please follow the formatting there to add translations or new content.

Usage

This template is used on pages that need its content to be translated.

Parameters