Template:VersionCompatibilityVersion/sandbox/doc: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 49: Line 49:
{{VersionCompatibilityClose/sandbox}}
{{VersionCompatibilityClose/sandbox}}
</div>
</div>
== 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">
{{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}}
</div>
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">
{{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|}}
</div>
Another quirk is that the closing template will not reload with the null variables until it's given with a pipe character (which is also in place in the result above).


== Guidelines ==
== Guidelines ==
6,576

edits