RogerDodger (talk | contribs) (Add image/video/alt/alias to layout. Rename inheritedFrom to clonedFrom and move to right margin. Move crush back to frame data section. Move total to recovery container. See Template:MoveDisplay7 and Template:MoveDisplay7/sandbox for prior change history.) Tag: Removed redirect |
m (Testing replacement of ":") |
||
Line 6: | Line 6: | ||
<div class="movedata-alt">{{{alt|}}}</div>}} | <div class="movedata-alt">{{{alt|}}}</div>}} | ||
<div class="movedata-input-ctn"> | <div class="movedata-input-ctn"> | ||
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,​}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,​}}</span> | <span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,​}}</span><span class="movedata-input">{{#replace:{{#replace:{{{input}}}|,|,​}}|:|:​}}</span> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 18:53, 29 February 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
Example
- The above documentation is from Template:MoveDisplay/doc
- Editors should experiment in this template’s sandbox and testcases pages