Difference between revisions of "Template:Cooking recipe table row"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) m |
(→Parameters: Updated to reflect table) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
|- | |- | ||
| {{{level|-}}} | | {{{level|-}}} | ||
− | | {{{name|-}}} | + | | style="font-weight:bold;white-space:nowrap;"| {{{name|-}}} |
− | | {{{type|-}}} | + | | style="font-weight:bold;color:#{{#switch: {{{type|}}} |
+ | | Drink = 4AC | ||
+ | | Meal = C64 | ||
+ | | Snack = 4A4 | ||
+ | | #default = 444 | ||
+ | }};"| {{{type|-}}} | ||
| {{{ingredients|-}}} | | {{{ingredients|-}}} | ||
| {{{gourmand|-}}} | | {{{gourmand|-}}} | ||
| {{{recipexp|-}}} | | {{{recipexp|-}}} | ||
− | | {{{ | + | | {{{regeneration|-}}} |
− | <noinclude> | + | | {{{max|-}}} |
+ | | {{{duration|-}}} | ||
+ | | {{{restoration|-}}}<noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
− | == | + | ==Syntax== |
<pre> | <pre> | ||
{{Cooking recipe table row | {{Cooking recipe table row | ||
− | | level = | + | | level = |
− | | name = | + | | name = |
− | | type = | + | | type = |
− | | ingredients = | + | | ingredients = |
− | | | + | | gourmand = |
− | | | + | | recipexp = |
− | | | + | | regeneration= |
+ | | max = | ||
+ | | duration = | ||
+ | | restoration = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 35: | Line 45: | ||
; recipexp | ; recipexp | ||
: The '''normal''' experience gained (not first time xp) | : The '''normal''' experience gained (not first time xp) | ||
− | ; | + | ; regeneration |
− | : The | + | : The health, power, or metabolism regeneration granted by the created food |
+ | ; max | ||
+ | : The max health, power bonus granted by the created food | ||
+ | ; duration | ||
+ | : How long the buff lasts | ||
+ | ; restoration | ||
+ | : The health, power, or metabolism restored by the created food | ||
==Description== | ==Description== | ||
Line 42: | Line 58: | ||
The row formatting templates could also be upgraded later for use with DPL or Semantic queries, which are both parameter-based. | The row formatting templates could also be upgraded later for use with DPL or Semantic queries, which are both parameter-based. | ||
+ | |||
+ | ==Example== | ||
+ | <pre> | ||
+ | {{Cooking recipe table row | ||
+ | | level = 10 | ||
+ | | name = Apple Juice | ||
+ | | type = Drink | ||
+ | | ingredients = {{icon|apple}} x3 {{icon|sugar}} x2 {{icon|water}} x1 | ||
+ | | gourmand = 10 | ||
+ | | recipexp = 20 | ||
+ | | regeneration= Power Regen +9 | ||
+ | | max = Max Power +8 | ||
+ | | duration = Lasts 1 hour | ||
+ | | restoration = Restores 10 Power | ||
+ | }} | ||
+ | </pre> | ||
[[Category:Formatting templates|cooking recipe table row]] | [[Category:Formatting templates|cooking recipe table row]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:19, 7 April 2016
|- | - | style="font-weight:bold;white-space:nowrap;"| - | style="font-weight:bold;color:#444;"| - | - | - | - | - | - | - | -
Syntax
{{Cooking recipe table row | level = | name = | type = | ingredients = | gourmand = | recipexp = | regeneration= | max = | duration = | restoration = }}
Parameters
- level
- Recipe level
- name
- Recipe name without the "(Level N)" part
- type
- Drink, Meal or Snack
- ingredients
- Use Template:Icon, default size (32px).
- gourmand
- Gourmand level of the created food
- recipexp
- The normal experience gained (not first time xp)
- regeneration
- The health, power, or metabolism regeneration granted by the created food
- max
- The max health, power bonus granted by the created food
- duration
- How long the buff lasts
- restoration
- The health, power, or metabolism restored by the created food
Description
Create a row in Cooking recipe tables. These templates allows to do mpre fancy formatting while remaining easier to edit in the article.
The row formatting templates could also be upgraded later for use with DPL or Semantic queries, which are both parameter-based.
Example
{{Cooking recipe table row | level = 10 | name = Apple Juice | type = Drink | ingredients = {{icon|apple}} x3 {{icon|sugar}} x2 {{icon|water}} x1 | gourmand = 10 | recipexp = 20 | regeneration= Power Regen +9 | max = Max Power +8 | duration = Lasts 1 hour | restoration = Restores 10 Power }}