Module:HeroData/doc: Difference between revisions

Jump to navigation Jump to search
Functions: removed hero comparison table
Line 160: Line 160:
====Example====
====Example====
<pre>{{#invoke:HeroData|get_hero_tag|Abrams|1}}</pre>
<pre>{{#invoke:HeroData|get_hero_tag|Abrams|1}}</pre>
=== write_hero_comparison_table ===
Writes the [[Hero Comparison]] table for a specific Level and Spirit Power
====Parameters====
* '''level''' - Number of [[Level]]s / Power Increases
* '''spirit_power''' - Amount of Spirit power
Both parameters are optional, as if both are 0 or not provided, the outputted table will be at base and will also include the level/SS scaling in each cell along with the base value, rather than the scaled value.
====Example====
From wikitext:<br>
<pre>{{#invoke:HeroData|write_hero_comparison_table|LEVEL|SPIRITPOWER}}</pre>
Which outputs
{{#invoke:HeroData|write_hero_comparison_table|11|200}}


=== write_role_playstyle_quote ===
=== write_role_playstyle_quote ===