「Template:RecipeRow」修訂間的差異
跳至導覽
跳至搜尋
Margotbean(討論 | 貢獻) |
Shirotsuki(討論 | 貢獻) (retranslate, "not applied" is not really applied in Chinese) |
||
(未顯示由 2 位使用者於中間所作的 9 次修訂) | |||
行 2: | 行 2: | ||
|- | |- | ||
|[[File:{{{image|}}}|center]] | |[[File:{{{image|}}}|center]] | ||
− | |{{#if:{{{name|}}} | [[{{{name|}}}]] | | + | |{{#if:{{{name|}}} | class="no-wrap"{{!}} [[{{{name|}}}]] | }} |
− | |{{{ | + | |style="min-width: 100px;"|{{#if:{{{description|}}} | {{{description|}}} | {{Description|{{{name|}}}}} }} |
|{{{ingredients|}}} | |{{{ingredients|}}} | ||
− | {{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}} | | + | {{#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:{{{ | + | {{#if:{{{buff|}}} | {{!}}{{{buff|}}} | {{!}}data-sort-value="Z" style="text-align: center;"{{!}} 无}} |
− | {{#if:{{{buff|}}} | {{!}}{{{buff|}}} | {{!}}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|}}}}} | {{!}}style="text-align: center;"{{!}} | ||
|{{{recipe|}}} | |{{{recipe|}}} | ||
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}} | |data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}} | ||
− | |-</includeonly> | + | |-</includeonly><noinclude>{{Englishdoc}}</noinclude> |
− | <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"|金
|-