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

模板:Recipes:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
m Restored the original
Margotbean留言 | 贡献
Replace arrays + add parameter for crafting recipes
第1行: 第1行:
<onlyinclude><!--
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
-->{{#arraydefine:values|image,name,description,ingredients,restores,buff,duration,recipe,sellprice|,}}<!--
-->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!--
-->{{#arraydiff:valuesToShow|values|valuesToHide}}
{{#switch: {{lc:{{{1}}}}}
|foot|footer=
|foot|footer=
{{!}}-
{{!}}-
第10行: 第6行:
|header=
|header=
{{{!}} class="wikitable sortable roundedborder"
{{{!}} class="wikitable sortable roundedborder"
{{#arrayprint:valuesToShow|!|@@@@|
{{!}}-
  {{#switch:@@@@
!class="unsortable"{{!}}图片
    |image=!class="unsortable"{{!}}图片
!class="no-wrap"{{!}}名称<!--
    |name=!class="no-wrap"{{!}}名称
-->{{#if:{{#pos:{{{hide|}}}|description}}||!!描述}}<!--
    |description=!描述
-->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!所需原料}}<!--
    |ingredients=!所需原料
-->{{#if:{{#pos:{{{hide|}}}|restores}}||!!class="no-wrap"{{!}}能量 / 生命值}}<!--
    |restores=!class="no-wrap"{{!}}能量 / 生命值
-->{{#if:{{#pos:{{{hide|}}}|buff}}||!!增益效果}}<!--
    |buff=!增益效果
-->{{#if:{{#pos:{{{hide|}}}|duration}}||!!增益时长}}<!--
    |duration=!增益时长
-->{{#if:{{#pos:{{{hide|}}}|recipe}}||!!{{#ifeq:{{{crafting|}}}|true|配方来源|食谱来源}}}}<!--
    |recipe=!食谱来源
-->{{#if:{{#pos:{{{hide|}}}|sellprice}}||!!售出价格}}
    |sellprice=!售出价格
    |#default=!{{ucfirst:@@@@}}
  }}
}}
}}</onlyinclude><noinclude>{{Englishdoc}}</noinclude>
}}</onlyinclude><noinclude>{{Englishdoc}}</noinclude>

2023年9月18日 (一) 01:30的版本