Template:MoveDisplay7: Difference between revisions

Template page
m (Lume moved page Template:MoveDataCargoTest/Display/Impl to Template:MoveDisplay7 without leaving a redirect)
(Redirected page to Template:MoveDisplay)
Tag: New redirect
 
Line 1: Line 1:
<includeonly><templatestyles src="MoveData/style2.css"/><div class="movedata hover-bg-grey-03"{{#if:{{{id|}}}| id="{{{id}}}"}}>
#REDIRECT [[Template:MoveDisplay]]
{{#if:{{{id|}}}|<div class="movedata-id">[[#{{{id}}}]]</div>
}}<div class="movedata-labels">
  <div class="movedata-name">{{{name|}}}</div>
  <div class="movedata-input-ctn">
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,&#8203;}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,&#8203;}}</span>
</div>
</div>
<div class="movedata-threat">
  <div class="movedata-target-ctn"><span class="movedata-targetLead">{{#replace:{{{targetLead|}}}|,|,&#8203;}}</span><span class="movedata-target">{{#replace:{{{target|}}}|,|,&#8203;}}</span></div>
  <div class="movedata-damage-ctn"><span class="movedata-damageLead">{{#replace:{{{damageLead|}}}|,|,&#8203;}}</span><span class="movedata-damage">{{#replace:{{{damage|}}}|,|,&#8203;}}</span></div>
  <div class="movedata-range">{{{range|}}}</div>
</div>
<div class="movedata-frames">{{#if:{{{tracksLeft|}}}|
  <div class="movedata-tracks left">{{#iferror:{{#ifexpr:{{{tracksLeft}}}<0 or {{{tracksLeft}}}>99|{{Error}}}}|
    <div class="movedata-tracks-label">{{{tracksLeft}}}</div>|
    <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksLeft}}}/30) }}% "></div>
    <div class="movedata-tracks-score">{{{tracksLeft}}}</div>}}
  </div>}}{{#if:{{{tracksRight|}}}|
  <div class="movedata-tracks right">{{#iferror:{{#ifexpr:{{{tracksRight}}}<0 or {{{tracksRight}}}>99|{{Error}}}}|
    <div class="movedata-tracks-label">{{{tracksRight}}}</div>|
    <div class="movedata-tracks-score">{{{tracksRight}}}</div>
    <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksRight}}}/30) }}% "></div>}}
  </div>}}
  <div class="movedata-block">{{{block|}}}</div>
  <div class="movedata-hit">{{{hit|}}}</div>
  <div class="movedata-ch">{{{ch|}}}</div>
  <div class="movedata-startupRoot">{{{startupRoot|}}}</div>
  <div class="movedata-startup">{{{startup|}}}</div>
  <div class="movedata-recv">{{{recv|}}}</div>
  <div class="movedata-tot">{{{tot|}}}</div>
</div>
<div class="movedata-notes">{{#if:{{{inheritedFrom|}}}|Based on {{{inheritedFrom}}}}}{{#if:{{{crush|}}}|<div class="movedata-crush">{{MoveDataIcon|color=red|{{{crush}}}}}</div>
}}{{{notes|}}}</div>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 14:38, 29 February 2024