Template:Crafting Recipe: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor
No edit summary
imported>Arkalor's Bot
No edit summary
 
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}}}}
</includeonly><noinclude>{{documentation}}[[Category:Wiki Templates]]</noinclude>
== General ==
* 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 ==
<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 ==
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:
{{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]]
</noinclude>

Latest revision as of 18:46, 27 October 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}}
}}