Template:MoveDisplay/sandbox: Difference between revisions

Template page
No edit summary
No edit summary
Line 2: Line 2:
{{#if:{{{id|}}}|<div class="movedata-id">[[#{{{id}}}]]</div>
{{#if:{{{id|}}}|<div class="movedata-id">[[#{{{id}}}]]</div>
}}<div class="movedata-labels">
}}<div class="movedata-labels">
   <div class="movedata-name">{{{name|}}} {{#if:{{{image|{{{video|}}}}}}|[<span class="mw-customtoggle-myDivision" data-expandtext="Show visuals" data-collapsetext="Hide visuals">Show visuals</span>]}}</div>
   <div class="movedata-name">{{{name|}}} {{#if:{{{image|{{{video|}}}}}}|[<span class="mw-customtoggle-myDivision">Show visuals</span>]}}</div>
   <div class="movedata-input-ctn">
   <div class="movedata-input-ctn">
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,&#8203;}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,&#8203;}}</span>
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,&#8203;}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,&#8203;}}</span>
Line 33: Line 33:
<div class="movedata-notes">{{#if:{{{inheritedFrom|}}}|Based on {{{inheritedFrom}}}}}{{#if:{{{crush|}}}|<div class="movedata-crush">{{MoveDataIcon|color=red|{{{crush}}}}}</div>
<div class="movedata-notes">{{#if:{{{inheritedFrom|}}}|Based on {{{inheritedFrom}}}}}{{#if:{{{crush|}}}|<div class="movedata-crush">{{MoveDataIcon|color=red|{{{crush}}}}}</div>
}}{{{notes|}}}</div>
}}{{{notes|}}}</div>
<div class="movedata-visuals mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">{{#if:{{{image|}}}|[[{{{image}}}|width=440px]]}}{{#if:{{{video|}}}|[[{{{video}}}]]}}</div>
<div class="movedata-visuals mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision" data-expandtext="Show visuals" data-collapsetext="Hide visuals">{{#if:{{{image|}}}|[[{{{image}}}|width=440px]]}}{{#if:{{{video|}}}|[[{{{video}}}]]}}</div>
</div></includeonly><noinclude>{{documentation}}</noinclude>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 08:50, 3 December 2023

Template:MoveDisplay/sandbox/doc