「テンプレート:Recipes」の版間の差分

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
(condense health & energy into 1 column)
(Replace arrays)
 
(2人の利用者による、間の7版が非表示)
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=
 
{{!}}-
 
{{!}}-
9行目: 5行目:
 
|head
 
|head
 
|header=
 
|header=
{{{!}} class="wikitable sortable" id="roundedborder"
+
{{{!}} class="wikitable sortable roundedborder"
{{#arrayprint:valuesToShow|!|@@@@|
+
{{!}}-
  {{#switch:@@@@
+
!class="unsortable"{{!}}画像
    |image=!class="unsortable"{{!}}画像
+
!名前<!--
    |name=!名前
+
-->{{#if:{{#pos:{{{hide|}}}|description}}||!!説明}}<!--
    |description=!説明
+
-->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!材料}}<!--
    |ingredients=!材料
+
-->{{#if:{{#pos:{{{hide|}}}|restores}}||!!style="min-width: 4rem;"{{!}}エナジー / 体力}}<!--
    |restores=!回復効果
+
-->{{#if:{{#pos:{{{hide|}}}|buff}}||!!効果}}<!--
    |buff=!効果
+
-->{{#if:{{#pos:{{{hide|}}}|duration}}||!!効果時間}}<!--
    |duration=!効果時間
+
-->{{#if:{{#pos:{{{hide|}}}|recipe}}||!!レシピ入手}}<!--
    |recipe=!レシピ入手
+
-->{{#if:{{#pos:{{{hide|}}}|sellprice}}||!!売値}}
    |sellprice=!売値
+
}}</onlyinclude><noinclude>{{Englishdoc}}</noinclude>
    |#default=!{{ucfirst:@@@@}}
 
  }}
 
}}
 
}}</onlyinclude><noinclude>{{englishdoc}}[[カテゴリ:トランスクルージョンテンプレート]]</noinclude>
 

2023年9月17日 (日) 16:55時点における最新版

このテンプレートの詳細については、英語のドキュメントページを参照してください。

使用法

このテンプレートは、関連するページに以下を入力することによって使用できます。

{{Recipes}}

結果は...