Jump to content

Template:Recipes: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
changed header from "Source" to "Recipe Source"
imported>Margotbean
"Recipe Source(s)" to cover all possibliities
Line 11: Line 11:
!Health
!Health
!Stat Bonus
!Stat Bonus
{{#switch:!Sources |!Source | !Recipe Source | !Recipe Sources = !Recipe Source | #default=!Recipe Source}}
{{#switch:!Sources |!Source | !Recipe Source | !Recipe Sources = !Recipe Source(s) | #default=!Recipe Source(s)}}
!Selling Price
!Selling Price
|footer
|footer

Revision as of 08:03, 3 February 2017

Description

This template provides the common Table-Header (and a closing footer) for Recipes. It is intended to be used in conjunction with Template:RecipeRow, which requires transclusion tags on each page to be transcluded.

For more information on transclusion tags, please see https://www.mediawiki.org/wiki/Transclusion

Header:

{| class="wikitable sortable"
!Image
!Name
!Description
!Ingredients
!Restores
!Buff(s)
!Buff(s) Duration
!Recipe Source(s)
!Sell Price

Use

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

{{Recipes|header or footer}}

Example

{{Recipes|header}}
{{:Fried Mushroom|RecipeRow}}
{{Recipes|footer}}
Image Name Description Ingredients Energy Health Stat Bonus Recipe Source(s) Selling Price
Fried Mushroom Earthy and aromatic. Common Mushroom (1) Morel (1) Oil (1) 135
60
Attack (+2) 7m

Demetrius (Mail - 3+ )

data-sort-value="200">200g