Template:Strings subpage/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page.) --> | <!-- Please place categories where indicated at the bottom of this page.) --> | ||
A panel indicating that | A panel indicating that the page it is on contains strings that are used in lieu of complicated {{tl2|autolang}}s on the base page. Strings subpages must be set up in this manner: | ||
{{Codeblock|<nowiki><noinclude>{{Strings subpage | |||
|number = ## | |||
|en = ## | |||
<!-- insert other languages here --> | |||
}}</noinclude> | |||
<includeonly><onlyinclude>{{#switch:{{{1|}}} | |||
| <string name 1> = {{autolang|Lorem ipsum dolor...}} | |||
}}</onlyinclude></includeonly> | |||
</nowiki>}} | |||
== Parameters and Examples == | == Parameters and Examples == | ||
{| class="standard-table" width="100%" | {| class="standard-table" width="100%" |
Revision as of 11:25, 12 December 2023

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.
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:
Parameters and Examples
Parameter | Description | Example |
---|---|---|
No Parameters | Places the template. | |
{{{number}}} | Number of strings. | |
{{{<language code>}}} | Number of translated strings into the specified language. |