Template:MoveData/sandbox: Difference between revisions

Template page
No edit summary
No edit summary
 
(83 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-moveno">
{{#if:{{{id|}}}|<div class="movedata-id">[[#{{{id}}}]]</div>
    <div class="movedata-moveno">{{{moveNo|}}}</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-id">
</div>
    <div class="movedata-name">{{{name|}}}</div>
<div class="movedata-threat">
    <div class="movedata-input-ctn">
<span class="movedata-inputLead">{{#replace:{{{inputLead|}}}|,|,&#8203;}}</span><span class="movedata-input">{{#replace:{{{input}}}|,|,&#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-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><span>&#124;</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>
   <div class="movedata-range">{{{range|}}}</div>
<div class="movedata-special">
  <div class="movedata-screw">{{{screw|}}}</div>
  <div class="movedata-spike">{{{spike|}}}</div>
  <div class="movedata-wallbound">{{{wallBound|}}}</div>
   <div class="movedata-stagebreak">{{{stageBreak|}}}</div>
</div>
</div>
<div class="movedata-frames">
<div class="movedata-frames">{{#if:{{{tracksLeft|}}}|
  <div class="movedata-startupRoot">{{{startupRoot|}}}</div>
  <div class="movedata-startup">{{{startup|}}}</div>
  <div class="movedata-block">{{{block|}}}</div>
  <div class="movedata-hit">{{{hit|}}}</div>
  <div class="movedata-ch">{{{ch|}}}</div>
</div>
<div class="movedata-whiff">{{#if:{{{tracksLeft|}}}|
   <div class="movedata-tracks left">{{#iferror:{{#ifexpr:{{{tracksLeft}}}<0 or {{{tracksLeft}}}>99|{{Error}}}}|
   <div class="movedata-tracks left">{{#iferror:{{#ifexpr:{{{tracksLeft}}}<0 or {{{tracksLeft}}}>99|{{Error}}}}|
     <div class="movedata-tracks-label">{{{tracksLeft}}}</div>|
     <div class="movedata-tracks-label">{{{tracksLeft}}}</div>|
     <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksLeft}}}/40) }}% "></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 class="movedata-tracks-score">{{{tracksLeft}}}</div>}}
   </div>}}{{#if:{{{tracksRight|}}}|
   </div>}}{{#if:{{{tracksRight|}}}|
Line 32: Line 21:
     <div class="movedata-tracks-label">{{{tracksRight}}}</div>|
     <div class="movedata-tracks-label">{{{tracksRight}}}</div>|
     <div class="movedata-tracks-score">{{{tracksRight}}}</div>
     <div class="movedata-tracks-score">{{{tracksRight}}}</div>
     <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksRight}}}/40) }}% "></div>}}
     <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksRight}}}/30) }}% "></div>}}
   </div>}}
   </div>}}
   <div class="movedata-range">{{{range|}}}</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-recv">{{{recv|}}}</div>
   <div class="movedata-crush">{{{crush|}}}</div>
   <div class="movedata-tot">{{{tot|}}}</div>
</div>
</div>
<div class="movedata-notes">
<div class="movedata-notes">{{#if:{{{crush|}}}|<div class="movedata-crush">{{MoveDataIcon|color=red|{{{crush}}}}}</div>
  <div class="movedata-notes">{{{notes|}}}</div>
}}{{{notes|}}}</div>
</div>
</div>
</div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 06:34, 10 July 2022

{{{input}}}