Template:Recipe: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>Arkalor
(Removed cooking category tag (going to use recipe, ingredient and tool subcategories))
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>* '''Tools:'''
{{Recipe
: {{{Tools}}}
** Tools:
* '''Ingredients:'''
: <Tool 1>, <Tool 2>
: {{{Ingredients}}}
** Ingredients
* '''Result:'''
: (Number) <Ingredient 1>, (Number) <Ingredient 2>
: {{{Result}}}
[[Category:Cooking Recipe]]</includeonly>
<noinclude>
{{Related|Wiki Templates|Crafting Template|{{mtl|Food}}|{{mtl|Ingredient}}}}


** Recipe:
== General ==
# {{Recipe Table|Ingredient 1|Ingredient 2|Result 1}}
* This template is used for Cooking and Crafting
# {{Recipe Table|Ingredient 3|Ingredient 4|Result 2}}
* The Categories Cooking and Cooking Recipe will be automatically added
# {{Recipe Table|Ingredient 5|Ingredient 6|Result 3}}
* [[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code> (case sensitive).
# {{Recipe Table|Ingredient 7|Ingredient 8|Result 4}}
* Use the first two "Ingredients" for the Ingredients, the last one for the result
# {{Recipe Table|Ingredient 8|Ingredient 9|{{PAGENAME}}}}
* Add as many lines as needed
* The last line, ending with the PAGENAME, will show the end result.
 
== Syntax ==
<pre>
{{Recipe  
|               Tools = [[Tool]], [[Tool]]
|         Ingredients = (Number) [[Ingredient]], (Number) [[Ingredient]]
|               Result = (Number) {{PAGENAME}}
}}
* Steps:
{{Recipe Table
|         Ingredient 1 =
|         Ingredient 2 =
|               Result =
}}
}}
[[Category:Cooking Recipe]]
{{Recipe Table
</includeonly>
|        Ingredient 1 =
<noinclude>
|        Ingredient 2 =
|              Result = {{PAGENAME}}
}}
:<font color=green>(Optional:Crafting Message)<br></font>


<pre>
{{Recipe
** Tools:
: <Tool 1>, <Tool 2>
** Ingredients
: (Number) <Ingredient 1>, (Number) <Ingredient 2>


** Recipe:
# {{Recipe Table|Ingredient 1|Ingredient 2|Result 1}}
# {{Recipe Table|Ingredient 3|Ingredient 4|Result 2}}
# {{Recipe Table|Ingredient 5|Ingredient 6|Result 3}}
# {{Recipe Table|Ingredient 7|Ingredient 8|Result 4}}
# {{Recipe Table|Ingredient 8|Ingredient 9|{{PAGENAME}}}}
}}
</pre>
</pre>


== Example ==
== Example ==
See  
See [[Ground Ginger]]
<pre>
<pre>
** Tools:
{{Recipe
: [[Baking Pan]]
|                Tools = [[Heavy Grinder]]
** Ingredients  
|          Ingredients = 1 [[Ginger]]
: 1 [[Carrot]], 1 [[Egg]], 2 [[Flour]], 1 [[Water]]
|              Result = 1 {{PAGENAME}}
}}


** Recipe:
* Steps:
# {{Recipe Table|Flour|Water|Dough}}
{{Recipe Table
# {{Recipe Table|Dough|Egg|Batter}}
|         Ingredient 1 = Heavy Grinder
# {{Recipe Table|Batter|Flour|Cake Batter}}
|         Ingredient 2 = Ginger
# {{Recipe Table|Cake Batter|Carrot|Carrot Cake Batter}}
|               Result = {{PAGENAME}}
# {{Recipe Table|Baking Pan|Carrot Cake Batter|{{PAGENAME}}}}
}}
</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}}
}}