Template:MoveData/sandbox: Difference between revisions

Template page
No edit summary
No edit summary
Line 26: Line 26:
   <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}}}/60) }}% "></div>
     <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksLeft}}}/40) }}% "></div>
     <div class="movedata-tracks-score">{{{tracksLeft}}}</div>}}
     <div class="movedata-tracks-score">{{{tracksLeft}}}</div>}}
   </div>}}{{#if:{{{tracksRight|}}}|
   </div>}}{{#if:{{{tracksRight|}}}|
Line 32: Line 32:
     <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}}}/60) }}% "></div>}}
     <div class="movedata-tracks-bar bg-blue-30" style="width: {{#expr: floor(100*{{{tracksRight}}}/40) }}% "></div>}}
   </div>}}
   </div>}}
   <div class="movedata-range">{{{range|}}}</div>
   <div class="movedata-range">{{{range|}}}</div>

Revision as of 10:08, 30 January 2021

Template:MoveData/sandbox/doc