RogerDodger (talk | contribs) (Created page with "{{Uses TemplateStyles|MoveData/style4.css}} This template is an implementation detail of: * {{tl|Move}} * {{tl|MoveQuery}} * {{tl|MoveInherit}} * {{tl|MoveDataHeader}}. It is used display move information. Should not be used directly in movelists.") |
RogerDodger (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Uses TemplateStyles|MoveData/style4.css}} | {{Uses TemplateStyles|MoveData/style4.css}} | ||
{{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 want to render a move without involving the database. | |||
== Usage == | |||
<syntaxhighlight lang="html"> | |||
{{MoveDisplay | |||
|id=Generic-1,2 | |||
|inputLead=1 | |||
|input=,2 | |||
|... | |||
}} | |||
</syntaxhighlight> | |||
== Parameters == | |||
Parameters are largely the same as {{tl|Move}}. However, instead of <code>parent</code>, the following parameters must be explicitly defined: | |||
* <code>inputLead</code> – all the parents' <code>input</code>s joined together | |||
* <code>targetLead</code> – all the parents' <code>target</code>s joined together | |||
* <code>damageLead</code> – all the parents' <code>damage</code>s joined together | |||
* <code>clonedFrom</code> – a link to the move which this one is cloned from | |||
== Example == | |||
{{MoveDisplay | |||
|id=Generic-1,2 | |||
|inputLead=1 | |||
|input=,2 | |||
}} |
Latest revision as of 07:45, 6 March 2024
This template uses TemplateStyles: | |
Movelist templates |
---|
|
Punishment templates |
|
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'input
s joined togethertargetLead
– all the parents'target
s joined togetherdamageLead
– all the parents'damage
s joined togetherclonedFrom
– a link to the move which this one is cloned from