Template:Strings subpage/doc

From Valve Developer Community
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Strings subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

A panel indicating that the page it is on contains strings that are used in lieu of complicated {{autolang}}s on the base page. Strings subpages must be set up in this manner:

<noinclude>{{Strings subpage |number = ## |en = ## <!-- insert other languages here --> }}</noinclude> <includeonly><onlyinclude>{{#switch:{{{1|}}} | <string name 1> = {{autolang|Lorem ipsum dolor...}} }}</onlyinclude></includeonly>

Parameters and Examples

Parameter Description Example
No Parameters Places the template.
{{Strings subpage}}
{{{number}}} Number of strings.
| number = 6
{{{<language code>}}} Number of translated strings into the specified language.
| en = 6
| eo = 3
| he = 2