模板:Infobox cooking:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
SummerFleur(留言 | 贡献) compatibility |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly><div class="infoboxborder"> | <includeonly>{{#vardefine:default_name|{{Eng|{{{title|{{PAGENAME}}}}}}}}}<div class="infoboxborder"> | ||
{{{!}} class="infoboxtable" | |||
<tr class="infoboxtitle"> | <tr class="infoboxtitle"> | ||
<td colspan="2" class="infoboxheader | <td colspan="2" class="infoboxheader">{{{name|{{PAGENAME}}}}}</td> | ||
</tr> | </tr> | ||
<tr> | {{#if: {{Eng|{{{name|{{PAGENAME}}}}}}}| | ||
<td colspan="2" class=" | <tr class="infoboxtitle"> | ||
<td colspan="2" class="infoboxheader">{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}</td> | |||
</tr> | </tr> | ||
{{!}} | |||
}} | |||
</ | {{!}}- | ||
<tr> | {{!}} colspan="2" style="padding-bottom: 5px;"|[[File:{{{image|Blank icon.png}}}|center]] | ||
{{!}}- | |||
{{!}} colspan="2" class="infoboxdetail" style="text-align: center; padding-right: 3px;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | |||
</tr> | {{!}}- | ||
{{#if:{{{ | {{!}} colspan="2" class="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;"|信息 | ||
{{!}}- | |||
{{!}} class="infoboxsection" {{!}} 获取渠道 | |||
{{!}} class="infoboxdetail"|{{#if:{{{source|}}} | {{{source|}}} | [[烹饪]]}}<!-- | |||
-->{{#if:{{{gprice|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}} class="infoboxsection" {{!}} 购买价格 | |||
{{!}} class="infoboxdetail" {{!}} {{{gprice|}}} | |||
}}{{#if:{{{buff|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}class="infoboxsection"{{!}}增益效果 | |||
{{!}}class="infoboxdetail"{{!}}{{{buff|}}} | |||
{{!}}- | |||
{{!}}class="infoboxsection"{{!}}增益时长 | |||
{{!}}class="infoboxdetail"{{!}}{{duration|{{{duration|}}}}} | |||
|}}<!-- | |||
-->{{#if:{{{edibility|}}}|<nowiki /> | |||
<tr> | |||
<td class="infoboxsection">[[能量]] / [[生命值]]</td> | |||
<td class="infoboxdetail">{{#if:{{{health|}}} | |||
|{{EdibilityGrid|{{{image|Blank icon.png|}}}|{{{edibility|}}}|quality=0|dsv=false|health={{{health|}}}}} | |||
|{{EdibilityGrid|{{{image|Blank icon.png|}}}|{{{edibility|}}}|quality=0|dsv=false}} }} | |||
</td> | |||
</tr> | |||
}}<!-- | |||
-->{{#if:{{{sellprice|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}class="infoboxsection"{{!}}售出价格 | |||
{{!}}class="infoboxdetail"{{!}}{{#ifeq:{{{qiseasoning|}}}|false|{{price|{{{sellprice|}}}}}|{{Qualityprice|{{{image|Blank icon.png|}}}|{{{sellprice|}}}|quality=0|dsv=false}}}} | |||
}}<!-- | |||
-->{{#ifeq:{{{qiseasoning|}}}|false| |<nowiki /> | |||
{{!}}- | |||
{{!}}class="infoboxsection no-wrap" style="padding-left: 12px; vertical-align: middle;"{{!}}[[File:Qi Seasoning.png|24px|link=]][[齐氏调味料]] | |||
{{!}}class="infoboxdetail"{{!}} | |||
<table style="padding: 0; margin: 0 0 2px 0; border-spacing: 0;"> | |||
<tr> | <tr> | ||
<td | <td>{{EdibilityGrid|{{{image|Blank icon.png|}}}|{{{edibility|0}}}|quality=gold|dsv=false}}</td> | ||
<td | <td style="width: 6px;"></td> | ||
<td>{{Qualityprice|{{{image|Blank icon.png|}}}|{{{sellprice|0}}}|quality=gold|dsv=false}}</td> | |||
</tr> | </tr> | ||
</table> | |||
}} | |||
|- | |||
|colspan="2" class="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;"|{{#if:{{#pos:{{{source|}}}|打造}}|配方|食谱}} | |||
|- | |||
|class="infoboxsection no-wrap"|{{#if:{{#pos:{{{source|}}}|打造}}|配方来源|食谱来源}} | |||
|class="infoboxdetail" | {{{recipe|}}} | |||
|- | |||
|class="infoboxsection"|所需原料 | |||
|class="infoboxdetail"|{{{ingredients|}}} | |||
{{#if:{{{produces|}}} |<nowiki /> | |||
{{!}}- | |||
{{!}}class="infoboxsection"{{!}}产出 | |||
{{!}}class="infoboxdetail"{{!}}{{{produces|}}} |}} | |||
{{#vardefine:item_id|{{ID|{{{title|{{PAGENAME}}}}}}}}} | |||
{{#vardefine:item_id|{{ID|{{{title|{{PAGENAME}}}}}}}}} | |||
{{#if:{{#var:item_id}}| | |||
<tr> | <tr> | ||
<td class="infoboxsection" | <td colspan="2" class="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">高级</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td class="infoboxsection"> | <td class="infoboxsection">物品编号</td> | ||
<td class="infoboxdetail">{{ | <td class="infoboxdetail" style="overflow-wrap: anywhere;">{{#var:item_id}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{!}}} | |||
</div>{{InfoboxSEO}}</includeonly><noinclude>{{Clear}} | |||
</div>{{InfoboxSEO}}</includeonly><noinclude> | |||
==示例== | ==示例== | ||
{{Infobox cooking | {{Infobox cooking | ||
|name = | |name = 香酥面糊炸鲳鱼 | ||
|image = Glazed Butterfish.png | |||
|image = | |description = {{Description|Glazed Butterfish}} | ||
|description = {{Description| | |buff = {{Name|Fishing|+2}}{{Name|Luck|+2}} | ||
| | |duration = 5分36秒 | ||
| | |dsvduration = 0536 | ||
| | |sellprice = 800 | ||
|recipe = {{NPC|Gus|在[[星之果实酒吧]]花{{Price|4000}}购买 需要 7+ [[File:HeartIconLarge.png|16px|link=]]}} | |||
|ingredients = <ul><li>{{Name|Butterfish|1}}</li><li>{{Name|Wheat Flour|1}}</li><li>{{Name|Oil|1}}</li></ul> | |||
|edibility = 80 | |||
| | }}</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
|ingredients = {{ | |||
}} | |||