Template:Translate/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Restoring a single universal template. Is there anyone against it?)
mNo edit summary
 
Line 33: Line 33:
|-
|-
| {{param|strings}}
| {{param|strings}}
| For use on template pages. Adds some text that links to the template's /strings subpage. Should either he {{code|true}} or blank. {{Todo|Enable manual linking to a specified strings page}}
| For use on template pages. Adds some text that links to the template's /strings subpage. Should either be {{code|true}} or blank.<br>If set to true you can specify a link using {{param|link}} parameter.
| {{Code|<nowiki>{{Translate|Example text|strings=true}}</nowiki>}}
| {{Code|<nowiki>{{Translate|Example text|strings=true}}</nowiki>}}
| {{Translate|Example text|strings=true|nocat=1}}
| {{Translate|Example text|strings=true|nocat=1}}

Latest revision as of 07:11, 22 August 2024

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.

Usage

Todo: document all the type shortcuts

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

Parameters