Module:Icon/doc

This module is used to display icons for Guardians, Characters, Equipment, Companions, and Items.

Icon
Usage:

Parameters:
 * - Page name.

Description: Icon detects the type of entity or item described at the give page and displays a link to that page along with an icon. It detects the page type based on data in Module:Guardian/data, Module:Equipment/data, Module:Companion/data, Module:Item/data, and Module:Character/data. Failing that, it checks the Cargo Tables. Failing that, it'll detect the page type based on if the icon file for it exists, using the #ifexist parser function (an expensive function).

Used in:
 * Template:Icon
 * Template:Guardian/Union rewards
 * Template:Available from Union Reward

Entity icon
Usage:

Parameters:
 * - Icon image filename.
 * (optional) - Name of the wiki page. Defaults to.
 * (optional) - Name of the entity.
 * (optional) - Size of the icon. Defaults to 50.

Description: Entity icon displays the icon for an entity along with a text link to the entity if requested. If  is nil or empty or   is nil, the text link is not displayed.

Examples:

Used in:
 * Module:Guardian -  function, which is used in List of Guardians.