Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
MediaWiki help
Creopedia
Search
Search
Appearance
Log in
Personal tools
Log in
View source for Template:MoveTable/doc
Template
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
←
Template:MoveTable/doc
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 == <pre>{{MoveTable|element=Fire}}</pre> Passing <code>game</code> renders that one game's table on its own, without tabs: <pre>{{MoveTable|game=evocreo2|element=Fire}}</pre> <code>game=all</code> renders a single table spanning both games, listing which games each move appears in instead of its stats. This is what [[Moves]] uses: <pre>{{MoveTable|game=all|element=Fire}}</pre> == Parameters == {| class="wikitable" ! Parameter !! Description |- | <code>element</code> || Limit the table to one element, e.g. <code>Fire</code>. The Element column is dropped when set, since every row would repeat the same badge. Omit to list every move. |- | <code>game</code> || <code>evocreo</code> or <code>evocreo2</code> for one game's table, or <code>all</code> 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: {| class="wikitable" ! Column !! [[EvoCreo]] field !! [[EvoCreo 2]] field |- | Category (Physical, Special, Effect) || <code>type</code> || <code>moveClass</code> |- | Type (Normal, Super, Elite, Heal) || <code>skilltype</code> || <code>moveType</code> |- | Power || <code>basedamage</code> || <code>damage</code> |- | Accuracy || <code>accuracy</code> (0–1) || <code>accuracy</code> (0–100) |- | Recharge / Energy || <code>recharge</code> || <code>recharge</code> (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 <code>class</code> field (Brawler, Magma, Ice…), which has no EvoCreo 2 counterpart, and the contact type, which was dropped as noise. === The combined table === <code>game=all</code> matches moves across the games on name, which works because EvoCreo's <code>UPPER_SNAKE</code> 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 <code>HEALING</code> and EvoCreo 2's <code>HEAL</code> 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 <code>[[Module:GameData/EvoCreo/MoveData.json]]</code> and <code>[[Module:GameData/EvoCreo2/MoveTable.json]]</code>. Edit those to correct a move's stats — this template only displays them. == See also == * [[Module:MoveTable]] * [[Template:CreoTable]] * [[Template:GameTabs]]
Return to
Template:MoveTable/doc
.