打开主菜单
首页
随机
登录
设置
关于Stardew Valley Wiki
免责声明
Stardew Valley Wiki
搜索
更改
←上一编辑
模组:常见的数据字段
(查看源代码)
2024年9月21日 (六) 02:53的版本
删除1字节
、
02:53
→Tokenizable string
第246行:
第246行:
See [[Modding:Item queries]] for more info.
See [[Modding:Item queries]] for more info.
−
===
Tokenizable string
===
+
===
模板字符串
===
−
A ''tokenizable string'' is text which can contain special tokens. For example, this shows a message like "It's a beautiful spring day":
+
“模板字符串”是包含特定标记的字符串。例如,下面的模板字符串实际上显示的是“真是美好的春日”:
<syntaxhighlight lang="js">
<syntaxhighlight lang="js">
−
"Message": "
It's a beautiful
[Season]
day
"
+
"Message": "
真是美好的
[Season]
日。
"
</syntaxhighlight>
</syntaxhighlight>
−
See
[[
Modding
:
Tokenizable strings
]]
for more info.
+
更多信息详见
[[
模组
:
模板字符串
]]
。
===翻译键===
===翻译键===
VulpesLucida
39
个编辑