Module:ResearchCost/doc

From Oxygen Not Included Wiki
Jump to navigation Jump to search

This is the documentation page for Module:ResearchCost

This module uses the Cargo extension.
This module uses Extension:Cargo, an integral part of the wiki's back-end.
  • This module queries the table "Research". View table.

This module allows for easy and quick lookup of one or all type(s) of Research costs. It looks up the costs based on the provided research tier number, and returns them in one of several formats.

The main function that it exposes is getCode. It is invoked by Template:ResearchCost, which also describes its usage in greater detail. Alternatively, the comments in the module code describe its functionality.

It is generally recommended to use Template:ResearchCost instead of invoking this module directly.