Template:AbilityTable: Difference between revisions

Vergir (talk | contribs)
Create AbilityTable template backed by Module:AbilityTables (with help from vergir-bot LLM)
 
LVL (talk | contribs)
Add support for collapsed tables
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:AbilityTables|abilityPropTable|{{{1|}}}}}</includeonly><noinclude>
<includeonly><templatestyles src="AbilityTable/styles.css" />{{#invoke:AbilityTable|render|{{{1|}}}|hide={{{hide|}}}|compact={{{compact|}}}|collapsed={{{collapsed|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
Renders a sortable table of all abilities that have the named stat.
 
== Usage ==
 
<pre>{{AbilityTable|charges}}</pre>
 
== Parameters ==
 
; 1 : The stat name. Must match a key in [[Module:AbilityTables|the friendly_to_internal table]].
 
== See also ==
 
* [[Template:ItemPropTable]] — equivalent template for items
* [[Module:AbilityTables]] — backing module
* [[Module:GameData]] — shared data-loading framework
[[Category:Ability templates]]
</noinclude>