打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox cooking:修订间差异

来自星露谷物语扩展百科
SummerFleur留言 | 贡献
模板重构
SummerFleur留言 | 贡献
无编辑摘要
 
(未显示2个用户的18个中间版本)
第1行: 第1行:
<includeonly>{{#set:
<includeonly><div class="infoboxborder">
|Name={{{name|{{PAGENAME}}}}}
<table class="infoboxtable">
|Eng={{English|{{{name|{{PAGENAME}}}}}}}
<tr class="infoboxtitle">
|ID={{ID|{{English|{{{name|{{PAGENAME}}}}}}}}}
<td colspan="2" class="infoboxheader" data-category="{{{cat|{{Category|name|{{{name|{{{eng|{{PAGENAME}}}}}}}}|id={{{id|}}}}}}}}" style="--category-color: {{{cat2|{{Category|color|{{{name|{{{eng|{{PAGENAME}}}}}}}}|id={{{id|}}}}}}}}">{{{name|{{PAGENAME}}}}}</td>
|Description={{{description|{{Description|{{PAGENAME}}}}}}}
</tr>{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|<tr class="infoboxtitle"><td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td></tr>|}}
|Image={{{image|}}}
|Source={{{source|}}}
|Buff={{{buff|}}}
|Duration={{{duration|}}}
|Edibility={{#iferror:{{#expr:{{{edibility|}}}}}||{{{edibility|}}}}}
|Edibility2={{#iferror:{{#expr:{{{edibility|}}}}}|{{{edibility|}}}|}}
|Health={{{health|}}}
|Sellprice={{#iferror:{{#expr:{{{sellprice|}}}}}||{{{sellprice|}}}}}
|Sellprice2={{#iferror:{{#expr:{{{sellprice|}}}}}|{{{sellprice|}}}|}}
|Qiseasoning={{{qiseasoning|}}}
|Recipe={{{recipe|}}}
|Ingredients={{{ingredients|}}}
|Produces={{{produces|}}}
}}<!-- 模板代码从这里开始往下
-->{{#vardefine:item_id|{{{id|{{ID|{{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}}}}<!--
-->{{#vardefine:item_id|{{#var:item_id|{{ID|{{{name|{{PAGENAME}}}}}}}}}}}<!--
--><div class="infoboxborder">
<table class="infoboxtable infobox{{#vardefineecho:infobox_count|{{#expr:{{#var:infobox_count|0}}+1}}}}" style="max-width: 350px;">
<tr>
<tr>
    <td colspan="2" class="infoboxheader infoboxheader-zh"{{#if: {{English|{{{name|{{PAGENAME}}}}}}}|}}>{{{name|{{PAGENAME}}}}}</td>
<td colspan="2">[[File:{{{eng|Blank icon}}}.png|link=]]</td>
</tr>
</tr>
{{#if: {{English|{{{name|{{PAGENAME}}}}}}}|
<tr>
<tr>
    <td colspan="2" class="infoboxheader infoboxheader-en">{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}</td>
<td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{{name|{{PAGENAME}}}}}}}}}</td>
</tr>
</tr>
|}}
<tr>
<tr>
    <td colspan="2" style="padding-bottom: 5px;">[[File:{{{image|Blank icon.png}}}|center]]</td>
<td colspan="2" class="infoboxsection">信息</td>
</tr>
</tr>
<tr>
<tr>
    <td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}</td>
<td class="infoboxsection">来源</td>
</tr>
<td class="infoboxdetail">[[烹饪]]{{#if:{{{source|}}}| {{{source|}}}}}</td>
<tr>
    <td colspan="2" class="infoboxsection">信息</td>
</tr>
{{#if: {{{source|}}} |<nowiki/>
    <tr>
        <td class="infoboxsection">获取渠道</td>
        <td class="infoboxdetail">{{{source|}}}</td>
    </tr>
|<nowiki/>
    <tr>
        <td class="infoboxsection">获取渠道</td>
        <td class="infoboxdetail">[[烹饪]]</td>
    </tr>
}}{{#if:{{{buff|}}}|<nowiki />
<tr>
    <td class="infoboxsection">增益效果</td>
    <td class="infoboxdetail">{{{buff|}}}</td>
</tr>
<tr>
    <td class="infoboxsection">增益时长</td>
    <td class="infoboxdetail">{{duration|{{{duration|}}}}}</td>
</tr>
</tr>
{{#if:{{{buff|}}}|<nowiki />
<tr>
<td class="infoboxsection">增益效果</td>
<td class="infoboxdetail">{{{buff|}}}</td>
</tr>
<tr>
<td class="infoboxsection">持续时间</td>
<td class="infoboxdetail">{{Duration|{{{duration|}}}}}{{#if:{{{duration2|}}}|{{Duration|{{{duration2|}}}}}}}</td>
</tr>
}}{{#if:{{{edibility|}}}|<nowiki />
}}{{#if:{{{edibility|}}}|<nowiki />
<tr>
<tr>
    <td class="infoboxsection">[[能量]] / [[生命值]]</td>
<td class="infoboxsection">能量 / 生命值</td>
    <td class="infoboxdetail">{{#if:{{{health|}}}
<td class="infoboxdetail">{{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|quality=0|dsv=false}}</td>
        |{{EdibilityGrid|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{edibility|}}}|quality=0|dsv=false|health={{{health|}}}}}
</tr>
        |{{EdibilityGrid|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{edibility|}}}|quality=0|dsv=false}} }}
    </td>
</tr>
}}{{#if:{{{sellprice|}}}|<nowiki />
}}{{#if:{{{sellprice|}}}|<nowiki />
<tr>
<tr>
    <td class="infoboxsection">售出价格</td>
<td class="infoboxsection">售出价格</td>
    <td class="infoboxdetail">{{#ifeq:{{{qiseasoning|}}}|false|{{price|{{{sellprice|}}}}}|{{Qualityprice|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{sellprice|}}}|quality=0|dsv=false}}}}</td>
<td class="infoboxdetail">{{Price|{{{sellprice|}}}}}</td>
</tr>
</tr>
}}{{#ifeq:{{{qiseasoning|}}}|false| |<nowiki />
<tr>
<tr>
    <td class="infoboxsection no-wrap" style="vertical-align: middle;">[[File:Qi Seasoning.png|24px|link=]][[齐氏调味料]]</td>
<td class="infoboxsection no-wrap" style="vertical-align: middle;">[[File:Qi Seasoning.png|24px|link=]][[s:齐氏调味料|齐氏调味料]]</td>
    <td class="infoboxdetail">
<td class="infoboxdetail">
        <table style="padding: 0; margin: 0 0 2px 0; border-spacing: 0;">
<table style="padding: 0; margin: 0 0 2px 0; border-spacing: 0;">
        <tr>
<tr>
            <td>{{EdibilityGrid|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{edibility|0}}}|quality=gold|dsv=false}}</td>
<td>{{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|quality=gold|dsv=false}}</td>
            <td style="width: 6px;"></td>
<td style="width: 5px;"></td>
            <td>{{Qualityprice|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{sellprice|0}}}|quality=gold|dsv=false}}</td>
<td>{{Qualityprice|{{{eng|}}}|{{{sellprice|}}}|quality=gold|dsv=false}}</td>
        </tr>
</tr>
        </table>
</table>
    </td>
</td>
</tr>
</tr>
}}
}}
<tr>
<tr>
    <td colspan="2" class="infoboxsection">{{#if:{{#pos:{{{source|}}}|打造}}|配方|食谱}}</td>
<td colspan="2" class="infoboxsection">食谱</td>
</tr>
</tr>
<tr>
<tr>
    <td class="infoboxsection no-wrap">{{#if:{{#pos:{{{source|}}}|打造}}|配方来源|食谱来源}}</td>
<td class="infoboxsection no-wrap">食谱来源</td>
    <td class="infoboxdetail">{{{recipe|}}}</td>
<td class="infoboxdetail">{{{recipe|}}}</td>
</tr>
</tr>
<tr>
<tr>
    <td class="infoboxsection">所需原料</td>
<td class="infoboxsection">所需原料</td>
    <td class="infoboxdetail">{{{ingredients|}}}</td>
<td class="infoboxdetail">{{{ingredients|}}}</td>
</tr>
</tr>
{{#if:{{{produces|}}} |<nowiki />
{{#if:{{{produces|}}} |<nowiki />
<tr>
<tr>
    <td class="infoboxsection">产出</td>
<td class="infoboxsection">产出</td>
    <td class="infoboxdetail">{{{produces|}}}</td>
<td class="infoboxdetail">{{{produces|}}}</td>
</tr>
}}{{#if: {{#var:item_id}}|
<tr>
    <td colspan="2" class="infoboxsection">高级</td>
</tr>
</tr>
<tr>
}}{{Infobox utils|id|name={{{name|}}}|eng={{{eng|}}}|id={{{id|}}}}}
    <td class="infoboxsection">物品编号</td>
    <td class="infoboxdetail consolas">{{#var:item_id}}</td>
</tr>
}}
</table>
</table>
</div>{{InfoboxSEO}}{{InfoboxCategory}}</includeonly><noinclude>{{Englishdoc}}{{Clear}}
</div>{{InfoboxSEO}}</includeonly>
<noinclude>{{Clear}}
==示例==
==示例==
{{Infobox cooking
{{Infobox cooking
|name            = 幸运午餐
|name            = 香酥面糊炸鲳鱼
|image          = Lucky Lunch.png
|eng            = Glazed Butterfish
|description    = {{Description|Lucky Lunch}}
|buff            = {{Name|Fishing|+2}}{{Name|Luck|+2}}
|buff            = {{Name|Luck|+3}}
|duration        = 5分36秒
|duration        = 11分11秒
|dsvduration    = 0536
|dsvduration    = 1111
|sellprice      = 800
|edibility      = 40
|recipe          = {{NPC|Gus|在[[s:星之果实酒吧]]花{{Price|4000}}购买 需要 7+ [[File:HeartIconLarge.png|16px|link=]]}}
|sellprice      = 250
|ingredients    = <ul><li>{{Name|Butterfish|1}}</li><li>{{Name|Wheat Flour|1}}</li><li>{{Name|Oil|1}}</li></ul>
|recipe          = {{CookingChannel|偶数年春28日}}
|edibility      = 80
|ingredients    = {{Name|Sea Cucumber|1}}{{Name|Tortilla|1}}{{Name|Blue Jazz|1}}
}}</noinclude>
}}

2026年1月28日 (三) 20:19的最新版本

示例

香酥面糊炸鲳鱼
Glazed Butterfish
一顿丰盛的大餐。
信息
来源 烹饪
增益效果 钓鱼(+2) 运气(+2)
持续时间 5分36秒
能量 / 生命值
200
90
售出价格 800
齐氏调味料
360
162
1,200
食谱
食谱来源

格斯(在s:星之果实酒吧4,000购买 需要 7+

所需原料
高级
物品编号(O)FlashShifter.StardewValleyExpandedCP_Glazed_Butterfish