Template:MoveData/sandbox: Difference between revisions

Template page
No edit summary
No edit summary
 
(117 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="MoveData/style3.css"/><div class="movedata hover-bg-grey-03">
<templatestyles src="MoveData/style2.css"/><div class="movedata hover-bg-grey-03"{{#if:{{{id|}}}| id="{{{id}}}"}}>
<div class="movedata-id">
{{#if:{{{id|}}}|<div class="movedata-id">[[#{{{id}}}]]</div>
}}<div class="movedata-labels">
   <div class="movedata-name">{{{name|}}}</div>
   <div class="movedata-name">{{{name|}}}</div>
   <div class="movedata-moveno">{{{moveNo|}}}</div>
   <div class="movedata-input-ctn">
</div>
<div class="movedata-input">
<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>
</div>
</div>
</div>
</div>
 
<div class="movedata-threat">
<div class="movedata-frames">
  <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-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-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 class="movedata-range">{{{range|}}}</div>
   <div class="movedata-crush">{{{crush|}}}</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-block">{{{block|}}}</div>
   <div class="movedata-hit">{{{hit|}}}</div>
   <div class="movedata-hit">{{{hit|}}}</div>
Line 21: Line 29:
   <div class="movedata-startup">{{{startup|}}}</div>
   <div class="movedata-startup">{{{startup|}}}</div>
   <div class="movedata-recv">{{{recv|}}}</div>
   <div class="movedata-recv">{{{recv|}}}</div>
   <div class="movedata-frames">{{#if:{{{tracksLeft|}}}|
   <div class="movedata-tot">{{{tot|}}}</div>
    <div class="movedata-tracks left">{{#iferror:{{#ifexpr:{{{tracksLeft}}}<0 or {{{tracksLeft}}}>99|{{Error}}}}|
</div>
      <div class="movedata-tracks-label">{{{tracksLeft}}}</div>|
<div class="movedata-notes">{{#if:{{{crush|}}}|<div class="movedata-crush">{{MoveDataIcon|color=red|{{{crush}}}}}</div>
      <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksLeft}}}/30) }}% "></div>
}}{{{notes|}}}</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>
</div>
<div class="movedata-notes">{{{notes|}}}</div>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 06:34, 10 July 2022

{{{input}}}