Module:Companion/doc

This module is used in Template:Infobox companion to display information about Companions. It uses the data in Module:Companion/data.

Exported functions
The exported functions listed below do not take any parameters as input. They use the page name to uniquely identify the Companion if needed.

Key
Usage:

Returns the unique key name of the Companion. This is just the page name with the Companion disambiguation removed. Since we only have information about one Companion per page, this uniquely identifies the Companion. For example: "Kappa (Companion)" → "Kappa"

Name
Usage:

Returns the name of the Companion.

Class
Usage:

Returns the class of the Companion.

Skill name
Usage:

Returns the skill name of the Companion.

Skill icon
Usage:

Returns the skill icon number of the Companion.

Skill desc
Usage:

Returns the skill description of the Companion.

Sortable table
Usage:

Displays a sortable table of all available Companions. This is used in List of Companions.