Module:AbilityTable/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Docs: document is_member (shared membership predicate) and its use by Module:AbilityHints (with help from vergir-bot LLM) |
update with new api |
||
| 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, ability_key, ability_num)</code> is a shared function 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. | |||
== See also == | == See also == | ||