“Template:Tprice”的版本间的差异
跳到导航
跳到搜索
(Localized) |
|||
第2行: | 第2行: | ||
| [[File:Gold.png|18px|link=]]{{formatnum: | | [[File:Gold.png|18px|link=]]{{formatnum: | ||
{{#ifeq:{{{1|}}}|furniture | {{#ifeq:{{{1|}}}|furniture | ||
− | | 250 | + | | 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> |