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))
 
(3 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
{{Recipe Table
Line 56: 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:
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}}
}}