Module:AbilityTable/doc

Revision as of 19:27, 12 July 2026 by Vergir (talk | contribs) (Docs: document is_member (shared membership predicate) and its use by Module:AbilityHints (with help from vergir-bot LLM))

This is the documentation page for Module:AbilityTable

This module exposes two functions. render generates a table of hero abilities matching a named list, and is invoked via {{AbilityTable}}. is_member(list, record, ability_num) is the shared membership predicate that decides whether a single ability belongs to a list (applying the same properties and exclusions); it is used both internally by render and externally by Module:AbilityHints, so the ability-hint icons always stay in sync with these tables.

The module reads ability lists and exclusions from submodules, matches them against Data:AbilityData.json, and renders the results as either a sortable wikitable or a compact list.

See also