Difference between revisions of "Template:Recipes"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1}}}
 
<includeonly>{{#switch: {{{1}}}
 +
|head
 +
|Head
 +
|header
 
|Header={{{!}} class="wikitable sortable"
 
|Header={{{!}} class="wikitable sortable"
 
!Image
 
!Image
Line 10: Line 13:
 
!Sources
 
!Sources
 
!Selling Price
 
!Selling Price
 +
|footer
 
|Footer={{!}}-
 
|Footer={{!}}-
 
{{!}}}
 
{{!}}}
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 09:19, 4 April 2016

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 Sources Selling Price
Fried Mushroom.png
Fried Mushroom Earthy and aromatic. Common Mushroom.png Common Mushroom (1)Morel.png Morel (1)Oil.png Oil (1) Energy.png 135
Health.png 60
Attack.png Attack (+2) Time Icon.png 7m

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

data-sort-value="200">Gold.png200g