Template:VersionCompatibilityClose/sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative; font-size: 10px;"> | <includeonly><div style="position: relative; font-size: 10px;"> | ||
<div style="position: absolute; top: | <div style="position: absolute; top:5px; left:-2px;">♦</div><div style="position: absolute; top:14px;">{{revision|{{CurrentGitRevision}}}} '''(current)'''</div> | ||
<div style="position: absolute; {{#ifexpr:{{VersionRevision|4.0|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|4.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top: | <div style="position: absolute; {{#ifexpr:{{VersionRevision|4.0|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|4.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top:15px; left:-1px;">♦</div><div style="position: absolute; top:23px; left:-8px;">{{revision|4.0.2}}</div></span></div></div> | ||
<div style="position: absolute; {{#ifexpr:{{VersionRevision|3.5|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|3.5|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top: | <div style="position: absolute; {{#ifexpr:{{VersionRevision|3.5|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|3.5|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top:15px; left:-1px;">♦</div><div style="position: absolute; top:23px; left:-8px;">{{revision|3.5}}</div></span></div></div> | ||
<div style="position: absolute; {{#ifexpr:{{VersionRevision|3.5|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|3.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top: | <div style="position: absolute; {{#ifexpr:{{VersionRevision|3.5|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|3.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top:15px; left:-1px;">♦</div><div style="position: absolute; top:23px; left:-8px;">{{revision|3.0}}</div></span></div></div> | ||
<div style="position: absolute; {{#ifexpr:{{VersionRevision|2.0|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|2.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top: | <div style="position: absolute; {{#ifexpr:{{VersionRevision|2.0|use=link}}<{{VersionRevision|{{#var:rev}}|use=link}}|width:100%; |width:{{#expr:100-(({{VersionRevision|2.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;}};"><div style="width: 0px; margin-left: 100%"><span style="position: relative; white-space: nowrap;"><div style="position: absolute; top:15px; left:-1px;">♦</div><div style="position: absolute; top:23px; left:-8px;">{{revision|2.0}}</div></span></div></div> | ||
</div> | </div> |
Revision as of 11:31, 13 May 2016
[edit] [ ] Template documentation
Welcome to VersionCompatibilityVersion's sandbox page
Neighboring templates
- Template:VersionCompatibility/sandbox
- Template:VersionCompatibilityVersion/sandbox
- Template:VersionCompatibilityClose/sandbox
Discussion
All discussions on these experimental templates should be taken to Template talk:VersionCompatibilityVersion/sandbox
About
This template is part of a set that enable a graphic display of Dolphin version compatibility.
Example
{{VersionCompatibility/sandbox}} {{VersionCompatibilityVersion/sandbox|5370|****|}} {{VersionCompatibilityVersion/sandbox|2.0|**|}} {{VersionCompatibilityVersion/sandbox|6461|****|}} {{VersionCompatibilityVersion/sandbox|3.0|****|Notes on this section}} {{VersionCompatibilityVersion/sandbox|3.0-461|***|Notes on this section}} {{VersionCompatibilityVersion/sandbox|3.5|*|Notes on this section}} {{VersionCompatibilityVersion/sandbox|3.5-400|****|Notes on this section}} {{VersionCompatibilityVersion/sandbox|3.5-420|**|Notes on this section}} {{VersionCompatibilityVersion/sandbox|4.0.2|***|Notes on this section}} {{VersionCompatibilityVersion/sandbox|4.0-2729|****|Notes on this section}} {{VersionCompatibilityVersion/sandbox|4.0-2800|****|Notes on this section}} {{VersionCompatibilityVersion/sandbox|4.0-6800|*****|Notes on this section}} {{VersionCompatibilityClose/sandbox}} |
Produces
The graph below charts the compatibility with sandbox, listing revisions only where a compatibility change occurred.
Notes
- Two parameters required: First parameter is the revision a compatibility change occurred on. Second parameter is the compatibility rating achieved with that revision.
- Use third parameter to write clear notes - required after initial version compatibility pointer so it doesn't end up a redundant pointer.
- 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.
The above documentation is transcluded from Template:VersionCompatibilityVersion/sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit) and testcases (create) pages. Subpages of this template. |