Template talk:RecipeLookup: Difference between revisions

From PZwiki
Template talk:RecipeLookup
Line 12: Line 12:
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.
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.
[[User:Hemilash|Hemilash]] ([[User talk:Hemilash|talk]]) 01:10, 6 August 2014 (BST)
[[User:Hemilash|Hemilash]] ([[User talk: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 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
<nowiki>{{RecipeLookup|NewRecipeIndex}}|NewRecipeIndex</nowiki>
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 pages itself to have it show up in the same way. [[User:Pat Bren|Pat Bren]] ([[User talk:Pat Bren|talk]]) 13:16, 6 August 2014 (BST)

Revision as of 13:16, 6 August 2014

  • 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 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 pages itself to have it show up in the same way. Pat Bren (talk) 13:16, 6 August 2014 (BST)