Difference between revisions of "Template:SpeciesStats"
From Cassette Beasts
(Fix move slots range not being compressed if upper and lower values are the same) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=== Base Form Stats === | === Base Form Stats === | ||
<table class="datatable wikitable"> | <table class="datatable wikitable"> | ||
− | <tr><th>Max HP</th><td style="width: 400px; min-width: 100%">{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|max_hp}}|max_value= | + | <tr><th>Max HP</th><td style="width: 400px; min-width: 100%">{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|max_hp}}|max_value=300}}</td></tr> |
− | <tr><th>M. Atk</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|melee_attack}}|max_value= | + | <tr><th>M. Atk</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|melee_attack}}|max_value=300}}</td></tr> |
− | <tr><th>M. Def</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|melee_defense}}|max_value= | + | <tr><th>M. Def</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|melee_defense}}|max_value=300}}</td></tr> |
− | <tr><th>R. Atk</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|ranged_attack}}|max_value= | + | <tr><th>R. Atk</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|ranged_attack}}|max_value=300}}</td></tr> |
− | <tr><th>R. Def</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|ranged_defense}}|max_value= | + | <tr><th>R. Def</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|ranged_defense}}|max_value=300}}</td></tr> |
− | <tr><th>Speed</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|speed}}|max_value= | + | <tr><th>Speed</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|speed}}|max_value=300}}</td></tr> |
</table> | </table> | ||
Line 12: | Line 12: | ||
<table class="wikitable datatable"> | <table class="wikitable datatable"> | ||
<tr><th>Max AP</th><td>{{#invoke:Database|get_species|{{{id}}}|stats|max_ap}} / 10</td></tr> | <tr><th>Max AP</th><td>{{#invoke:Database|get_species|{{{id}}}|stats|max_ap}} / 10</td></tr> | ||
− | <tr><th>Move Slots</th><td>{{#invoke:Database|get_species|{{{id}}}|stats|move_slots}} / 8</td></tr> | + | <tr><th>Move Slots</th><td>{{#ifeq:{{#invoke:Database|get_species|{{{id}}}|stats|move_slots}}|{{SpeciesMaxMoveSlots|{{{id}}}}}|{{#invoke:Database|get_species|{{{id}}}|stats|move_slots}}|{{#invoke:Database|get_species|{{{id}}}|stats|move_slots}} to {{SpeciesMaxMoveSlots|{{{id}}}}}}} / 8</td></tr> |
</table> | </table> |
Latest revision as of 16:38, 6 October 2023
Base Form Stats
Max HP | 0 |
---|---|
M. Atk | 0 |
M. Def | 0 |
R. Atk | 0 |
R. Def | 0 |
Speed | 0 |
Additional Stats
Max AP | 0 / 10 |
---|---|
Move Slots | 0 to Unknown / 8 |