Module:GetRecipes/doc: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
Tag: 2017 source edit
Line 5: Line 5:
*[[Module:Utils]]
*[[Module:Utils]]
*[[Module:CraftingParser]]
*[[Module:CraftingParser]]
*[[Module:CraftingRecipes]]
*[[Module:CraftingRecipesData]]
*[[Module:RecipeTable]]
*[[Module:RecipeTable]]

Revision as of 13:11, 10 June 2024

Documentation

This module is called by Template:GetRecipes, and is the entry point for modules in the system that displays crafting recipes. It takes the item passed to the template, and uses Module:CraftingRecipes to get every recipe related to the item. The resulting list of recipes is then passed to Module:CraftingParser, and the results from CraftingParser are returned to the template.

If the template is passed, this module creates a table using details from the following Modules: