Template:VersionCompatibility/doc: Difference between revisions

move documentation to /doc
(move documentation to /doc)
 
(move documentation to /doc)
Line 1: Line 1:
== About ==
This template is part of a set (as shown below) that enable a graphical display of Dolphin version compatibility.


*Versions should be listed lowest to highest
==About==
*Only versions where a compatibility level change has occurred should be listed
This template is part of a set that enable a graphic display of Dolphin version compatibility. An example appears below...
*Versions accept two parameters, a revision # and a compatibility rating.
 
<nowiki>{{VersionCompatibility}}</nowiki>
 
<nowiki>{{VersionCompatibilityVersion|5699|*}}</nowiki>
 
<nowiki>{{VersionCompatibilityVersion|6461|****}}</nowiki>
 
<nowiki>{{VersionCompatibilityClose}}</nowiki>


== Example Code==
<nowiki>{{VersionCompatibility}}</nowiki><br />
<nowiki>{{VersionCompatibilityVersion|5699|*}}</nowiki><br />
<nowiki>{{VersionCompatibilityVersion|6461|****}}</nowiki><br />
<nowiki>{{VersionCompatibilityClose}}</nowiki><br />


== Example ==
{{VersionCompatibility}}
{{VersionCompatibility}}
{{VersionCompatibilityVersion|5699|*}}
{{VersionCompatibilityVersion|5699|*}}
{{VersionCompatibilityVersion|5999|?}}
{{VersionCompatibilityVersion|6461|****}}
{{VersionCompatibilityVersion|6461|****}}
{{VersionCompatibilityClose}}
{{VersionCompatibilityClose}}


== Current Issues ==
==Notes==
*The output doesn't overlap well with floating elements (i.e. game info sidebars).
* Two parameters are required, the first is the revision a compatibility change occurred on. The second the compatibility rating achieved with that revision.
*Versions 0 to ~150 are wider than the container even though they have widths 100% or less. Unsure why this is happening.
* ? can be specified as the rating to indicate unknown statuses
 
* 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.
 
{{VersionCompatibility}}
{{VersionCompatibilityVersion|0|*}}
{{VersionCompatibilityClose}}