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

模板:Infobox cooking:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
无编辑摘要
SummerFleur留言 | 贡献
兼容可食用物品
第4行: 第4行:
|ID={{ID|{{English|{{{name|{{PAGENAME}}}}}}}}}
|ID={{ID|{{English|{{{name|{{PAGENAME}}}}}}}}}
|Description={{{description|{{Description|{{PAGENAME}}}}}}}
|Description={{{description|{{Description|{{PAGENAME}}}}}}}
|Image={{{image|}}}
|Recipe={{{recipe|}}}
|Source={{{source|}}}
|Ingredient={{{ingredient|}}}
|Buff={{{buff|}}}
|Price={{#iferror:{{#expr:{{{price|}}}}}||{{{price|}}}}}
|Duration={{{duration|}}}
|Edibility={{#iferror:{{#expr:{{{edibility|}}}}}||{{{edibility|}}}}}
|Edibility2={{#iferror:{{#expr:{{{edibility|}}}}}|{{{edibility|}}}|}}
|Health={{{health|}}}
|Sellprice={{#iferror:{{#expr:{{{sellprice|}}}}}||{{{sellprice|}}}}}
|Sellprice={{#iferror:{{#expr:{{{sellprice|}}}}}||{{{sellprice|}}}}}
|Sellprice2={{#iferror:{{#expr:{{{sellprice|}}}}}|{{{sellprice|}}}|}}
}}<!-- 模板代码从这里开始往下
|Qiseasoning={{{qiseasoning|}}}
-->{{#vardefine:item_id|{{ID|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}}<!--
|Recipe={{{recipe|}}}
-->{{#vardefine:item_id|{{#var:item_id|{{ID|{{{name|{{PAGENAME}}}}}}}}}}}<!--
|Ingredients={{{ingredients|}}}
--><div id="infoboxborder">
|Produces={{{produces|}}}
<table id="infoboxtable" style="max-width: 350px;" class="infobox{{#vardefineecho:infobox_count|{{#expr:{{#var:infobox_count|0}}+1}}}}">
}}{{#vardefine:item_id|{{{id|{{ID|{{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}}}}<div id="infoboxborder">
<tr>
{| id="infoboxtable" class="infobox{{#vardefineecho:infobox_count|{{#expr:{{#var:infobox_count|0}}+1}}}}"
<td colspan="2" id="infoboxheader"{{#if: {{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}| class="infoboxheaderzh"|}}>{{{name|{{PAGENAME}}}}}</td>
|colspan="2" id="infoboxheader"{{#if: {{English|{{{name|{{PAGENAME}}}}}}}| class="infoboxheaderzh"|}}|{{{name|{{PAGENAME}}}}}
</tr>
{{#if: {{English|{{{name|{{PAGENAME}}}}}}}|
{{#if: {{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}|
<tr>
<td colspan="2" id="infoboxheader" class="infoboxheaderen">{{{English|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}</td>
</tr>|}}
<tr>
<td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}{{#if:{{{ext|}}}|.{{{ext|}}}|.png}}]]{{#if:{{{image2|}}}|{{#ifeq:{{lc:{{{image2spacing|}}}}}|true|&nbsp; &nbsp;|&nbsp;}}[[File:{{{image2|}}}.png]]|}}{{#if:{{{image3|}}}|&nbsp;[[File:{{{image3|}}}.png]]|}}{{#if:{{{image4|}}}|&nbsp;[[File:{{{image4|}}}.png]]|}}{{#if:{{{image5|}}}|&nbsp;[[File:{{{image5|}}}.png]]|}}</td>
</tr>
<tr>
<td colspan="2" id="infoboxdetail" style="text-align: center; padding-right: 3px;">{{#if:{{{description|}}}|{{{description|}}}|请输入描述}}</td>
</tr>
<tr>
<tr>
<td colspan="2" id="infoboxheader" class="infoboxheaderen">{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}</td>
<td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">信息</td>
</tr>
</tr>
|
{{#if:{{{source|}}}|<nowiki/>
}}
<tr>
|-
<td id="infoboxsection">来源</td>
|colspan="2" style="padding-bottom: 5px;"|[[File:{{{image|Blank icon.png}}}|center]]
<td id="infoboxdetail">{{{source|}}}</td>
|-
</tr>
|colspan="2" id="infoboxdetail" style="text-align: center; padding-right: 3px;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
}}{{#if:{{{buff|}}}|<nowiki/>
|-
<tr>
|colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;"|信息
<td id="infoboxsection">增益效果</td>
|-
<td id="infoboxdetail">{{{buff|}}}</td>
|id="infoboxsection"|获取渠道
</tr>
|id="infoboxdetail"|{{#if: {{{source|}}} | {{{source|}}} | [[烹饪]]}}<!--
<tr>
-->{{#if:{{{buff|}}}|<nowiki />
<td id="infoboxsection">增益效果</td>
{{!}}-
<td id="infoboxdetail">{{{duration|}}}</td>
{{!}}id="infoboxsection"{{!}}增益效果
</tr>
{{!}}id="infoboxdetail"{{!}}{{{buff|}}}
}}{{#if:{{{edibility|}}}|<nowiki />
{{!}}-
{{!}}id="infoboxsection"{{!}}增益时长
{{!}}id="infoboxdetail"{{!}}{{duration|{{{duration|}}}}}
|}}<!--
-->{{#if:{{{edibility|}}}|<nowiki />
<tr>
<tr>
<td id="infoboxsection">[[能量]] / [[生命值]]</td>
<td id="infoboxsection">[[能量]] / [[生命值]]</td>
第51行: 第51行:
</td>
</td>
</tr>
</tr>
}}<!--
}}{{#if:{{{price|}}}|<nowiki/>
-->{{#if:{{{sellprice|}}}|<nowiki />
{{!}}-
{{!}}id="infoboxsection"{{!}}售出价格
{{!}}id="infoboxdetail"{{!}}{{#ifeq:{{{qiseasoning|}}}|false|{{price|{{{sellprice|}}}}}|{{Qualityprice|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{sellprice|}}}|quality=0|dsv=false}}}}
}}<!--
-->{{#ifeq:{{{qiseasoning|}}}|false| |<nowiki />
{{!}}-
{{!}}id="infoboxsection" class="no-wrap" style="padding-left: 12px; vertical-align: middle;"{{!}}[[File:Qi Seasoning.png|24px|link=]][[齐氏调味料]]
{{!}}id="infoboxdetail"{{!}}
<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 id="infoboxsection">购买价格</td>
<td style="width: 6px;"></td>
<td id="infoboxdetail">{{#iferror:{{Price|{{{price|}}}}}|{{{price|}}}|{{Price|{{{price|}}}}}}}</td>
<td>{{Qualityprice|{{#sub:{{{image|Blank icon.png|}}}|0|-4}}|{{{sellprice|0}}}|quality=gold|dsv=false}}</td>
</tr>
</tr>
</table>
}}
}}
|-
<tr>
|colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;"|{{#if:{{#pos:{{{source|}}}|打造}}|配方|食谱}}
<td id="infoboxsection">售出价格</td>
|-
<td id="infoboxdetail">{{#if:{{{sellprice|}}}|{{Price|{{{sellprice|}}}}}|不可出售}}</td>
|id="infoboxsection" class="no-wrap"|{{#if:{{#pos:{{{source|}}}|打造}}|配方来源|食谱来源}}
</tr>
|id="infoboxdetail" | {{{recipe|}}}
<tr>
|-
<td colspan="2" style="padding: 0; border: 0;">
|id="infoboxsection"|所需原料
<table style="width: 101%; margin: -2px;">
|id="infoboxdetail"|{{{ingredients|}}}<!--
<tr>
-->{{#if:{{{produces|}}} |<nowiki />
<td id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0; padding-right: 0;">打造</td>
{{!}}-
</tr>
{{!}}id="infoboxsection"{{!}}产出
<tr>
{{!}}id="infoboxdetail"{{!}}{{{produces|}}} |}}
<td id="infoboxsection">配方来源</td>
{{#if: {{#var:item_id}}|
<td id="infoboxdetail">{{{recipe|}}}</td>
</tr>
<tr>
<td id="infoboxsection">所需原料</td>
<td id="infoboxdetail">{{{ingredients|}}}</td>
</tr>
{{#if:{{{produces|}}}|<nowiki/>
<tr>
<td id="infoboxsection">产出</td>
<td id="infoboxdetail">{{{produces|}}}</td>
</tr>
}}
</table>
</td>
</tr>
{{#if:{{#var:item_id}}|
<tr>
<tr>
<td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">高级</td>
<td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">高级</td>
第89行: 第92行:
<td id="infoboxdetail" class="consolas">{{#var:item_id}}</td>
<td id="infoboxdetail" class="consolas">{{#var:item_id}}</td>
</tr>
</tr>
|
}}
}}
|}</div>{{InfoboxSEO}}{{InfoboxCategory}}</includeonly><noinclude>{{Englishdoc}}{{Clear}}
</table>
</div>{{InfoboxSEO}}{{InfoboxCategory}}</includeonly><noinclude>{{Documentation}}
==示例==
==示例==
{{Infobox cooking
{{{{{1|Infobox craft}}}
|name           = 幸运午餐
|name       = 仙尘
|image          = Lucky Lunch.png
|eng        = Fairy Dust
|description     = {{Description|Lucky Lunch}}
|description = {{Description|Fairy Dust}}
|buff            = {{Name|Luck|+3}}
|source      = [[打造]] • [[镇长的庄园#兑奖机|兑奖机]] • [[钓鱼#金宝箱|金宝箱]] • [[大树桩(地点)#浣熊的要求|浣熊]] • [[书摊老板#回收书籍|书摊老板]] • [[大树桩(地点)#浣熊妻子的商店|浣熊妻子的商店]]
|duration        = 11分11秒
|sellprice   = 300
|dsvduration    = 1111
|recipe     = [[任务#The Pirates Wife|“海盗的妻子”]]任务
|edibility      = 40
|ingredients = {{Name|Diamond|1}}{{Name|Fairy Rose|1}}
|sellprice       = 250
|produces    = 每次打造可获得 999 个
|recipe         = {{CookingChannel|偶数年春28日}}
|ingredients     = {{Name|Sea Cucumber|1}}{{Name|Tortilla|1}}{{Name|Blue Jazz|1}}
}}
}}
{{Crafts|Header}}
{{:仙尘|CraftRow}}
{{Crafts|Footer}}
</noinclude>
</noinclude>

2025年6月26日 (四) 09:17的版本

[ 创建 | 刷新 ]文档页面
当前页面文档缺失,需要扩充。

示例

仙尘
Fairy Dust
洒在小桶、熔炉和其他精炼设备上,可以立刻获得正在生产的产品。
信息
来源 打造兑奖机金宝箱浣熊书摊老板浣熊妻子的商店
售出价格 300
打造
配方来源 “海盗的妻子”任务
所需原料 钻石(1) 玫瑰仙子(1)
产出 每次打造生产 每次打造可获得 999 个 份仙尘
高级
物品编号(O)872


图片 名称 描述 配方来源 所需原料

仙尘