Template:VersionCompatibilityVersion: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
No edit summary
(Escape quotes in notes (affected e.g. Metroid: Other M))
 
(34 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div title="{{#ifeq:{{{1}}}|2.0|2.0 (RC)|{{{1}}}}} {{{2}}}" style="position:absolute;text-align: right;height:13px;border-right:1px solid #000;margin-right:-1px;margin-top:12px;overflow:hidden;width:{{#expr:100-({{#ifeq:{{{1}}}|2.0|5350|{{{1}}}}}/{{CurrentRevision}}*100)}}%;background:{{#ifeq:{{{2}}}|?|#000|}}{{#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" title="{{{3}}}">{{#ifeq:{{{1}}}|2.0|2.0 (RC)|{{{1}}}}}</span></div></includeonly><noinclude>
<includeonly><!-- Tooltip --><div title="Rev: {{VersionRevision|{{{1}}}|use=title}} | Rating: {{{2}}} | Notes: {{#regex:{{{3|}}}|/"/|&quot;}}">
{{documentation}}
 
</noinclude>
<!-- Bar and revision label -->
<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}}}
|*=#f83333
|**=#fa3
|***=#fe3
|****=#3db
|*****=#00f855}}; text-align:right; font-size:10px;"><div style="position:relative; bottom:2px; right:2px;">{{revision|{{{1}}}}}</div></div></div>{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}</includeonly><noinclude>{{documentation|Template:VersionCompatibility/doc}}</noinclude>

Latest revision as of 01:56, 22 August 2021

[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|****|Fixed behavior of "Setting"}}
{{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-21264 (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.