“Template:Recipes”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
(创建页面,内容为“<includeonly>{{#switch: {{{1}}} |head |Head |header |Header={{{!}} class="wikitable sortable" !Image !Name !Description !Ingredients !Energy !Health !Stat Bonus !Sou...”)
 
(Replace arrays + add parameter for crafting recipes)
 
(未显示5个用户的16个中间版本)
第1行: 第1行:
<includeonly>{{#switch: {{{1}}}
+
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
 +
|foot|footer=
 +
{{!}}-
 +
{{!}}}
 
|head
 
|head
|Head
+
|header=
|header
+
{{{!}} class="wikitable sortable roundedborder"
|Header={{{!}} class="wikitable sortable"
+
{{!}}-
!Image
+
!class="unsortable"{{!}}图片
!Name
+
!class="no-wrap"{{!}}名称<!--
!Description
+
-->{{#if:{{#pos:{{{hide|}}}|description}}||!! 描述}}<!--
!Ingredients
+
-->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!所需原料}}<!--
!Energy
+
-->{{#if:{{#pos:{{{hide|}}}|restores}}||!!class="no-wrap"{{!}}能量 / 生命值}}<!--
!Health
+
-->{{#if:{{#pos:{{{hide|}}}|buff}}||!!增益效果}}<!--
!Stat Bonus
+
-->{{#if:{{#pos:{{{hide|}}}|duration}}||!! 增益时长}}<!--
!Sources
+
-->{{#if:{{#pos:{{{hide|}}}|recipe}}||!!{{#ifeq:{{{crafting|}}}|true|配方来源|食谱来源}}}}<!--
!Selling Price
+
-->{{#if:{{#pos:{{{hide|}}}|sellprice}}||!!售出价格}}
|footer
+
}}</onlyinclude><noinclude>{{Englishdoc}}</noinclude>
|Footer={{!}}-
 
{{!}}}
 
}}</includeonly><noinclude>{{englishdoc}}</noinclude>
 

2023年9月17日 (日) 17:30的最新版本

有关此模板的详细信息,请参阅英语语言文档页

用法

可以通过在相关页面上输入以下内容来使用此模板。

{{Recipes}}

结果是...