Template:Recipes/doc: Difference between revisions
Appearance
imported>Margotbean No edit summary |
imported>Margotbean No edit summary |
||
| (5 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 | 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: | Header: | ||
| Line 13: | Line 11: | ||
!Description | !Description | ||
!Ingredients | !Ingredients | ||
! | !Restores | ||
! | !Buff(s) | ||
! | !Buff(s) Duration | ||
! | !Recipe Source(s) | ||
! | !Sell Price | ||
</pre> | </pre> | ||
== | ==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 28: | Line 26: | ||
<pre> | <pre> | ||
{{Recipes|header}} | {{Recipes|header}} | ||
{{:Fried Mushroom}} | {{:Fried Mushroom|RecipeRow}} | ||
{{Recipes|footer}} | {{Recipes|footer}} | ||
</pre> | </pre> | ||
{{Recipes|header}} | {{Recipes|header}} | ||
{{:Fried Mushroom}} | {{:Fried Mushroom|RecipeRow}} | ||
{{Recipes|footer}} | {{Recipes|footer}} | ||
< | |||
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |||
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 | Earthy and aromatic. |
|
