「Template:RecipeRow」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(討論 | 貢獻) (+data sort values for buffs) |
Shirotsuki(討論 | 貢獻) (retranslate, "not applied" is not really applied in Chinese) |
||
行 5: | 行 5: | ||
|style="min-width: 100px;"|{{#if:{{{description|}}} | {{{description|}}} | {{Description|{{{name|}}}}} }} | |style="min-width: 100px;"|{{#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=]] {{#if:{{{health|}}}|{{{health|}}}|{{#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;"{{!}} 无}} |
− | {{#if:{{{buff|}}} | {{!}}{{{buff|}}} | {{!}}data-sort-value="Z" style="text-align: center;"{{!}} | + | {{#if:{{{buff|}}} | {{!}}{{{buff|}}} | {{!}}data-sort-value="Z" style="text-align: center;"{{!}} 无}} |
− | {{#if:{{{duration|}}} | {{!}}{{#if:{{{dsvduration|}}}|data-sort-value="{{{dsvduration|}}}"{{!}}|}} {{Duration|{{{duration|}}}}} | {{!}}data-sort-value="0" style="text-align: center;"{{!}} | + | {{#if:{{{duration|}}} | {{!}}{{#if:{{{dsvduration|}}}|data-sort-value="{{{dsvduration|}}}"{{!}}|}} {{Duration|{{{duration|}}}}} | {{!}}data-sort-value="0" 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> |
於 2023年7月19日 (三) 15:01 的最新修訂
有關此模板的詳細信息,請參閱英語語言文檔頁。
用法
可以通過在相關頁面上輸入以下內容來使用此模板。
{{RecipeRow}}
結果是...
|-
|[[File:|center]]
|
|style="min-width: 100px;"|
|
|style="text-align: center;"|無
|data-sort-value="Z" style="text-align: center;"|無
|data-sort-value="0" style="text-align: center;"|無
|
|data-sort-value="0000"|金
|-