Template:VersionCompatibilityVersion/sandbox: Difference between revisions

m
removed playable labels and repeated color bars will no longer brighten
mNo edit summary
m (removed playable labels and repeated color bars will no longer brighten)
Line 4: Line 4:
<div style="position: absolute; overflow: hidden; height:12px; border: 1px solid black; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100}}%;
<div style="position: absolute; overflow: hidden; height:12px; border: 1px solid black; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100}}%;


background:{{#ifeq:{{{2}}}|{{#var:last}}|rgba(255, 255, 255, 0.25)|{{#switch:{{{2}}}
background:{{#ifeq:{{{2}}}|{{#var:last}}||{{#switch:{{{2}}}
  |*=#f83333
  |*=#f83333
  |**=#fa3
  |**=#fa3
  |***=#ed9
  |***=#ed9
  |****=#3db
  |****=#3db
  |*****=#00f855
  |*****=#00f855}}
|rgba(255, 255, 255, 0.25)}}
}};"><div style="position: absolute; bottom:-5px; margin-left:100%; font-size:14px; color:{{#switch:{{{2}}}
}};"><div style="position: absolute; bottom:-5px; margin-left:100%; font-size:14px; color:{{#switch:{{{2}}}
  |*=#c62222
  |*=#c62222
Line 17: Line 16:
  |****=#2a8
  |****=#2a8
  |*****=#00b522
  |*****=#00b522
}};">{{#ifeq:{{{2}}}|{{#var:last}}||<div style="margin-left:-100px; text-align:right; font-weight: 900;">{{#switch:{{{2}}}
}};"></div></div>
|*=BROKEN
|**=INTRO
|***=STARTS
|****=PLAYABLE
|*****=PERFECT
}}</div>}}</div></div>


<!-- Pointer and revision label -->
<!-- Pointer and revision label -->
<div style="position: absolute; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100{{#vardefine:rev|{{{1}}}}}}}%;"><div style="margin-left:100%; font-size:10px;"><span style="position: relative; bottom:0px; white-space: nowrap;"><span class="plainlinks" style="position: absolute; width:0px; bottom:0px; left:1px; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-640>{{VersionRevision|{{#var:lastrev2|-641}}|use=link}}|{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-480>{{VersionRevision|{{#var:lastrev|-481}}|use=link}}|">{{revision|{{{1}}}}}{{#vardefine:shifted|}}|{{#if:{{#var:shifted}}|">{{revision|{{{1}}}}}{{#vardefine:shifted|}}|border-left: 1px solid #000; height:13px;"><span style="position: absolute; bottom:9px;">{{revision|{{{1}}}}}</span>{{#vardefine:lastrev2|{{#var:lastrev}}}}{{#vardefine:shifted|true}}}}}}|border-left: 1px solid #000; height:22px;"><span style="position: absolute; bottom:18px;">{{revision|{{{1}}}}}</span>{{#vardefine:shifted|}}}}</span></span></div></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}{{#vardefine:lastrev|{{{1}}}}}</includeonly><noinclude>{{documentation|Template:VersionCompatibilityVersion/sandbox/doc}}[[Category:Experimental templates]]</noinclude>
<div style="position: absolute; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100{{#vardefine:rev|{{{1}}}}}}}%;"><div style="margin-left:100%; font-size:10px;"><span style="position: relative; bottom:0px; white-space: nowrap;"><span class="plainlinks" style="position: absolute; width:0px; bottom:0px; left:1px; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-640>{{VersionRevision|{{#var:lastrev2|-641}}|use=link}}|{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-480>{{VersionRevision|{{#var:lastrev|-481}}|use=link}}|">{{revision|{{{1}}}}}{{#vardefine:shifted|}}|{{#if:{{#var:shifted}}|">{{revision|{{{1}}}}}{{#vardefine:shifted|}}|border-left: 1px solid #000; height:13px;"><span style="position: absolute; bottom:9px;">{{revision|{{{1}}}}}</span>{{#vardefine:lastrev2|{{#var:lastrev}}}}{{#vardefine:shifted|true}}}}}}|border-left: 1px solid #000; height:22px;"><span style="position: absolute; bottom:18px;">{{revision|{{{1}}}}}</span>{{#vardefine:shifted|}}}}</span></span></div></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}{{#vardefine:lastrev|{{{1}}}}}</includeonly><noinclude>{{documentation|Template:VersionCompatibilityVersion/sandbox/doc}}[[Category:Experimental templates]]</noinclude>
6,576

edits