Template:Strings subpage/doc: Difference between revisions
Jump to navigation
Jump to search
Note:(Not required), but when you add a new language, it is recommended to sort the language codes from A to Z.
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
== Looking for creating a Strings subpage? == | == Looking for creating a Strings subpage? == | ||
If you are looking for creating a strings subpage, just create a "{{code|/strings}}" subpage, then paste the following code: | If you are looking for creating a strings subpage, just create a "{{code|/strings}}" subpage, then paste the following code: | ||
{{Expand|title=See the code| | {{Expand|title=See the code| | ||
{{CodeBlock|<nowiki>{{Strings subpage | {{CodeBlock|<nowiki>{{Strings subpage |
Revision as of 03:59, 7 March 2024

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.
Looking for creating a Strings subpage?
If you are looking for creating a strings subpage, just create a "/strings" subpage, then paste the following code:

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. |
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.