Template:VersionCompatibilityVersion/sandbox: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 26: Line 26:


<!-- Pointer and revision label -->
<!-- Pointer and revision label -->
<div style="position: absolute; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100{{#vardefine:rev|{{{1}}}}}}}%;"><div style="margin-left:100%; font-size:10px;"><span style="position: relative; bottom:0px; white-space: nowrap;"><span class="plainlinks" style="position: absolute; width:0px; bottom:0px; left:1px;{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-640>{{VersionRevision|{{#var:lastrev2|-641}}|use=link}}|{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-480>{{VersionRevision|{{#var:lastrev|-481}}|use=link}}|">{{revision|{{{1}}}}}|border-left: 1px solid #000; height:13px;"><span style="position: absolute; bottom:9px;">{{revision|{{{1}}}}}</span>{{#vardefine:lastrev2|{{#var:lastrev}}}}}}|border-left: 1px solid #000; height:22px;"><span style="position: absolute; bottom:18px;">{{revision|{{{1}}}}}</span>}}</span></span></div></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}{{#vardefine:lastrev|{{{1}}}}}</includeonly><noinclude>{{documentation|Template:VersionCompatibilityVersion/sandbox/doc}}[[Category:Experimental templates]]</noinclude>
<div style="position: absolute; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100{{#vardefine:rev|{{{1}}}}}}}%;"><div style="margin-left:100%; font-size:10px;"><span style="position: relative; bottom:0px; white-space: nowrap;"><span class="plainlinks" style="position: absolute; width:0px; bottom:0px; left:1px; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-640>{{VersionRevision|{{#var:lastrev2|-641}}|use=link}}|{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-480>{{VersionRevision|{{#var:lastrev|-481}}|use=link}}|">{{revision|{{{1}}}}}{{#vardefine:shiftredeemed|}}|{{#if:{{#var:shiftredeemed}}|">{{revision|{{{1}}}}}{{#vardefine:shiftredeemed|}}|border-left: 1px solid #000; height:13px;"><span style="position: absolute; bottom:9px;">{{revision|{{{1}}}}}</span>{{#vardefine:lastrev2|{{#var:lastrev}}}}{{#vardefine:shiftredeemed|true}}}}}}|border-left: 1px solid #000; height:22px;"><span style="position: absolute; bottom:18px;">{{revision|{{{1}}}}}</span>{{#vardefine:shiftredeemed|}}}}</span></span></div></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}{{#vardefine:lastrev|{{{1}}}}}</includeonly><noinclude>{{documentation|Template:VersionCompatibilityVersion/sandbox/doc}}[[Category:Experimental templates]]</noinclude>

Revision as of 05:08, 6 August 2018

[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.

PLAYABLE
r5370
INTRO
2.0
PLAYABLE
r6461
3.0
STARTS
3.0-461
BROKEN
PLAYABLE
INTRO
STARTS
PLAYABLE
PERFECT
BROKEN
Δ
5.0-21401 (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.