Template:Strings subpage/doc/zh: Difference between revisions
Jump to navigation
Jump to search
注意:(非必需),但是当你添加新的语言时,建议按照语言代码从 A 到 Z 排序。
1416006136 (talk | contribs) mNo edit summary |
m (autolang replace) |
||
Line 22: | Line 22: | ||
<includeonly><onlyinclude>{{#switch:{{{1}}}<!-- Remember to keep this clean by sorting A-Z, and copy paste the tab space instead of pressing "SPACE" repeatedly. --> | <includeonly><onlyinclude>{{#switch:{{{1}}}<!-- Remember to keep this clean by sorting A-Z, and copy paste the tab space instead of pressing "SPACE" repeatedly. --> | ||
| Example = {{ | | Example = {{#switch: {{language}} | ||
| Example | | #default = Example | ||
| de = Beispiel | | de = Beispiel | ||
| eo = Ekzemplo | | eo = Ekzemplo |
Latest revision as of 04:01, 6 August 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.
一个面板,指示此页面包含模板或其他任何位置中使用的各种可翻译字符串。
寻找创建字符串子页面的方法?
如果你想创建一个字符串子页面,只需创建一个 "/strings" 子页面,然后粘贴以下代码:

参数和示例
参数 | 描述 | 示例 |
---|---|---|
无参数 | 放置模板。 | |
{{{number}}} | 字符串的数量。 | |
{{{<语言代码>}}} | 指定语言的翻译字符串数量。 |
创建新的字符串子页面时,点击文档框右上角的三个点,然后点击“字符串”。这将创建一个新的字符串子页面,并自动应用适当的格式。当然,这并非必需,如果你愿意,也可以从头开始创建一个新的。