Template:MoveInherit7: Difference between revisions

Template page
No edit summary
(share documentation with Template:MoveInherit)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{Lua|Module:MoveDataCargoTest}}</noinclude>
<includeonly>{{#invoke:Move7|inherit}}</includeonly><noinclude>{{documentation|Template:MoveInherit}}</noinclude>
<includeonly>{{#invoke:MoveDataCargoTest|queryOverride}}</includeonly>

Latest revision as of 12:32, 5 March 2024

{{MoveInherit7}} is the same as {{MoveInherit}} but uses Special:CargoTables/Move7 instead.

This template defines a new move based on an already existing one.

Main use is to define a move based on a generic move, e.g. Generic-d+1 is shared by most of the cast but its range, tracking, and input differs for each character.

It can also be helpful when writing movelists to avoid duplication, e.g. when a character has distinct moves that are largely the same.

Usage

{{MoveInherit|Generic-d+1
|id=Lidia-d+1
|input=db+1
|range=1.82
}}

Parameters

Parameters are largely the same as {{Move}}, with the addition of 1 which is the id of the move to be inherited.

If no id parameter is given, the new move won't be saved in the database.

If any of the following parameters are given, the new move is not considered a clone (meaning no clonedFrom link will be generated): target, damage, startup, recv, tot, crush, block, hit, ch, notes.