Jump to content

Template:RecipeRow/NoBuffsHealthEnergy/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
Created page with "This template is a derivation of Template:RecipeRow, which creates a row in a recipe table. This template omits the "Buff(s)", "Duration", "Health", and "Energy" columns..."
 
imported>Margotbean
No edit summary
Line 7: Line 7:
This template is intended to be used in conjunction with [[Template:Recipes]], which provides the table header and footer, as shown:
This template is intended to be used in conjunction with [[Template:Recipes]], which provides the table header and footer, as shown:
<pre>
<pre>
{{Recipes|header|hide=buff,duration,health,energy}}
{{Recipes|header|hide=buff,duration,restores}}
{{:Autumn's Bounty|RecipeRow/NoBuffsHealthEnergy}}
{{:Autumn's Bounty|RecipeRow/NoBuffsHealthEnergy}}
{{:Fried Egg|RecipeRow/NoBuffsHealthEnergy}}
{{:Fried Egg|RecipeRow/NoBuffsHealthEnergy}}
Line 14: Line 14:


==Example==
==Example==
{{Recipes|header|hide=buff,duration,health,energy}}
{{Recipes|header|hide=buff,duration,restores}}
{{:Autumn's Bounty|RecipeRow/NoBuffsHealthEnergy}}
{{:Autumn's Bounty|RecipeRow/NoBuffsHealthEnergy}}
{{:Fried Egg|RecipeRow/NoBuffsHealthEnergy}}
{{:Fried Egg|RecipeRow/NoBuffsHealthEnergy}}

Revision as of 23:03, 12 September 2018

This template is a derivation of Template:RecipeRow, which creates a row in a recipe table. This template omits the "Buff(s)", "Duration", "Health", and "Energy" columns in the table.

It requires transclusion tags in the infobox on the page to be included. For an example, please see Template:Infobox cooking/doc. For information on transclusion tags, please see https://www.mediawiki.org/wiki/Transclusion

Credit to Lilly for creating the sandbox template.

This template is intended to be used in conjunction with Template:Recipes, which provides the table header and footer, as shown:

{{Recipes|header|hide=buff,duration,restores}}
{{:Autumn's Bounty|RecipeRow/NoBuffsHealthEnergy}}
{{:Fried Egg|RecipeRow/NoBuffsHealthEnergy}}
{{Recipes|footer}}

Example

Image Name Description Ingredients Recipe Source(s) Sell Price
Autumn's Bounty A taste of the season. Yam (1) Pumpkin (1)

Demetrius (Mail - 7+ )

data-sort-value="350">350g
Fried Egg Sunny-side up. Egg (1) Starter data-sort-value="35">35g