Template:VersionCompatibilityVersion: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
< | <!-- | ||
==About== | ==About== | ||
This template is part of a set that enable a graphic display of Dolphin version compatibility. An example appears below... | This template is part of a set that enable a graphic display of Dolphin version compatibility. An example appears below... | ||
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;width:{{#expr:100-({{{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> |