Шаблон:Recipes: различия между версиями

Материал из Stardew Valley Wiki
Перейти к навигации Перейти к поиску
Строка 1: Строка 1:
<includeonly>{{#switch: {{{1}}}
+
<onlyinclude><!--
 +
-->{{#arraydefine:values|image,name,description,ingredients,energy,health,buff,duration,recipe,sellprice|,}}<!--
 +
-->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!--
 +
-->{{#arraydiff:valuesToShow|values|valuesToHide}}
 +
{{#switch: {{lc:{{{1}}}}}
 +
|foot|footer=
 +
{{!}}-
 +
{{!}}}
 
|head
 
|head
|Head
+
|header=
|header
+
{{{!}} class="wikitable sortable" id="roundedborder"
|Header={{{!}} class="wikitable sortable" id="roundedborder"
+
{{#arrayprint:valuesToShow|!|@@@@|
!class="unsortable" {{!}} Image
+
  {{#switch:@@@@
!Name
+
    |image=!class="unsortable"{{!}}Image
!Description
+
    |name=!Name
!Ingredients
+
    |description=!Description
!Energy
+
    |ingredients=!Ingredients
!Health
+
    |energy=!Energy
!Buff(s)
+
    |health=!Health
!Buff(s) Duration
+
    |buff=!Buff(s)
!Recipe Source(s)
+
    |duration=!Buff Duration
!Sell Price
+
    |recipe=!Recipe Source(s)
|footer
+
    |sellprice=!Sell Price
|Footer={{!}}-
+
    |#default=!{{ucfirst:@@@@}}
{{!}}}
+
  }}
}}</includeonly><noinclude>{{englishdoc}}</noinclude>
+
}}
 +
}}</onlyinclude><noinclude>{{englishdoc}}</noinclude>

Версия 08:00, 11 мая 2017

Для получения подробной информации о данном шаблоне обратитесь к документации на английском языке.

Применение

Этот шаблон можно использовать путем ввода следующего на соответствующей странице:

{{Recipes}}

Результаты в ...