Difference between revisions of "Template:Ttdp"

From GRFSpecs
Jump to navigationJump to search
(add image captions)
(Improve appearance)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><span style="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|}}})}}]]{{#ifeq:{{{1|??}}}| ||'''{{{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.
 
{| |-
 
{| |-
 
| No support || <nowiki>{{ttdp|no}}</nowiki> || {{ttdp|no}}
 
| No support || <nowiki>{{ttdp|no}}</nowiki> || {{ttdp|no}}
  +
|-
  +
| Support, version unknown || <nowiki>{{ttdp}}</nowiki> || {{ttdp}}
 
|-
 
|-
 
| ⩾ 2.0 || <nowiki>{{ttdp|2.0}}</nowiki> || {{ttdp|2.0}}
 
| ⩾ 2.0 || <nowiki>{{ttdp|2.0}}</nowiki> || {{ttdp|2.0}}
 
|-
 
|-
| ⩾ 2.5 || <nowiki>{{ttdp|2.5}}</nowiki> || {{ttdp|2.5}}
+
| ⩾ 2.5 || <nowiki>{{ttdp|2.5|2.0.1 alpha 3}}</nowiki> || {{ttdp|2.5|2.0.1 alpha 3}}
 
|-
 
|-
| ⩾ 2.6 || <nowiki>{{ttdp|2.6}}</nowiki> || {{ttdp|2.6}}
+
| ⩾ 2.6 || <nowiki>{{ttdp|2.6|r2359}}</nowiki> || {{ttdp|2.6|r2359}}
 
|-
 
|-
 
|}
 
|}
Please only use version number of stable releases. You can put explicit revision numbers in the detailed description, but not in the icon. 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.
+
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".
 
</noinclude>
 
</noinclude>

Latest revision as of 18:43, 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.02.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".