Template:Recipes: Difference between revisions
Appearance
imported>Margotbean "Recipe Source(s)" to cover all possibliities |
imported>Margotbean shortened to "Sell Price" because I don't know how to get each sell price vertically-aligned in the table... hoping shorter name will not squish column |
||
| Line 11: | Line 11: | ||
!Health | !Health | ||
!Stat Bonus | !Stat Bonus | ||
{{#switch:!Sources |!Source | !Recipe Source | !Recipe Sources = !Recipe Source(s) | #default=!Recipe Source(s)}} | {{#switch:!Sources | !Source | !Recipe Source | !Recipe Sources = !Recipe Source(s) | #default=!Recipe Source(s)}} | ||
! | !Sell Price | ||
|footer | |footer | ||
|Footer={{!}}- | |Footer={{!}}- | ||
{{!}}} | {{!}}} | ||
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Revision as of 10:44, 3 February 2017
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 | Stat Bonus | Recipe Source(s) | Sell Price |
|---|---|---|---|---|---|---|---|---|
| Fried Mushroom | Earthy and aromatic. |
|
