差分

ナビゲーションに移動 検索に移動
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>
105,471

回編集

案内メニュー