Discuss Template:Crafting

From PZwiki
Revision as of 21:13, 6 August 2014 by Hemilash (talk | contribs) (→‎How To Add New Recipes: Having trouble fixing the new template problem.)

Template talk:RecipeLookup
  • Oh god help me! I can see there's a mistake somewhere in the code but can't bloody find it. Help, anyone? :D Ravelair 19:05, 18 March 2012 (UTC)
    • Nevermind. Just try and remove the }} from the template page. Somehow. I cant do it. When I do it, recipes get completely messed up. Ravelair 19:31, 18 March 2012 (UTC)

Recipe changes

I'm not 100% sure on how to go about it, but the recipes have changed. For example, for a bowl of Ramen, you need an empty bowl, dry ramen, and some water. You can NOT make a bowl of ramen from a bowl of water and dry ramen. This holds true for all recipes requiring water.

This problem has been fixed as of build 27 (or earlier possibly).Hemilash (talk) 01:12, 6 August 2014 (BST)

How To Add New Recipes

Can someone add a little more detail on how to use the template to add new recipes? I'm trying to make a recipe for lookup, but honestly I can't figure out where the code should go or how to use it properly. Does it literally go in the template itself? Do I put it on the page with the recipe? Halp. Hemilash (talk) 01:10, 6 August 2014 (BST)


Click the edit button at the very top of the page, then copy one of the templates to the bottom of the group your new item is a part of, and give it an index one larger than the last one. Then go back to the recipelookup page and click the inner edit button (at the top of the green part of the page). The green part of the page is for showing all the recipes and editing that won't change or delete any recipes. In this section, at the bottom of the section you put your recipe into (food, I'm assuming), put the code

{{RecipeLookup|NewRecipeIndex}}|NewRecipeIndex

and it'll show up on the page, allowing you to see if your recipe code is working correctly. Put that same code into the item's page itself to have it show up in the same way. Pat Bren (talk) 13:16, 6 August 2014 (BST)


Okay, I somehow really f*cked things up. I added the new recipe (as you can see in the recent changes), and the code looks fine, but now every single recipe lookup calls that recipe and then every single one after the new one I entered.

  • I tried removing it, but it froze.
  • I tried undoing it, but it froze.

I don't even know what went wrong. It keeps giving me a "Warning: Template include size is too large. Some templates will not be included" Error when I try to preview any changes to a page with a template on it. If someone can undo my change on the RecipeLookup template page, please do. Hemilash (talk) 21:13, 6 August 2014 (BST)