“Template:RecipeRow/NoBuffs”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
(min-width description column)
(文本替换 - 替换“{{englishdoc}}”为“{{Englishdoc}}”)
 
(未显示同一用户的1个中间版本)
第5行: 第5行:
 
|style="min-width: 100px;"|{{{description|}}}
 
|style="min-width: 100px;"|{{{description|}}}
 
|{{{ingredients|}}}
 
|{{{ingredients|}}}
{{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}" class="no-wrap"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}}<br />[[File:Health.png|24px|link=]] {{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}}| {{!}}style="text-align: center;"{{!}}不适用}}
+
{{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}" class="no-wrap"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}}<br />[[File:Health.png|24px|link=]] {{#if:{{{health|}}}|{{{health|}}}|{{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}} }}| {{!}}style="text-align: center;"{{!}}不适用}}
 
|{{{recipe|}}}
 
|{{{recipe|}}}
 
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}}
 
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}}
|-</includeonly><noinclude>{{englishdoc}}</noinclude>
+
|-</includeonly><noinclude>{{Englishdoc}}</noinclude>

2022年10月24日 (一) 17:56的最新版本

有关此模板的详细信息,请参阅英语语言文档页

用法

可以通过在相关页面上输入以下内容来使用此模板。

{{RecipeRow/NoBuffs}}

结果是...

|- |[[File:|center]] |RecipeRow/NoBuffs |style="min-width: 100px;"| | |style="text-align: center;"|不适用 | |data-sort-value="0000"|data-sort-value="">Gold.png |-