Difference between revisions of "Template:Ottdp"

From GRFSpecs
Jump to navigationJump to search
m (test)
(consistent examples)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="background-color:lightblue; outline:1px solid {{#ifeq:{{{1|??}}}|no|red|black}}">{{#ifeq:{{{1|??}}}|no|[[File:Openttd_icon_crossed.png|Not supported by OpenTTD]]|[[File:Openttd_icon.png|Supported by OpenTTD]]'''{{{1|??}}}'''}}</span><span style="background-color:orange; outline:1px solid {{
+
<includeonly><span style="white-space:nowrap">{{ottd|{{{1|no}}}|{{{ottdrev|}}}}}&nbsp;{{ttdp|{{{2|no}}}|{{{ttdprev|}}}}}</span></includeonly><noinclude>
 
Template for a small icon indicating support by OpenTTD and TTDPatch or not.
#ifeq:{{{2|no}}}|no|red|black}}">{{#ifeq:{{{2|no}}}|no|[[File:Ttdpatch_icon_crossed.png|Not supported by TTDPatch]]|[[File:Ttdpatch_icon.png|Supported by TTDPatch]]'''{{{2}}}'''
 
}}</span></includeonly>
 
<noinclude>
 
Template for a small icon indicating support by OpenTTD or not.
 
 
{| |-
 
{| |-
| No support || <nowiki>{{ottdp|no|no}}</nowiki> || {{ottdp|no|no}}
+
| No support || <nowiki>{{ottdp}}</nowiki> || {{ottdp}}
 
|-
 
|-
| Support, version unknown || <nowiki>{{ottdp}}</nowiki> || {{ottdp}}
+
| Support, version unknown || <nowiki>{{ottdp|??|??}}</nowiki> || {{ottdp|??|??}}
 
|-
 
|-
| ⩾ OpenTTD 0.6 (r13923), No TTDPatch || <nowiki>{{ottdp|0.6 (r13923)|no}}</nowiki> || {{ottdp|0.6 (r13923)|no}}
+
| ⩾ OpenTTD 0.6 (r13923), No TTDPatch || <nowiki>{{ottdp|0.6|ottdrev=r13923}}</nowiki> || {{ottdp|0.6|ottdrev=r13923}}
 
|-
 
|-
| ⩾ 0.7 || <nowiki>{{ottdp|0.7}}</nowiki> || {{ottdp|0.7}}
+
| ⩾ OpenTTD 0.7, No TTDPatch || <nowiki>{{ottdp|0.7}}</nowiki> || {{ottdp|0.7}}
 
|-
 
|-
| ⩾ no OpenTTD, TTDPatch 2.5 beta 9 || <nowiki>{{ottdp|no|2.5 (b9)}}</nowiki> || {{ottdp|no|2.5 (b9)}}
+
| ⩾ OpenTTD 0.6 (r13923), TTDPatch 2.0.1 alpha 3 || <nowiki>{{ottdp|0.6|2.5|ottdrev=r13923|ttdprev=2.0.1 alpha 3}}</nowiki> || {{ottdp|0.6|2.5|ottdrev=r13923|ttdprev=2.0.1 alpha 3}}
 
|-
 
|-
| ⩾ 1.1 || <nowiki>{{ottdp|1.1}}</nowiki> || {{ottdp|1.1}}
+
| ⩾ no OpenTTD, TTDPatch 2.5 beta 9 || <nowiki>{{ottdp|no|2.5|ttdprev=beta 9}}</nowiki> || {{ottdp|no|2.5|ttdprev=beta 9}}
 
|-
 
|-
| ⩾ 1.2 || <nowiki>{{ottdp|1.2}}</nowiki> || {{ottdp|1.2}}
+
| ⩾ OpenTTD 1.1, No TTDPatch || <nowiki>{{ottdp|1.1}}</nowiki> || {{ottdp|1.1}}
  +
|-
  +
| ⩾ OpenTTD 1.2, No TTDPatch || <nowiki>{{ottdp|1.2}}</nowiki> || {{ottdp|1.2}}
 
|-
 
|-
 
|}
 
|}
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 in the optional parameters "ottdrev" and "ttdprev", they will appear in the hoover text. 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 NewGRF support before version 0.6 had misbehaviours in a general sense, which makes it hard to decide whether something was supported, or only worked in some cases. Thus we just do not document anything that might also have worked before 0.6.
 
Note, that NewGRF support before version 0.6 had misbehaviours in a general sense, which makes it hard to decide whether something was supported, or only worked in some cases. Thus we just do not document anything that might also have worked before 0.6.
  +
  +
Note that the next stable release to "TTDPatch 2.0.1 alpha xy" is actually "TTDPatch 2.5".
 
</noinclude>
 
</noinclude>

Latest revision as of 12:18, 23 July 2011

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

No support {{ottdp}} Not supported by OpenTTD Not supported by TTDPatch
Support, version unknown {{ottdp|??|??}} Supported by OpenTTD ???? Supported by TTDPatch ????
⩾ OpenTTD 0.6 (r13923), No TTDPatch {{ottdp|0.6|ottdrev=r13923}} Supported by OpenTTD 0.6 (r13923)0.6 Not supported by TTDPatch
⩾ OpenTTD 0.7, No TTDPatch {{ottdp|0.7}} Supported by OpenTTD 0.70.7 Not supported by TTDPatch
⩾ OpenTTD 0.6 (r13923), TTDPatch 2.0.1 alpha 3 {{ottdp|0.6|2.5|ottdrev=r13923|ttdprev=2.0.1 alpha 3}} Supported by OpenTTD 0.6 (r13923)0.6 Supported by TTDPatch 2.5 (2.0.1 alpha 3)2.5
⩾ no OpenTTD, TTDPatch 2.5 beta 9 {{ottdp|no|2.5|ttdprev=beta 9}} Not supported by OpenTTD Supported by TTDPatch 2.5 (beta 9)2.5
⩾ OpenTTD 1.1, No TTDPatch {{ottdp|1.1}} Supported by OpenTTD 1.11.1 Not supported by TTDPatch
⩾ OpenTTD 1.2, No TTDPatch {{ottdp|1.2}} Supported by OpenTTD 1.21.2 Not supported by TTDPatch

Please only use version number of stable releases. You can put explicit revision numbers in the optional parameters "ottdrev" and "ttdprev", they will appear in the hoover text. 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 NewGRF support before version 0.6 had misbehaviours in a general sense, which makes it hard to decide whether something was supported, or only worked in some cases. Thus we just do not document anything that might also have worked before 0.6.

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