Template:VersionCompatibilityClose/sandbox: Difference between revisions

mNo edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><!-- 1 seemingly missing div tag is in Template:VersionCompatibility/sandbox -->
<includeonly><!-- 2 seemingly missing div tags are in Template:VersionCompatibility/sandbox --><div style="position: relative; font-size:10px; white-space:nowrap;">
<div style="position: relative; font-size: 10px; white-space:nowrap;">
 
<!-- Current revision point -->
<!-- Current revision point -->
<div style="position: absolute; top:9px; left:-3px;">Δ</div>
<div style="position: absolute; top:9px; left:-3px;">Δ</div><div style="position: absolute; top:17px; left:-3px;">{{revision|{{CurrentGitRevision}}}} '''(current)'''</div>
<div style="position: absolute; top:17px; left:-3px;">{{revision|{{CurrentGitRevision}}}} '''(current)'''</div>
<!-- 5.0 point, no link -->
 
<div style="position: absolute; {{#ifexpr:{{VersionRevision|5.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}|">|width:{{#expr:100-(({{VersionRevision|5.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;"><div style="position: absolute; margin-left:100%; top:9px; left:-2px;" title="5.0">Δ</div>}}</div>
<!-- 4.0 point, no link -->
<div style="position: absolute; {{#ifexpr:{{VersionRevision|4.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}|">|width:{{#expr:100-(({{VersionRevision|4.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;"><div style="position: absolute; margin-left:100%; top:9px; left:-2px;" title="4.0">Δ</div>}}</div>
<!-- 3.5 point, no link -->
<div style="position: absolute; {{#ifexpr:{{VersionRevision|3.5|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}|">|width:{{#expr:100-(({{VersionRevision|3.5|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;"><div style="position: absolute; margin-left:100%; top:9px; left:-2px;" title="3.5">Δ</div>}}</div>
<!-- 3.0 point, no link -->
<div style="position: absolute; {{#ifexpr:{{VersionRevision|3.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}|">|width:{{#expr:100-(({{VersionRevision|3.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;"><div style="position: absolute; margin-left:100%; top:9px; left:-2px;" title="3.0">Δ</div>}}</div>
<!-- 2.0 point -->
<!-- 2.0 point -->
<!-- TO DO: Don't crop 2.0 (r5384), make it legible when Δ is in bound, disappear when Δ is out of bound. -->
<div style="position: absolute; {{#ifexpr:{{VersionRevision|2.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}|">|width:{{#expr:100-(({{VersionRevision|2.0|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;"><div style="position: absolute; margin-left:100%;"><div style="position: absolute; top:9px; left:-2px;">Δ</div><div style="position: absolute; top:18px; left:-32px;">{{revision|2.0}} '''(r5384)'''</div></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="position: absolute; margin-left:100%">
</div></div></div><div style="font-size: 11px;">Compatibility can be assumed to align with the indicated revisions. However, compatibility may extend to prior revisions or compatibility gaps may exist within ranges indicated as compatible due to limited testing. Please update as appropriate.</div></div></includeonly><noinclude>
<div style="position: absolute; top:9px; left:-2px;">Δ</div>
<div style="position: absolute; top:17px; left:-2px;">{{revision|2.0}} '''(r5384)'''</div></div></div>
</div>
</div>
<!-- TO DO: get rid of these empty lines...? -->
 
 
 
</div>
<div style="font-size: 11px;">Compatibility can be assumed to align with the indicated revisions. However, compatibility may extend to prior revisions or compatibility gaps may exist within ranges indicated as compatible due to limited testing. Please update as appropriate.</div></includeonly><noinclude>
{{documentation|Template:VersionCompatibilityVersion/sandbox/doc}}[[Category:Experimental templates]]</noinclude>
{{documentation|Template:VersionCompatibilityVersion/sandbox/doc}}[[Category:Experimental templates]]</noinclude>

Latest revision as of 08:53, 16 April 2017

[edit] [purge] Template documentation

Welcome to VersionCompatibilityVersion's sandbox page

Neighboring templates

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.

r5370
2.0
r6461
3.0
3.0-461
Δ
5.0-21543 (current)
Δ
Δ
Δ
Δ
Δ
2.0 (r5384)
Compatibility can be assumed to align with the indicated revisions. However, compatibility may extend to prior revisions or compatibility gaps may exist within ranges indicated as compatible due to limited testing. Please update as appropriate.

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.