Module:GetRecipes/doc: Difference between revisions

From Eco - English Wiki
[unchecked revision][checked revision]
m (Changed protection level for "Module:GetRecipes/doc" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
Tag: 2017 source edit
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Documentation==
==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.
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:CraftingRecipesData]] 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.


==Usage==
If the template is passed, this module creates a table using details from the following Modules:
See [[Template:GetRecipes]]
*[[Module:Utils]]
*[[Module:CraftingParser]]
*[[Module:CraftingRecipesData]]
*[[Module:RecipeTable]]

Latest revision as of 14:13, 10 June 2024

Documentation[edit source]

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:CraftingRecipesData 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: