Template:Recipes: Difference between revisions
Appearance
imported>ValaDew No edit summary |
imported>Margotbean Replace arrays |
||
| (26 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| | |foot|footer= | ||
| | {{!}}- | ||
{{!}} | {{!}}} | ||
{{!}}Name | |head | ||
{{!}} | |header= | ||
{{!}} | {{{!}} class="wikitable sortable roundedborder" | ||
{{!}} | {{!}}- | ||
{{!}} | !class="unsortable"{{!}}Image | ||
{{!}} | !Name<!-- | ||
{{!}} | -->{{#if:{{#pos:{{{hide|}}}|description}}||!!Description}}<!-- | ||
{{ | -->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!Ingredients}}<!-- | ||
| | -->{{#if:{{#pos:{{{hide|}}}|restores}}||!!Energy / Health}}<!-- | ||
| | -->{{#if:{{#pos:{{{hide|}}}|buff}}||!!Buff(s)}}<!-- | ||
{{ | -->{{#if:{{#pos:{{{hide|}}}|duration}}||!!Buff Duration}}<!-- | ||
-->{{#if:{{#pos:{{{hide|}}}|recipe}}||!!Recipe Source(s)}}<!-- | |||
-->{{#if:{{#pos:{{{hide|}}}|sellprice}}||!!Sell Price}} | |||
}}</onlyinclude><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |||
Latest revision as of 01:55, 17 September 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. |
|
