Difference between revisions of "Template:SpeciesStats"
From Cassette Beasts
(Fix move slots range not being compressed if upper and lower values are the same) |
|||
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <table | + | === Base Form Stats === |
− | + | <table class="datatable wikitable"> | |
− | <tr><th>Max HP</th><td>{{SpeciesStatBar|value={{{max_hp | + | <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={{{melee_attack | + | <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={{{melee_defense | + | <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={{{ranged_attack | + | <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={{{ranged_defense | + | <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={{{speed | + | <tr><th>Speed</th><td>{{SpeciesStatBar|value={{#invoke:Database|get_species|{{{id}}}|stats|speed}}|max_value=300}}</td></tr> |
</table> | </table> | ||
− | <table | + | === Additional Stats === |
− | + | <table class="wikitable datatable"> | |
− | <tr><th>Max AP</ | + | <tr><th>Max AP</th><td>{{#invoke:Database|get_species|{{{id}}}|stats|max_ap}} / 10</td></tr> |
− | <tr><th>Move Slots</th><td>{{{move_slots}}} | + | <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 |