Template:Recipes: Difference between revisions
Appearance
imported>Margotbean Sell Price header |
imported>Margotbean Replace arrays |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
< | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
|foot|footer= | |||
{{!}}- | |||
{{!}}} | |||
|head | |head | ||
|header= | |||
|header | {{{!}} class="wikitable sortable roundedborder" | ||
{{!}}- | |||
!Image | !class="unsortable"{{!}}Image | ||
!Name | !Name<!-- | ||
!Description | -->{{#if:{{#pos:{{{hide|}}}|description}}||!!Description}}<!-- | ||
!Ingredients | -->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!Ingredients}}<!-- | ||
!Energy | -->{{#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. |
|
