更改

跳到导航 跳到搜索
删除157字节 、 2023年6月18日 (日) 19:34
update template to use module
第1行: 第1行:  
<includeonly>{{#if:{{{1|}}}
 
<includeonly>{{#if:{{{1|}}}
| [[File:Gold.png|18px|link=]]{{formatnum:
+
|<span style="display: none;">data-sort-value="{{{1|}}}"</span><!--
  {{#ifeq:{{{1|}}}|furniture
+
-->{{#invoke:Tcartprice|tprice
   | 250金 ~ 2500
+
|price = {{{1|}}}
   | {{#expr:
+
|separator = ~
      {{#ifexpr:100>{{{1|}}}*3
+
|gold = 金
      | 100
+
|spacearoundseparator = true
      | {{{1|}}}*3
+
}}
      }}
+
|}}</includeonly><noinclude>'''Template:Tprice''' 用于输出[[旅行货车]]的浮动价格。这个模板会自动补全金币符号和单位。
     }}金 ~ {{#expr:
  −
      {{#ifexpr:1000>{{{1|}}}*5
  −
      | 1000
  −
      | {{{1|}}}*5
  −
      }}
  −
     }}
  −
    }}
  −
   }}金
  −
}}</includeonly><noinclude>'''Template:Tprice''' 用于输出[[旅行货车]]的浮动价格。这个模板会自动补全金币符号和单位。
      
==例子==
 
==例子==
界面管理员、patroller、结构式讨论监督员管理员、translators
107,410

个编辑

导航菜单