Template:Strings subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
A panel indicating that this page contains various translatable strings that are used in the template or anywhere else.
A panel indicating that this page contains various translatable strings that are used in the template or anywhere else.


== Parameters ==
== Parameters and Examples ==
* {{Param|number}} Number of strings.
{| class="standard-table" width="100%"
* {{Param|<language code>}} – How many lines have been translated into this language.
! {{Dictionary/common|Param}}
 
! {{Dictionary/common|Desc}}
== Usage ==
! {{Dictionary/common|Example}}
{{Code|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki>|select=1}} {{ {{ROOTPAGENAME}} }}
|-
| align="center" | No Parameters
| Places the template.
| {{CodeBlock|margin=5px|<nowiki>{{Strings subpage}}</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|number}}}}
| Number of strings.
| {{CodeBlock|margin=5px|<nowiki>| number = 6</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|<language code>}}}}
| Number of translated lines into the specified language.
| {{CodeBlock|margin=5px|<nowiki>| en = 6</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| eo = 3</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| he = 2</nowiki>}}
|}


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

Revision as of 09:47, 16 April 2023

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 this page contains various translatable strings that are used in the template or anywhere else.

Parameters and Examples

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