Template:VersionCompatibilityVersion: Difference between revisions

m
standardize variable names
No edit summary
m (standardize variable names)
Line 2: Line 2:


<!-- Bar and revision label -->
<!-- Bar and revision label -->
<div class="plainlinks" 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 class="plainlinks" style="position: absolute; overflow: hidden; height:12px; border: 1px solid black; width:{{#if:{{#var:tl_vc_startrev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:tl_vc_startrev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:tl_vc_startrev}}|use=link}})*100)}}|100}}%;


background:{{#switch:{{{2}}}
background:{{#switch:{{{2}}}
6,906

edits