打开主菜单
首页
随机
登录
设置
关于Stardew Valley Wiki
免责声明
Stardew Valley Wiki
搜索
更改
←上一编辑
下一编辑→
Template:Tprice
(查看源代码)
2023年4月7日 (五) 12:13的版本
添加310字节
、
2023年4月7日 (五) 12:13
无编辑摘要
第2行:
第2行:
| [[File:Gold.png|18px|link=]]{{formatnum:
| [[File:Gold.png|18px|link=]]{{formatnum:
{{#ifeq:{{{1|}}}|furniture
{{#ifeq:{{{1|}}}|furniture
−
| 250
–2500
+
| 250
金 ~ 2500
| {{#ifeq:{{{math|true}}}|false
| {{#ifeq:{{{math|true}}}|false
| {{{1|}}}
| {{{1|}}}
第19行:
第19行:
}}
}}
}}金
}}金
−
}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
+
}}</includeonly><noinclude>
'''Template:Tprice''' 用于输出[[旅行货车]]的浮动价格。这个模板会自动补全金币符号和单位。
+
+
==例子==
+
<pre>{{Tprice|40}}</pre>
+
+
{{Tprice|40}}
+
+
<pre>{{Tprice|furniture}}</pre>
+
+
{{Tprice|furniture}}
+
+
<pre>{{Tprice|40–20000|math=false}}</pre>
+
+
{{Tprice|40–20000|math=false}}
+
+
{{Englishdoc}}</noinclude>
Sizau
2,776
个编辑