Template:VersionCompatibilityVersion: Difference between revisions
Jump to navigation
Jump to search
(Clean up code) |
m (Ooops...) |
||
Line 22: | Line 22: | ||
* There is a residual issue with the widths of low revisions (0-1000). These are set to 100% width or close to but for some reason still exceed the width of their container. | * There is a residual issue with the widths of low revisions (0-1000). These are set to 100% width or close to but for some reason still exceed the width of their container. | ||
--><includeonly><div style="position:absolute;text-align: right;border-right:1px solid #000;margin-right:-1px;margin-top:12px;overflow:hidden;width:{{#expr:100-({{#ifeq:{{{1}}}|2.0|5350|{{{1 | --><includeonly><div style="position:absolute;text-align: right;border-right:1px solid #000;margin-right:-1px;margin-top:12px;overflow:hidden;width:{{#expr:100-({{#ifeq:{{{1}}}|2.0|5350|{{{1}}}}}/{{CurrentRevision}}*100)}}%;background:{{#ifeq:{{{2}}}|?|#00f|}}{{#ifeq:{{{2}}}|*|#f00|}}{{#ifeq:{{{2}}}|**|#f80|}}{{#ifeq:{{{2}}}|***|#ff0|}}{{#ifeq:{{{2}}}|****|#8f0|}}{{#ifeq:{{{2}}}|*****|#0f0|}}"><span style="font-size:9px;font-weight:bold;padding-right:1px">{{{1}}}</span></div></includeonly> |