(Created page with "<includeonly><!-- // Create a "table" for MoveData --><div class="movedata-container"><!-- // Title and image pane --><div class="movedata-flex-image-container"><!-- // Manual Entry Title and Subtitle --><div><!-- --><div><big>{{{title|}}}</big></div><!-- --><div><small>{{{subtitle|}}}</small></div><!-- --><div>{{{input|}}}</div><!-- --></div><!-- --><div class="movedata-flex-images"><!-- // Image and caption pane usi...") |
(removing title) |
||
Line 4: | Line 4: | ||
// Title and image pane |
// Title and image pane |
||
--><div class="movedata-flex-image-container"><!-- |
--><div class="movedata-flex-image-container"><!-- |
||
// Manual Entry Title and Subtitle |
|||
--><div><!-- |
|||
--><div><big>{{{title|}}}</big></div><!-- |
|||
--><div><small>{{{subtitle|}}}</small></div><!-- |
|||
--><div>{{{input|}}}</div><!-- |
|||
--></div><!-- |
|||
--><div class="movedata-flex-images"><!-- |
--><div class="movedata-flex-images"><!-- |
||
// Image and caption pane using MoveDataCargoImage template |
// Image and caption pane using MoveDataCargoImage template |
||
Line 27: | Line 21: | ||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
||
<noinclude>{{#vardefine:cargoTable|SSBU_MoveData}} |
|||
{{MoveDataCargo |
|||
| title = Jab 1 |
|||
| subtitle = |
|||
| input = Jab 1 |
|||
| images = |
|||
{{MoveDataCargoImage|DonkeyKongJab1_0|1|caption=}} |
|||
| hitboxes = |
|||
{{MoveDataCargoImage|DonkeyKongJab1_0|1|caption=|hitbox=yes}} |
|||
| info = |
|||
{{AttackDataCargo-SSBU/Query|DonkeyKongJab1_0}} |
|||
}}</noinclude> |
Revision as of 06:43, 19 March 2022
{{#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}} }}
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
.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
.This documentation is automatically transcluded from Template:MoveDataCargo/Documentation and is not included when this page is transcluded.
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
.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
.