More actions
{{#vardefine:cargoTable|GAME_MoveData}} {{MoveDataCargo | images = {{MoveDataCargoImage|moveId|1|caption=}} | hitboxes = {{MoveDataCargoImage|moveId|1|caption=|hitbox=yes}} | info = {{AttackDataCargo-SSBU/Query|moveId}} }}
Usage
A basic skeleton to be used with Template:MoveDataCargoImage and a game's AttackDataCargo templates (Example: Template:AttackDataCargo-SSBU and Template:AttackDataCargo-SSBU/Query).
Defining the variable {{#vardefine:cargoTable|GAME_MoveData}}
before a character's move list removes the need for the cargoTable
argument for each usage.
Example
{{MoveDataCargo | images = {{MoveDataCargoImage|DonkeyKongJab1_0|1|caption=}} | hitboxes = {{MoveDataCargoImage|DonkeyKongJab1_0|1|caption=|hitbox=yes}} | info = {{AttackDataCargo-SSBU/Query|DonkeyKongJab1_0}} }}
Lua error: Error 1054: Unknown column 'moveId' in 'where clause'
Function: CargoSQLQuery::run Query: SELECT `images__full` AS `images` FROM `cargo__SSBU_MoveData` WHERE moveId = 'DonkeyKongJab1_0' ORDER BY `cargo__SSBU_MoveData`.`images__full` LIMIT 100
.Lua error: Error 1054: Unknown column 'moveId' in 'where clause'
Function: CargoSQLQuery::run Query: SELECT `hitboxes__full` AS `hitboxes` FROM `cargo__SSBU_MoveData` WHERE moveId = 'DonkeyKongJab1_0' ORDER BY `cargo__SSBU_MoveData`.`hitboxes__full` LIMIT 100
.Hitboxes Off
Hitboxes On
Error: No field named "input" found for any of the specified database tables.