Module:Recipes/doc
From Guinea Isles Wiki
This is the documentation page for Module:Recipes
Module:Recipes is a module designed around managing the data of in-game recipes of all kinds. It allows users to query Module:Recipes/data.json, which contains this information in JSON format.
Functions
get_item_recipes
get_item_recipes(frame) Returns the corresponding entry in data.json. id can be provided to search for a specific entry, otherwise the current page_id will be used.
Eg.#invoke:Recipes|get_item_recipes will return all crafting recipes that involve the item with the current page title.
Eg.#invoke:Recipes|get_item_recipes|id=Plainwood Log will return all crafting recipes that involve a Plainwood Log.