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
(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

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.


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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.