Difference between revisions of "Template:Recipes/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
This template provides the common Table-Header (and a closing footer) for Recipes.  It requires transclusion tags on each cooked food page.
+
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.
  
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.
+
For more information on transclusion tags, please see https://www.mediawiki.org/wiki/Transclusion
 
 
This template will still be used for its header and footer after the transition.  Please see [[Template:RecipeRow]] for further information.
 
  
 
Header:
 
Header:
Line 13: Line 11:
 
!Description
 
!Description
 
!Ingredients
 
!Ingredients
!Energy
+
!Restores
!Health
+
!Buff(s)
!Stat Bonus
+
!Buff(s) Duration
!Sources
+
!Recipe Source(s)
!Selling Price
+
!Sell Price
 
</pre>
 
</pre>
  
==Usage==
+
==Use==
 
This template can be used by entering the following onto a relevant page.
 
This template can be used by entering the following onto a relevant page.
  
Line 33: Line 31:
 
{{Recipes|header}}
 
{{Recipes|header}}
 
{{:Fried Mushroom|RecipeRow}}
 
{{:Fried Mushroom|RecipeRow}}
{{Recipes|footer}}<noinclude>[[Category:Template documentation]]</noinclude><includeonly>[[Category:Transclusion templates]]</includeonly>
+
{{Recipes|footer}}
<includeonly>[[de:Vorlage:{{PAGENAME}}]]
+
 
[[es:Plantilla:{{PAGENAME}}]]
+
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
[[ja:テンプレート:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
 
[[ru:Шаблон:{{PAGENAME}}]]
 
[[zh:Template:{{PAGENAME}}]]</includeonly>
 

Latest revision as of 19:53, 8 January 2023

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 Buff(s) Buff Duration Recipe Source(s) Sell 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