Template:VersionCompatibilityVersion: Difference between revisions

move documentation to /doc
No edit summary
(move documentation to /doc)
Line 1: Line 1:
<noinclude>
<includeonly><div title="{{#ifeq:{{{1}}}|2.0|2.0 (RC)|{{{1}}}}} {{{2}}}" style="position:absolute;text-align: right;height:13px;border-right:1px solid #000;margin-right:-1px;margin-top:12px;overflow:hidden;width:{{#expr:100-({{#ifeq:{{{1}}}|2.0|5350|{{{1}}}}}/{{CurrentRevision}}*100)}}%;background:{{#ifeq:{{{2}}}|?|#000|}}{{#ifeq:{{{2}}}|*|#f00|}}{{#ifeq:{{{2}}}|**|#f80|}}{{#ifeq:{{{2}}}|***|#ff0|}}{{#ifeq:{{{2}}}|****|#8f0|}}{{#ifeq:{{{2}}}|*****|#0f0|}}"><span style="font-size:9px;font-weight:bold;padding-right:1px">{{#ifeq:{{{1}}}|2.0|2.0 (RC)|{{{1}}}}}</span></div></includeonly><noinclude>
==About==
{{documentation}}
This template is part of a set that enable a graphic display of Dolphin version compatibility. An example appears below...
</noinclude>
 
<nowiki>{{VersionCompatibility}}</nowiki>
 
<nowiki>{{VersionCompatibilityVersion|5699|*}}</nowiki>
 
<nowiki>{{VersionCompatibilityVersion|6461|****}}</nowiki>
 
<nowiki>{{VersionCompatibilityClose}}</nowiki>
 
 
{{VersionCompatibility}}
{{VersionCompatibilityVersion|5699|*}}
{{VersionCompatibilityVersion|5999|?}}
{{VersionCompatibilityVersion|6461|****}}
{{VersionCompatibilityClose}}
 
==Notes==
* Two parameters are required, the first is the revision a compatibility change occurred on. The second the compatibility rating achieved with that revision.
* ? 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.
 
</noinclude><includeonly><div title="{{#ifeq:{{{1}}}|2.0|2.0 (RC)|{{{1}}}}} {{{2}}}" style="position:absolute;text-align: right;height:13px;border-right:1px solid #000;margin-right:-1px;margin-top:12px;overflow:hidden;width:{{#expr:100-({{#ifeq:{{{1}}}|2.0|5350|{{{1}}}}}/{{CurrentRevision}}*100)}}%;background:{{#ifeq:{{{2}}}|?|#000|}}{{#ifeq:{{{2}}}|*|#f00|}}{{#ifeq:{{{2}}}|**|#f80|}}{{#ifeq:{{{2}}}|***|#ff0|}}{{#ifeq:{{{2}}}|****|#8f0|}}{{#ifeq:{{{2}}}|*****|#0f0|}}"><span style="font-size:9px;font-weight:bold;padding-right:1px">{{#ifeq:{{{1}}}|2.0|2.0 (RC)|{{{1}}}}}</span></div></includeonly>