Difference between revisions of "Template:Recipes"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (buff duration title to match infoboxes) |
Margotbean (talk | contribs) (condense health & energy columns) |
||
Line 1: | Line 1: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | -->{{#arraydefine:values|image,name,description,ingredients, | + | -->{{#arraydefine:values|image,name,description,ingredients,restores,buff,duration,recipe,sellprice|,}}<!-- |
-->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!-- | -->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!-- | ||
-->{{#arraydiff:valuesToShow|values|valuesToHide}} | -->{{#arraydiff:valuesToShow|values|valuesToHide}} |
Revision as of 22:27, 12 September 2018
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 | Restores | Buff(s) | Buff Duration | Recipe Source(s) | Sell Price |
---|---|---|---|---|---|---|---|---|
Fried Mushroom | Earthy and aromatic. | Common Mushroom (1) Morel (1) Oil (1) | 135 60 |
Attack (+2) | 7m | Demetrius (Mail - 3+ ) |
200g |