Template:VersionCompatibilityVersion/sandbox/doc: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
== Neighboring templates ==
== Welcome to [[Template:VersionCompatibilityVersion|VersionCompatibilityVersion]]'s sandbox page ==
=== Neighboring templates ===
* [[Template:VersionCompatibility/sandbox]]
* [[Template:VersionCompatibility/sandbox]]
* [[Template:VersionCompatibilityVersion/sandbox]]
* [[Template:VersionCompatibilityVersion/sandbox]]
* [[Template:VersionCompatibilityClose/sandbox]]
* [[Template:VersionCompatibilityClose/sandbox]]
=== Discussion ===
All discussions on this experimental page should be taken to [[Template talk:VersionCompatibilityVersion/sandbox]]


== About ==
== About ==
This template is part of a set that enable a graphic display of Dolphin version compatibility. An example appears below...
This template is part of a set that enable a graphic display of Dolphin version compatibility.
 
== Example ==
<pre>
<pre>
{{VersionCompatibility/sandbox}}
{{VersionCompatibility/sandbox}}
Line 23: Line 29:
</pre>
</pre>


== Example ==
Produces
<div style="background:#fff;border:1px solid #ddd;padding:.5em">
<div style="background:#fff;border:1px solid #ddd;padding:.5em">
{{VersionCompatibility/sandbox}}
{{VersionCompatibility/sandbox}}
Line 42: Line 48:
</div>
</div>


Test Auto-sizing to last populated revision:
== Quirks ==
Test Auto-sizing to last populated revision. Also note the revisions are being shifted erratically.
<div style="background:#fff;border:1px solid #ddd;padding:.5em">
<div style="background:#fff;border:1px solid #ddd;padding:.5em">
{{VersionCompatibility/sandbox}}
{{VersionCompatibility/sandbox}}
Line 55: Line 62:
</div>
</div>


Test handling of no VersionCompatibilityVersion templates:
Add these null vardefines before the next Version Compatibility table to clear out the old values before loading into next table:
<pre>{{#vardefine:rev|}}{{#vardefine:last|}}{{#vardefine:lastrev|}}{{#vardefine:lastrev2|}}</pre>
Result
{{#vardefine:rev|}}{{#vardefine:last|}}{{#vardefine:lastrev|}}{{#vardefine:lastrev2|}}
<div style="background:#fff;border:1px solid #ddd;padding:.5em">
<div style="background:#fff;border:1px solid #ddd;padding:.5em">
{{VersionCompatibility/sandbox}}
{{VersionCompatibility/sandbox}}
{{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}}
{{VersionCompatibilityVersion/sandbox|4.0-9000|*|Notes on this section}}
{{VersionCompatibilityClose/sandbox}}
{{VersionCompatibilityClose/sandbox}}
</div>
</div>


== Notes ==
== Guidelines ==
* Two parameters are required, the first is the revision a compatibility change occurred on. The second the compatibility rating achieved with that revision.
* Two parameters are required, the first is the revision a compatibility change occurred on. The second the compatibility rating achieved with that revision.
* There shouldn't be another "Perfect" bar if the latest revision tested already has "Perfect" bar.
* There shouldn't be another "Perfect" bar if the latest revision tested already has "Perfect" bar.


[[Category:Experimental templates]]
[[Category:Experimental templates]]
6,576

edits