Template:Recipe: Difference between revisions

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


== General ==
== General ==
Line 29: Line 19:
== Syntax ==
== Syntax ==
<pre>
<pre>
 
{{Recipe
* Tools:
|                Tools = [[Tool]], [[Tool]]
: <Tool 1>, <Tool 2>
|          Ingredients = (Number) [[Ingredient]], (Number) [[Ingredient]]
* Ingredients  
|              Result = (Number) {{PAGENAME}}
: (Number) <Ingredient 1>, (Number) <Ingredient 2>
}}
* Result
: (Number) {{PAGENAME}}
 
* Steps:
* Steps:
{{Recipe Table|Ingredient 1|Ingredient 2|Result 1}}
{{Recipe Table
{{Recipe Table|Ingredient 3|Ingredient 4|Result 2}}
|         Ingredient 1 =
{{Recipe Table|Ingredient 5|Ingredient 6|Result 3}}
|         Ingredient 2 =
{{Recipe Table|Ingredient 7|Ingredient 8|Result 4}}
|               Result =
{{Recipe Table|Ingredient 8|Ingredient 9|{{PAGENAME}}}}
}}
{{Recipe Table
|         Ingredient 1 =
|         Ingredient 2 =
|               Result = {{PAGENAME}}
}}
:<font color=green>(Optional:Crafting Message)<br></font>




Line 50: Line 43:
See [[Ground Ginger]]
See [[Ground Ginger]]
<pre>
<pre>
* Tools:
{{Recipe
: [[Heavy Grinder]]
|                Tools = [[Heavy Grinder]]
* Ingredients  
|          Ingredients = 1 [[Ginger]]
: 1 [[Ginger]]
|              Result = 1 {{PAGENAME}}
* Result:
}}
: 1 {{PAGENAME}}


* Steps:
* Steps:
{{Recipe Table|Heavy Grinder|Ginger|{{PAGENAME}}}}
{{Recipe Table
|         Ingredient 1 = Heavy Grinder
|         Ingredient 2 = Ginger
|               Result = {{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}}
}}