Template:VersionCompatibilityVersion/sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- Tooltip --><div title="Revision: {{VersionRevision|{{{1}}}|use=title}} – {{#ifeq:{{{2}}}|{{#var:last}}||Compatibility updated:}} {{#switch:{{{2}}} | ||
<!-- | |||
title="Revision: {{VersionRevision|{{{1}}}|use=title}} – {{#ifeq:{{{2}}}|{{#var:last}}||Compatibility updated:}} {{#switch:{{{2}}} | |||
|*=Broken | |*=Broken | ||
|**=Intro | |**=Intro | ||
Line 8: | Line 5: | ||
|****=Playable | |****=Playable | ||
|*****=Perfect | |*****=Perfect | ||
}} {{#if:{{{3|}}}|– {{{3|}}}|{{#if:{{#var:last}}|– Unclear entry|}}}}" | }} {{#if:{{{3|}}}|– {{{3|}}}|{{#if:{{#var:last}}|– Unclear entry|}}}}"> | ||
<!-- | <!-- Bar --> | ||
style="position: absolute; 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%;{{#vardefine:rev|{{{1}}}}} | <div 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%;{{#vardefine:rev|{{{1}}}}} | ||
}} | }} | ||
Line 33: | Line 30: | ||
|****=PLAYABLE | |****=PLAYABLE | ||
|*****=PERFECT | |*****=PERFECT | ||
}}</div>}}</div> | }}</div>}}</div></div> | ||
<!-- Pointer and revision label --> | <!-- Pointer and revision label --> | ||
<div style="margin-left:100%; font-size:10px;"><span style="position: relative; bottom:11px; left:-4px; white-space: nowrap;">▼<span class="plainlinks" style="position: absolute; transform:rotate(-25deg); width:0px; bottom:2px; left:10px; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-360>{{VersionRevision|{{#var:lastrev2|-360}}|use=link}}|{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-200>{{VersionRevision|{{#var:lastrev|-200}}|use=link}}||bottom:6px; left:5px;{{#vardefine:lastrev2|{{#var:lastrev}}}}}}|bottom:10px; left:0px;}}">{{revision|{{{1}}}}}</span></span></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}{{#vardefine:lastrev|{{{1}}}}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]</noinclude> | <div style="position: absolute; width:{{#expr:100-(({{VersionRevision|{{{1}}}|use=link}}-{{VersionRevision|{{#var:rev}}|use=link}})/({{CurrentRevision}}-{{VersionRevision|{{#var:rev}}|use=link}})*100)}}%;"><div style="margin-left:100%; font-size:10px;"><span style="position: relative; bottom:11px; left:-4px; white-space: nowrap;">▼<span class="plainlinks" style="position: absolute; transform:rotate(-25deg); width:0px; bottom:2px; left:10px; {{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-360>{{VersionRevision|{{#var:lastrev2|-360}}|use=link}}|{{#ifexpr:{{VersionRevision|{{{1}}}|use=link}}-200>{{VersionRevision|{{#var:lastrev|-200}}|use=link}}||bottom:6px; left:5px;{{#vardefine:lastrev2|{{#var:lastrev}}}}}}|bottom:10px; left:0px;}}">{{revision|{{{1}}}}}</span></span></div></div></div>{{#if:{{#var:last}}|{{#if:{{{3|}}}||[[Category:VersionCompatibilityVersion Template missing notes]]}}|}}{{#vardefine:last|{{{2}}}}}{{#vardefine:lastrev|{{{1}}}}}</includeonly><noinclude>{{documentation}}[[Category:Experimental templates]]</noinclude> |
Revision as of 07:42, 17 May 2016
[edit] [ ] Template documentation
About
This template is part of a set that enable a graphic display of Dolphin version compatibility.
Neighboring templates
- Template:VersionCompatibility
- Template:VersionCompatibilityVersion
- Template:VersionCompatibilityClose
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 sandbox since Dolphin's 2.0 release, listing revisions only where a compatibility change occurred.
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.
The above documentation is transcluded from Template:VersionCompatibilityVersion/doc. (edit | history) Editors can experiment in this template's sandbox (edit) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |