Template:Move7: Difference between revisions

Template page
No edit summary
No edit summary
Line 5: Line 5:
{{#cargo_declare:_table=MoveDataCargoTest
{{#cargo_declare:_table=MoveDataCargoTest
|id=String (mandatory;unique)
|id=String (mandatory;unique)
|name=String
|input=String
|input=String
|target=String
|target=String
|damage=Integer
|damage=Integer
|startup=String}}
|range=Float
|tracksLeft=Integer
|tracksRight=Integer
|startup=String
|recv=String
|tot=Integer
|crush=String
|block=String
|hit=String
|ch=String
|notes=String
|}}
</noinclude>
</noinclude>
<includeonly>{{#cargo_store:_table=MoveDataCargoTest
<includeonly>{{#cargo_store:_table=MoveDataCargoTest
Line 24: Line 36:
|startupRoot={{{startupRoot|}}}
|startupRoot={{{startupRoot|}}}
|startup={{{startup|}}}
|startup={{{startup|}}}
|recv={{{recv|}}}
|tot={{{tot|}}}
|crush={{{crush|}}}
|crush={{{crush|}}}
|recv={{{recv|}}}
|block={{{block|}}}
|block={{{block|}}}
|hit={{{hit|}}}
|hit={{{hit|}}}
Line 44: Line 57:
|startupRoot={{{startupRoot|}}}
|startupRoot={{{startupRoot|}}}
|startup={{{startup|}}}
|startup={{{startup|}}}
|recv={{{recv|}}}
|tot={{{tot|}}}
|crush={{{crush|}}}
|crush={{{crush|}}}
|recv={{{recv|}}}
|block={{{block|}}}
|block={{{block|}}}
|hit={{{hit|}}}
|hit={{{hit|}}}

Revision as of 11:15, 22 August 2023

This is a test template that is like Template:MoveData, but also creates values for a Cargo table. The plan is to eventually move this functionality into Template:MoveData.

Error: "range" cannot be used as a Cargo field name, because it is an SQL keyword.