Module:AbilityTable/docGive feedback
Jump to navigation
Jump to search
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
- Template:AbilityTable — the template that invokes this module
- Module:AbilityTable/Lists — defines which properties each list matches on, and which abilities to exclude
- Module:AbilityTable/Notes — editor-authored notes displayed in the Notes column
- Module:AbilityTable/ComplexRenderers — custom column renderers for lists that need more than just Notes
- Module:AbilityHints — reuses
is_memberto render interaction-hint icons on ability cards