Template:VersionCompatibilityClose: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(Removed trivial information, it causes 5.0 mark to overlap with current mark in narrowed browser, usually happens in game pages with little information where the VersionCompatibility table had to become narrower to fit alongside Template:Infobox VG)
(Added all major revision marks & removed "(Current)" appended to the current revision)
Line 1: Line 1:
<includeonly><!-- 2 seemingly missing div tags are in Template:VersionCompatibility --><div style="position: relative; font-size:10px; white-space:nowrap;">
<includeonly><!-- 2 seemingly missing div tags are in Template:VersionCompatibility --><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:17px; left:-3px;">{{revision|{{CurrentGitRevision}}}} '''(current)'''</div>
<div style="position: absolute; top:9px; left:-3px;">Δ</div><div style="position: absolute; top:17px; left:-3px;">{{revision|{{CurrentGitRevision}}}}</div>
<!-- 5.0 point -->
{{#ifexpr:{{VersionRevision|5.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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%;"><div style="position: absolute; top:9px; left:-2px;">Δ</div><div style="position: absolute; top:18px; left:-8px;">{{revision|5.0}}</div></div></div>}}
<!-- 4.0 point -->
{{#ifexpr:{{VersionRevision|4.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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%;"><div style="position: absolute; top:9px; left:-2px;">Δ</div><div style="position: absolute; top:18px; left:-8px;">{{revision|4.0}}</div></div></div>}}
<!-- 3.5 point -->
{{#ifexpr:{{VersionRevision|3.5|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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%;"><div style="position: absolute; top:9px; left:-2px;">Δ</div><div style="position: absolute; top:18px; left:-8px;">{{revision|3.5}}</div></div></div>}}
<!-- 3.0 point -->
{{#ifexpr:{{VersionRevision|3.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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%;"><div style="position: absolute; top:9px; left:-2px;">Δ</div><div style="position: absolute; top:18px; left:-8px;">{{revision|3.0}}</div></div></div>}}
<!-- 2.0 point -->
<!-- 2.0 point -->
{{#ifexpr:{{VersionRevision|2.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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:-52px;">{{revision|2.0}} '''(r5384)'''</div></div></div>}}
{{#ifexpr:{{VersionRevision|2.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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:-52px;">{{revision|2.0}} '''(r5384)'''</div></div></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>
<!-- 5.0 point -->
{{#ifexpr:{{VersionRevision|5.0|use=link}}<{{VersionRevision|{{#var:rev|{{CurrentGitRevision}}}}|use=link}}||<div style="position: absolute; 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%;"><div style="position: absolute; top:9px; left:-2px;">Δ</div><div style="position: absolute; top:18px; left:-12px;">{{revision|5.0}}</div></div></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>
{{documentation|Template:VersionCompatibility/doc}}
{{documentation|Template:VersionCompatibility/doc}}
</noinclude>
</noinclude>

Revision as of 00:03, 4 April 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|****|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 VersionCompatibilityClose since Dolphin's 2.0 release, listing revisions only where a compatibility change occurred.

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.