Module:Interactables/doc

From Risk of Rain 2 Wiki
Jump to navigation Jump to search

This is the documentation page for Module:Interactables

Interactables stores details of Risk of Rain 2' interactables

Documentation

Package items

interactables.CategoryGallery(frame) (function)
Builds a gallery of all interactables of a specific category.
Parameter: frame Frame object w/ the first argument being the category name (table)
Returns: Preprocessed wikitext of resultant gallery (string)
interactables.AllInteractablesTable(frame) (function)
Builds a wikitable of all interactables
Parameter: frame Frame object (table)
Returns: Preprocessed wikitext of resultant wikitable (string)
Usage: p.BuildAllInteractablesTable(mw.getCurrentFrame()) or {{#invoke:Interactables|AllInteractablesTable}}