Template:Recipe: Difference between revisions
From Drunkapedia
imported>Sanddh mNo edit summary |
imported>Arkalor (Removed cooking category tag (going to use recipe, ingredient and tool subcategories)) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>* '''Tools:''' | ||
: {{{Tools}}} | |||
: | * '''Ingredients:''' | ||
: {{{Ingredients}}} | |||
* '''Result:''' | |||
: {{{Result}}} | |||
[[Category:Cooking Recipe]]</includeonly> | |||
* | |||
{ | |||
{{ | |||
{ | |||
[[Category:Cooking Recipe]] | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{Related|Wiki Templates|Crafting Template| | {{Related|Wiki Templates|Crafting Template|{{mtl|Food}}|{{mtl|Ingredient}}}} | ||
== General == | == General == | ||
Line 29: | Line 19: | ||
== Syntax == | == Syntax == | ||
<pre> | <pre> | ||
{{Recipe | |||
| Tools = [[Tool]], [[Tool]] | |||
| Ingredients = (Number) [[Ingredient]], (Number) [[Ingredient]] | |||
| Result = (Number) {{PAGENAME}} | |||
}} | |||
* Steps: | * Steps: | ||
{{Recipe Table | {{Recipe Table | ||
Line 56: | Line 43: | ||
See [[Ground Ginger]] | See [[Ground Ginger]] | ||
<pre> | <pre> | ||
{{Recipe | |||
| Tools = [[Heavy Grinder]] | |||
| Ingredients = 1 [[Ginger]] | |||
| Result = 1 {{PAGENAME}} | |||
}} | |||
* Steps: | * Steps: | ||
Line 70: | Line 56: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Wiki Template]] | |||
</noinclude> | </noinclude> |
Latest revision as of 10:08, 8 October 2012
Related topics: Wiki Templates, Crafting Template, {{Food}}, {{Ingredient}}
General
- This template is used for Cooking and Crafting
- The Categories Cooking and Cooking Recipe will be automatically added
- Naming Conventions are enforced and icon images must follow the format
Name Icon.png
(case sensitive). - Use the first two "Ingredients" for the Ingredients, the last one for the result
- Add as many lines as needed
- The last line, ending with the PAGENAME, will show the end result.
Syntax
{{Recipe | Tools = [[Tool]], [[Tool]] | Ingredients = (Number) [[Ingredient]], (Number) [[Ingredient]] | Result = (Number) {{PAGENAME}} }} * Steps: {{Recipe Table | Ingredient 1 = | Ingredient 2 = | Result = }} {{Recipe Table | Ingredient 1 = | Ingredient 2 = | Result = {{PAGENAME}} }} :<font color=green>(Optional:Crafting Message)<br></font>
Example
See Ground Ginger
{{Recipe | Tools = [[Heavy Grinder]] | Ingredients = 1 [[Ginger]] | Result = 1 {{PAGENAME}} }} * Steps: {{Recipe Table | Ingredient 1 = Heavy Grinder | Ingredient 2 = Ginger | Result = {{PAGENAME}} }}