Difference between revisions of "Template:RecipeRow/doc"
Jump to navigation
Jump to search
m (→Example: Replace first example with Squid Ink Ravioli for previewing) |
Margotbean (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This template creates a row in a recipe table. It requires transclusion tags in the infobox on the page to be included. For an example, please see [[Template:Infobox cooking | + | ==Description== |
+ | This template creates a row in a recipe table. It requires transclusion tags in the infobox on the page to be included. For an example, please see [[:Template:Infobox cooking]]. For information on transclusion tags, please see https://www.mediawiki.org/wiki/Transclusion | ||
− | < | + | <p style="font-size: smaller;">''Credit to [https://stardewcommunitywiki.com/User:Lilly Lilly] for creating the sandbox template.''</p> |
− | 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}} | {{Recipes|header}} | ||
Line 13: | Line 14: | ||
==Example== | ==Example== | ||
{{Recipes|header}} | {{Recipes|header}} | ||
− | {{: | + | {{:Autumn's Bounty|RecipeRow}} |
{{:Fried Egg|RecipeRow}} | {{:Fried Egg|RecipeRow}} | ||
{{Recipes|footer}} | {{Recipes|footer}} | ||
Line 32: | Line 33: | ||
{{Recipes|footer}}</pre> | {{Recipes|footer}}</pre> | ||
− | < | + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− |
Latest revision as of 19:51, 8 January 2023
Description
This template creates a row in a recipe table. It requires transclusion tags in the infobox on the page to be included. For an example, please see Template:Infobox cooking. 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}} {{:Autumn's Bounty|RecipeRow}} {{:Fried Egg|RecipeRow}} {{Recipes|footer}}
Example
Image | Name | Description | Ingredients | Energy / Health | Buff(s) | Buff Duration | Recipe Source(s) | Sell Price |
---|---|---|---|---|---|---|---|---|
Autumn's Bounty | A taste of the season. | ![]() ![]() |
![]() ![]() |
![]() ![]() |
![]() |
|
![]() | |
Fried Egg | Sunny-side up. | ![]() |
![]() ![]() |
N/A | N/A | Starter | ![]() |
Other Languages
In languages other than English, the name of the recipe page needs to be in the native language, as shown below:
German Example
{{Recipes|header}} {{:Herbstfülle|RecipeRow}} {{:Spiegelei|RecipeRow}} {{Recipes|footer}}
Japanese Example
{{Recipes|header}} {{:秋のめぐみ|RecipeRow}} {{:目玉焼き|RecipeRow}} {{Recipes|footer}}