Editing Module:AbilityTable/docGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
This module exposes two functions. | This module exposes two functions. <code>render</code> generates a table of hero abilities matching a named list, and is invoked via [[Template:AbilityTable|<code><nowiki>{{AbilityTable}}</nowiki></code>]]. <code>is_member(list, record, ability_num)</code> 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 <code>render</code> 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 == | == See also == | ||