Template:Move7: Difference between revisions

Template page
(create MoveDataCargoTest template with a few fields for a start)
 
(if a parameter name is the same as the name of a Cargo field, the field could be left out of #cargo_store call)
Line 11: Line 11:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#cargo_store:_table=MoveDataCargoTest
{{#cargo_store:_table=MoveDataCargoTest}}
|id={{{id}}}
|input={{{input}}}
|target={{{target}}}
|damage={{{damage}}}
|startup={{{startup}}}}}
{{MoveData
{{MoveData
|id={{{id}}}
|id={{{id}}}

Revision as of 18:05, 21 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.

This template defines the table "MoveDataCargoTest". This table has not been created yet.