Template:RecipeRow/doc: Difference between revisions
Appearance
imported>Margotbean changed examples |
imported>Margotbean Update documentation |
||
| Line 1: | Line 1: | ||
This template creates a row in a recipe table | This template creates a row in a recipe table. It requires transclusion tags on the page to be included. | ||
On the English language wiki, the transcluded parameters on each page are in the Infobox. Previously, the transclusion tags were in a "Stats" table that contained the same information as the infobox. | |||
As of 14 April, 2017, the only Infobox using this template is [[Template:Infobox cooking]]. | |||
<small>''Credit to [[User:Lilly|Lilly]] for creating the sandbox template.''</small> | <small>''Credit to [[User:Lilly|Lilly]] for creating the sandbox template.''</small> | ||
This template is intended to be used as | 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}} | ||
Revision as of 23:29, 14 April 2017
This template creates a row in a recipe table. It requires transclusion tags on the page to be included.
On the English language wiki, the transcluded parameters on each page are in the Infobox. Previously, the transclusion tags were in a "Stats" table that contained the same information as the infobox.
As of 14 April, 2017, the only Infobox using this template is Template:Infobox cooking.
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 |

