Template:Strings subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
| {{CodeBlock|margin=5px|<nowiki>| en = 6</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| eo = 3</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| he = 2</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| en = 6</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| eo = 3</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| he = 2</nowiki>}}
|}
|}
When creating a new strings subpage, click on the three dots in the top right of the documentation box and click "Strings". This will create a new strings subpage with the proper formatting already applied. Of course, this is not required and you can just create a new one from scratch if you so wish.


{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 00:36, 13 January 2024

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.

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

When creating a new strings subpage, click on the three dots in the top right of the documentation box and click "Strings". This will create a new strings subpage with the proper formatting already applied. Of course, this is not required and you can just create a new one from scratch if you so wish.