Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MoveDataCargo: Difference between revisions

Template page
Content added Content deleted
(removing title)
(accidentally left a test example in the previous edit)
 
Line 21: 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>

Latest revision as of 06:46, 19 March 2022

Template DocumentationEdit This Documentation
{{#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.

This documentation is automatically transcluded from Template:MoveDataCargo/Documentation and is not included when this page is transcluded.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.