Module:Dungeon/doc

This module implements multiple functions for templates relating to dungeons, such as Essence Crafting, Dungeon Ranking, and Star.

Loading the module
To load this module and make its method available for use, Add this line of code to the start of your module:

The methods documented below will be available for use under the variable name you loaded this module in.

Alternatively, you can use this module using the code below by using Module:LoadLib.

Depending on the settings you used in, the methods of this module may be available under their respective variables in the module this module was loaded in.

Methods
The methods documented below will be available for use under the variable name you loaded this module in.

This method returns a string with a specific amount of stars with a specific color code. It is used for the Star template.

This method returns a string with a specific amount of stars with a specific color code.

This method returns a string with a specific amount of unfilled stars.

This method returns formatted dungeon rankings. It is used for the Dungeon Ranking template.

This method returns formatted dungeon rankings, with val being the string to format, and nolink determining whether the text links to the Dungeon Score page.

This method returns cost table for essence crafting. It is used for the Essence Crafting template.

This method returns cost table for essence crafting, with type determining the type of item the essence is applied to, essence determining the type of essence applied, and args determining the essence costs for each level.