Module:RecipeTreeSearch/doc: Difference between revisions

m
no edit summary
(add line for the treeSearch function, used by Infobox Recipe)
mNo edit summary
Line 11:
|fname2=treeSearch(inputs)
|ftype2=table of name/quantity pairs for the inputs to a recipe
|fuse2=Use this function on the inputs to a recipe rather than the name of the output of a recipe. This allows the tree to be searched before the final recipe has been made. IMPORTANT: within the Infobox Recipe that constructs a recipe, it is imporant to use this function instead of main(), so that this module will not attempt to use the recipe before it has been constructed.
 
IMPORTANT: within the Infobox Recipe that constructs a recipe, it is imporant to use this function instead of main(), so that this module will not attempt to use the recipe before it has been constructed.
 
Returns a the same structure Lua Table as main(), however it lacks any information on the final step.
20,866

edits