Difference between revisions of "Template:VersionCompatibilityVersion"

From Dolphin Emulator Wiki
Jump to: navigation, search
m (standardize variable names)
 
Line 2: Line 2:
  
 
<!-- Bar and revision label -->
 
<!-- Bar and revision label -->
<div class="plainlinks" style="position: absolute; overflow: hidden; height:12px; border: 1px solid black; width:{{#if:{{#var:rev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}|100}}%;
+
<div class="plainlinks" style="position: absolute; overflow: hidden; height:12px; border: 1px solid black; width:{{#if:{{#var:tl_vc_startrev}}|{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:tl_vc_startrev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:tl_vc_startrev}}|use=link}})*100)}}|100}}%;
  
 
background:{{#switch:{{{2}}}
 
background:{{#switch:{{{2}}}

Latest revision as of 16:41, 31 August 2017

[edit] [purge] Template documentation

About

This template is part of a set that enable a graphic display of Dolphin version compatibility.

Neighboring templates

Example

{{VersionCompatibility}}
{{VersionCompatibilityVersion|2.0|**|Notes on this section}}
{{VersionCompatibilityVersion|6461|****|Notes on this section}}
{{VersionCompatibilityVersion|3.0-461|***|Notes on this section}}
{{VersionCompatibilityVersion|3.5|*|Notes on this section}}
{{VersionCompatibilityVersion|3.5-400|**|Notes on this section}}
{{VersionCompatibilityVersion|4.0.2|***|Notes on this section}}
{{VersionCompatibilityVersion|4.0-2729|*****|Notes on this section}}
{{VersionCompatibilityClose}}

Produces

The graph below charts the compatibility with VersionCompatibilityVersion since Dolphin's 2.0 release, listing revisions only where a compatibility change occurred.

Δ
5.0-12436 (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 are required, the first is the revision a compatibility change occurred on. The second the compatibility rating achieved with that revision.
  • 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.