Oldmanwang (talk | contribs) No edit summary |
Oldmanwang (talk | contribs) 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}}}/ | <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}}}/ | <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
- The above documentation is from Template:MoveData/sandbox/doc
- Editors should experiment in this template’s sandbox and testcases pages