m (1 revision: For full history see http://ac.wikkii.net)
(added parameter for component item recipes where the final result is non usable.)
Line 1: Line 1:
<includeonly>* '''Tools:'''
<includeonly>
: {{{Tools|}}}
;Tools:
* '''Ingredients:'''
:{{{Tools|}}}
: {{{Ingredients|}}}
;Ingredients:
* '''Result:'''
:{{{Ingredients|}}}
: {{{Result|}}}
;Result:
{{#ifeq:{{lc:{{{Alchemy Recipe|}}}}} | true | [[Category:Alchemy Recipe]] | }}{{#ifeq:{{lc:{{{Cooking Recipe|}}}}} | true | [[Category:Cooking Recipe]] | }}{{#ifeq:{{lc:{{{Fletching Recipe|}}}}} | true | [[Category:Fletching Recipe]] | }}{{#ifeq:{{lc:{{{Armor Tinkering Recipe|}}}}} | true | [[Category:Armor Tinkering Recipe]] | }}{{#ifeq:{{lc:{{{Item Tinkering Recipe|}}}}} | true | [[Category:Item Tinkering Recipe]] | }}{{#ifeq:{{lc:{{{Magic Item Tinkering Recipe|}}}}} | true | [[Category:Magic Item Tinkering Recipe]] | }}{{#ifeq:{{lc:{{{Weapon Tinkering Recipe|}}}}} | true | [[Category:Weapon Tinkering Recipe]] | }}{{#ifeq:{{lc:{{{Lockpicking Recipe|}}}}} | true | [[Category:Lockpicking Recipe]] | }}</includeonly><noinclude>
:{{{Result|}}}
{{Related|Wiki Templates|Crafting Template|{{mtl|Recipe Table}}|{{mtl|Food}}}}
<!-- Categorization
== General ==
-->{{#ifeq:{{lc:{{{Alchemy Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Alchemy Component Items]] | [[Category:Alchemy Recipes]]}}}}<!--
* This template is used for all [[Crafting]] recipes.
* Replace False with True for the appropriate skill recipe type/s.
* [[Naming Conventions]] are enforced and icon images must follow the format <code>Name Icon.png</code> (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 ==
-->{{#ifeq:{{lc:{{{Cooking Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Cooking Component Items]] | [[Category:Cooking Recipes]]}}}}<!--
<pre>
{{Crafting Recipe
|              Alchemy Recipe = False
|              Cooking Recipe = False
|           Fletching Recipe = False
|     Armor Tinkering Recipe = False
|       Item Tinkering Recipe = False
| Magic Item Tinkering Recipe = False
|    Weapon Tinkering Recipe = False
|         Lockpicking Recipe = False
|                       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>
</pre>


== Example ==
-->{{#ifeq:{{lc:{{{Fletching Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Fletching Component Items]] | [[Category:Fletching Recipes]]}}}}<!--
See [[Iron Lodestone]]
<pre>
{{Crafting Recipe
|              Alchemy Recipe = True
|              Cooking Recipe = False
|            Fletching Recipe = False
|     Armor Tinkering Recipe = False
|       Item Tinkering Recipe = False
| Magic Item Tinkering Recipe = False
|     Weapon Tinkering Recipe = False
|         Lockpicking Recipe = False
|                       Tools = [[Mortar and Pestle]], [[Crucible]]
|                 Ingredients = 1 [[Iron Scarab]]
|                      Result = 1 {{PAGENAME}}
}}


* Steps:
-->{{#ifeq:{{lc:{{{Armor Tinkering Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Armor Tinkering Component Items]] | [[Category:Armor Tinkering Recipes]]}}}}<!--
{{Crafting Table
| Ingredient 1 = Mortar and Pestle
| Ingredient 2 = Iron Scarab
|       Result = Powdered Iron
}}
{{Crafting Table
| Ingredient 1 = Crucible
| Ingredient 2 = Powdered Iron
|       Result = {{PAGENAME}}
}}
</pre>


[[Category:Wiki Template]]
-->{{#ifeq:{{lc:{{{Item Tinkering Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Item Tinkering Component Items]] | [[Category:Item Tinkering Recipes]]}}}}<!--
</noinclude>
 
-->{{#ifeq:{{lc:{{{Magic Item Tinkering Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Magic Item Tinkering Component Items]] | [[Category:Magic Item Tinkering Recipes]]}}}}<!--
 
-->{{#ifeq:{{lc:{{{Weapon Tinkering Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Weapon Tinkering Component Items]] | [[Category:Weapon Tinkering Recipes]]}}}}<!--
 
-->{{#ifeq:{{lc:{{{Lockpicking Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Lockpicking Component Items]] | [[Category:Lockpicking Recipes]]}}}}
</includeonly><noinclude>{{documentation}}[[Category:Wiki Templates]]</noinclude>

Revision as of 00:47, 4 January 2015

Template Documentation: Recipe| |_}}/Doc?action=edit Edit Documentation

General

  • This template is used for all Crafting recipes.
  • Add "true" for component item if the final result is a non usable component of another recipe.
  • Add "true" for the appropriate skill recipe type/s.
  • 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

{{Crafting Recipe
 |              Component Item = 
 |              Alchemy Recipe = 
 |              Cooking Recipe = 
 |            Fletching Recipe = 
 |      Armor Tinkering Recipe = 
 |       Item Tinkering Recipe = 
 | Magic Item Tinkering Recipe = 
 |     Weapon Tinkering Recipe = 
 |          Lockpicking 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}}
}}
{{event|Optional crafting message}}

Example

See Iron Lodestone

{{Crafting Recipe
 |              Component Item = True
 |              Alchemy Recipe = True
 |              Cooking Recipe = 
 |            Fletching Recipe = 
 |      Armor Tinkering Recipe = 
 |       Item Tinkering Recipe = 
 | Magic Item Tinkering Recipe = 
 |     Weapon Tinkering Recipe = 
 |          Lockpicking Recipe = 
 |                       Tools = [[Mortar and Pestle]], [[Crucible]]
 |                 Ingredients = 1 [[Iron Scarab]]
 |                      Result = 1 {{PAGENAME}}
}}

* Steps:
{{Crafting Table
 | Ingredient 1 = Mortar and Pestle
 | Ingredient 2 = Iron Scarab
 |       Result = Powdered Iron
}}
{{Crafting Table
 | Ingredient 1 = Crucible
 | Ingredient 2 = Powdered Iron
 |       Result = {{PAGENAME}}
}}