Jump to content

Template:MoveTable/doc

From Creopedia

Renders a sortable table of moves, generated from the game data.

By default every game gets its own tab inside a tabbed card, the same presentation the Creo pages use for their move tables.

Usage

{{MoveTable|element=Fire}}

Passing game renders that one game's table on its own, without tabs:

{{MoveTable|game=evocreo2|element=Fire}}

game=all renders a single table spanning both games, listing which games each move appears in instead of its stats. This is what Moves uses:

{{MoveTable|game=all|element=Fire}}

Parameters

Parameter Description
element Limit the table to one element, e.g. Fire. The Element column is dropped when set, since every row would repeat the same badge. Omit to list every move.
game evocreo or evocreo2 for one game's table, or all for a combined table. Omit for a tab per game.

Columns

The two games name the same fields differently, so the module normalises them and follows the column names used on the Creo pages:

Column EvoCreo field EvoCreo 2 field
Category (Physical, Special, Effect) type moveClass
Type (Normal, Super, Elite, Heal) skilltype moveType
Power basedamage damage
Accuracy accuracy (0–1) accuracy (0–100)
Recharge / Energy recharge recharge (stored as a string)

Accuracy is normalised to a percentage, so EvoCreo's fractions are scaled by 100. The last column is labelled Recharge in the EvoCreo tab and Energy in the EvoCreo 2 tab, matching each game's own wording.

Not shown: EvoCreo's class field (Brawler, Magma, Ice…), which has no EvoCreo 2 counterpart, and the contact type, which was dropped as noise.

The combined table

game=all matches moves across the games on name, which works because EvoCreo's UPPER_SNAKE ids title-case to exactly the names EvoCreo 2 stores. Its columns are Move, Category, Type and Games.

Power, accuracy and the energy cost are left out, because a single column could not honestly hold both games' values. Category and Type can differ too, and where they do the cell names each game's own answer rather than picking one — EvoCreo has no Super tier at all, and it files heals under Effect where EvoCreo 2 files them under Special. EvoCreo's HEALING and EvoCreo 2's HEAL are treated as one value, since they are the same tier spelled two ways.

Notes

Power, accuracy and the energy cost were rebalanced between the games, which is why they are never merged into a single table.

The data comes from Module:GameData/EvoCreo/MoveData.json and Module:GameData/EvoCreo2/MoveTable.json. Edit those to correct a move's stats — this template only displays them.

See also