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