Template:MoveDisplay/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 3: Line 3:
{{Navbox Cargo}}
{{Navbox Cargo}}


This template renders the HTML for {{tl|Move}} and similar templates. It for the most part shouldn't be used directly, but it can be if you don't want to render a move without involving the database.
This template renders the HTML for {{tl|Move}} and similar templates. It for the most part shouldn't be used directly, but it can be if you want to render a move without involving the database.


== Usage ==
== Usage ==

Latest revision as of 07:45, 6 March 2024

This template renders the HTML for {{Move}} and similar templates. It for the most part shouldn't be used directly, but it can be if you want to render a move without involving the database.

Usage

{{MoveDisplay
|id=Generic-1,2
|inputLead=1
|input=,2
|...
}}

Parameters

Parameters are largely the same as {{Move}}. However, instead of parent, the following parameters must be explicitly defined:

  • inputLead – all the parents' inputs joined together
  • targetLead – all the parents' targets joined together
  • damageLead – all the parents' damages joined together
  • clonedFrom – a link to the move which this one is cloned from

Example