Difference between revisions of "Template:Recipes/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(category & fixed typo)
Line 1: Line 1:
 
==Description==
 
==Description==
This template is provides the common Table-Header (and a closing footer) for Recipes.
+
This template provides the common Table-Header (and a closing footer) for Recipes.  It requires transclusion tags on each cooked food page. 
 +
 
 +
Currently, these tags transclude the "Stats" table, which contains information already in the infobox.  The English language wiki is in the process of moving these transclusion tags to the infobox itself, and eliminating the "Stats" table on each cooked food's page.
 +
 
 +
This template will still be used for its header and footer after the transition.  Please see [[Template:RecipeRow]] for further information.
  
 
Header:
 
Header:

Revision as of 11:26, 14 April 2017

Description

This template provides the common Table-Header (and a closing footer) for Recipes. It requires transclusion tags on each cooked food page.

Currently, these tags transclude the "Stats" table, which contains information already in the infobox. The English language wiki is in the process of moving these transclusion tags to the infobox itself, and eliminating the "Stats" table on each cooked food's page.

This template will still be used for its header and footer after the transition. Please see Template:RecipeRow for further information.

Header:

{| class="wikitable sortable"
!Image
!Name
!Description
!Ingredients
!Energy
!Health
!Stat Bonus
!Sources
!Selling Price

Usage

This template can be used by entering the following onto a relevant page.

{{Recipes|header or footer}}

Example

{{Recipes|header}}
{{:Fried Mushroom}}
{{Recipes|footer}}
Image Name Description Ingredients Energy / Health Buff(s) Buff Duration Recipe Source(s) Sell Price
Fried Mushroom
Fried Mushroom.png
Earthy and aromatic.
Information
Source Cooking
Buff(s) Attack.png Attack (+2)
Buff Duration Time Icon.png 7m
Energy / Health
Energy.png
135
Health.png
60
Sell Price
Fried Mushroom.png
200g
Qi Seasoning.pngQi Seasoning
Energy.png
Gold Quality Icon.png
243
Health.png
Gold Quality Icon.png
109
Fried Mushroom.png
Gold Quality Icon.png
300g
Recipe
Recipe Source(s)

Demetrius Icon.png Demetrius (Mail - 3+ HeartIconLarge.png)

Ingredients Common Mushroom.png Common Mushroom (1)Morel.png Morel (1)Oil.png Oil (1)