更改

添加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>
2,682

个编辑