Template:Crafting Recipe: Difference between revisions
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> | <includeonly> | ||
: {{{Tools|}}} | ;Tools: | ||
:{{{Tools|}}} | |||
: {{{Ingredients|}}} | ;Ingredients: | ||
:{{{Ingredients|}}} | |||
: {{{Result|}}} | ;Result: | ||
{{#ifeq:{{lc:{{{Alchemy Recipe|}}}}} | true | | :{{{Result|}}} | ||
<!-- Categorization | |||
-->{{#ifeq:{{lc:{{{Alchemy Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Alchemy Component Items]] | [[Category:Alchemy Recipes]]}}}}<!-- | |||
-->{{#ifeq:{{lc:{{{Cooking Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Cooking Component Items]] | [[Category:Cooking Recipes]]}}}}<!-- | |||
{{ | |||
}} | |||
-->{{#ifeq:{{lc:{{{Fletching Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Fletching Component Items]] | [[Category:Fletching Recipes]]}}}}<!-- | |||
{{ | |||
}} | |||
-->{{#ifeq:{{lc:{{{Armor Tinkering Recipe|}}}}} | true | {{#ifeq:{{lc:{{{Component Item|}}}}} | true | [[Category:Armor Tinkering Component Items]] | [[Category:Armor Tinkering Recipes]]}}}}<!-- | |||
{{ | |||
}} | |||
}} | |||
< | |||
[[Category:Wiki | -->{{#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}}
}}