Template:VersionCompatibilityVersion/sandbox: Difference between revisions

Jump to navigation Jump to search
Learned that text rotation not good: 1. doesn't work on older browsers, 2. aliased text looks very jaggy - still figuring out how to resolve overlap problem.....
No edit summary
(Learned that text rotation not good: 1. doesn't work on older browsers, 2. aliased text looks very jaggy - still figuring out how to resolve overlap problem.....)
Line 1: Line 1:
<includeonly><div
<includeonly><div
<!-- Div tag: Tooltip -->
title="Revision: {{VersionRevision|{{{1}}}|use=title}} – {{#ifeq:{{{2}}}|{{#var:last}}||Compatibility updated:}} {{#switch:{{{2}}}
title="Revision: {{VersionRevision|{{{1}}}|use=title}} – {{#ifeq:{{{2}}}|{{#var:last}}||Compatibility updated:}} {{#switch:{{{2}}}
  |*=Broken
  |*=Broken
Line 7: Line 9:
  |*****=Perfect
  |*****=Perfect
}} {{#if:{{{3|}}}|– {{{3|}}}|{{#if:{{#var:last}}|– Unclear entry|}}}}"
}} {{#if:{{{3|}}}|– {{{3|}}}|{{#if:{{#var:last}}|– Unclear entry|}}}}"
style="position: absolute; 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%;{{#vardefine:rev|{{{1}}}}}
 
<!-- Cont'd div tag: Bar -->
style="position: absolute; 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%;{{#vardefine:rev|{{{1}}}}}
}}
}}


Line 17: Line 21:
  |*****=#00f855
  |*****=#00f855
  |rgba(255, 255, 255, 0.25)}}
  |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
  |**=#c72
  |**=#c72
Line 29: Line 33:
  |****=PLAYABLE
  |****=PLAYABLE
  |*****=PERFECT
  |*****=PERFECT
}}</div>}}</div><div style="width: 0px; transform: rotate(-25deg); margin-left: 100%"><span style="position: relative; bottom: 16px; left: 5px; white-space: nowrap; font-size: 10px;"><span class="plainlinks" {{#ifeq:{{{4|}}}|shift|style="position: absolute; bottom: 3px; left: 2px;"|}}>{{revision|{{{1}}}}}</span></span></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]</noinclude>
}}</div>}}</div>
 
<!-- Pointer and revision label -->
<div style="margin-left:100%; white-space: nowrap; font-size:10px;"><span style="position: relative; bottom:10px; left:-4px;">▼</span><span class="plainlinks" style="position: relative; bottom:19px; {{#ifeq:{{{5|}}}|shift|bottom:35px;|{{#ifeq:{{{4|}}}|shift|bottom:27px;|}}}} left:-12px;">{{revision|{{{1}}}}}</span></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]</noinclude>
6,576

edits

Navigation menu