Difference between revisions of "Template:Cooking recipe table row"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) m |
Gorgonzola (talk | contribs) (Adding example and syntax block for copy/paste.) |
||
Line 8: | Line 8: | ||
| {{{description|-}}}<noinclude> | | {{{description|-}}}<noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
− | == | + | ==Syntax== |
<pre> | <pre> | ||
{{Cooking recipe table row | {{Cooking recipe table row | ||
− | | level = | + | | level = |
− | | name = | + | | name = |
− | | type = | + | | type = |
− | | ingredients = | + | | ingredients = |
− | | gourmand = | + | | gourmand = |
− | | recipexp = | + | | recipexp = |
− | | description = | + | | description = |
}} | }} | ||
</pre> | </pre> | ||
Line 41: | Line 41: | ||
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 = ??? | ||
+ | | description = Power +9/update, Lasts 1 hour, Max Power +8, Restores 10 Power | ||
+ | }} | ||
+ | </pre> | ||
[[Category:Formatting templates|cooking recipe table row]] | [[Category:Formatting templates|cooking recipe table row]] | ||
</noinclude> | </noinclude> |
Revision as of 12:03, 1 November 2014
|- | - | - | - | - | - | - | -
Syntax
{{Cooking recipe table row | level = | name = | type = | ingredients = | gourmand = | recipexp = | description = }}
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)
- description
- The actual effects of the food (the flavour description is too long)
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 = ??? | description = Power +9/update, Lasts 1 hour, Max Power +8, Restores 10 Power }}