Template:AbilityTable/doc: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
update doc: use list instead of stat, add compact parameter, update links (with help from vergir-bot LLM)
Vergir (talk | contribs)
add compact example to Examples section (with help from vergir-bot LLM)
Line 20: Line 20:
; hide : Optional. A comma-separated list of column names to exclude from the table. Hero and Ability columns cannot be hidden. Has no effect in compact mode.
; hide : Optional. A comma-separated list of column names to exclude from the table. Hero and Ability columns cannot be hidden. Has no effect in compact mode.


== Example ==
== Examples ==


The following renders a table of all abilities in the '''melee''' list:
The following renders a table of all abilities in the '''melee''' list:
Line 27: Line 27:


{{AbilityTable|melee}}
{{AbilityTable|melee}}
The same list in compact mode:
<pre>{{AbilityTable|melee|compact=1}}</pre>
{{AbilityTable|melee|compact=1}}


== See also ==
== See also ==