Difference between revisions of "Template:Ttdp"

From GRFSpecs
Jump to navigationJump to search
(fix examples)
(make image hover text the same as for the span)
Line 1: Line 1:
<includeonly><span title="{{#ifeq:{{{1|??}}}|no|Not supported by TTDPatch|Supported by TTDPatch {{{1|??}}}{{#ifeq:{{{2| }}}| | |&nbsp;({{{2|}}})}}}}" style="padding: 1px; white-space:nowrap;background-color:orange; outline:1px solid {{#ifeq:{{{1|?}}}|no|red|black}}">{{#ifeq:{{{1|?}}}|no|[[File:Ttdpatch_icon_crossed.png|Not supported by TTDPatch]]|[[File:Ttdpatch_icon.png|Supported by TTDPatch]]'''{{{1|??}}}'''}}</span></includeonly><noinclude>
+
<includeonly><span title="{{#ifeq:{{{1|??}}}|no|Not supported by TTDPatch|Supported by TTDPatch {{{1|??}}}{{#ifeq:{{{2| }}}| | |&nbsp;({{{2|}}})}}}}" style="padding: 1px; white-space:nowrap;background-color:orange; outline:1px solid {{#ifeq:{{{1|?}}}|no|red|black}}">{{#ifeq:{{{1|?}}}|no|[[File:Ttdpatch_icon_crossed.png|Not supported by TTDPatch]]|[[File:Ttdpatch_icon.png|Supported by TTDPatch {{{1|??}}}{{#ifeq:{{{2| }}}| | |&nbsp;({{{2|}}})}}}}]]'''{{{1|??}}}'''}}</span></includeonly><noinclude>
 
Template for a small icon indicating support by TTDPatch or not.
 
Template for a small icon indicating support by TTDPatch or not.
 
{| |-
 
{| |-

Revision as of 12:01, 23 July 2011

Template for a small icon indicating support by TTDPatch or not.

No support {{ttdp|no}} Not supported by TTDPatch
Support, version unknown {{ttdp}} Supported by TTDPatch ??}}??
⩾ 2.0 {{ttdp|2.0}} Supported by TTDPatch 2.0}}2.0
⩾ 2.5 {{ttdp|2.5|2.0.1 alpha 3}} Supported by TTDPatch 2.5 (2.0.1 alpha 3)}}2.5
⩾ 2.6 {{ttdp|2.6|r2359}} Supported by TTDPatch 2.6 (r2359)}}2.6

Please only use version number of stable releases. You can put explicit revision numbers optionally in the second argument. It will only show in the hoover text of the image though. Also, never use the term "nightly", use the expected number of the next release for features which are not yet part of a stable release.

Note that the next stable release to "2.0.1 alpha xy" is actually "2.5".