「テンプレート:RecipeRow/NoBuffs」の版間の差分

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
(add optional health parameter)
5行目: 5行目:
 
|style="min-width: 8em;"|{{#if:{{{description|}}} | {{{description|}}} | {{Description|{{{name|}}}}} }}
 
|style="min-width: 8em;"|{{#if:{{{description|}}} | {{{description|}}} | {{Description|{{{name|}}}}} }}
 
|{{{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;"{{!}}なし}}
 
|style="min-width: 5em;"|{{{recipe|}}}
 
|style="min-width: 5em;"|{{{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>

2021年5月28日 (金) 21:37時点における版

このテンプレートの詳細については、英語のドキュメントページを参照してください。

使用法

このテンプレートは、関連するページに以下を入力することによって使用できます。

{{RecipeRow/NoBuffs}}

結果は...

|- |[[File:|center]] |style="min-width: 5em;" | |style="min-width: 8em;"| | |style="text-align: center;"|なし |style="min-width: 5em;"| |data-sort-value="0000"|data-sort-value="">Gold.pngg |-