Difference between revisions of "Template:Ottdp"

From GRFSpecs
Jump to navigationJump to search
m (test)
(Make openttd also default to 'not implemented')
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="background-color:lightblue; outline:1px solid {{#ifeq:{{{1|no}}}|no|red|black}}">{{#ifeq:{{{1|no}}}|no|[[File:Openttd_icon_crossed.png|Not supported by OpenTTD]]|[[File:Openttd_icon.png|Supported by OpenTTD]]'''{{{1|no}}}'''}}</span><span style="background-color:orange; outline:1px solid {{
 
#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}}}'''
 
#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>
 
}}</span></includeonly>
Line 5: Line 5:
 
Template for a small icon indicating support by OpenTTD or not.
 
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 (r13923)|no}}</nowiki> || {{ottdp|0.6 (r13923)|no}}

Revision as of 10:00, 23 July 2011


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

No support {{ottdp}} Not supported by OpenTTDNot supported by TTDPatch
Support, version unknown {{ottdp| |}} Supported by OpenTTD' Supported by TTDPatch'
⩾ OpenTTD 0.6 (r13923), No TTDPatch {{ottdp|0.6 (r13923)|no}} Supported by OpenTTD0.6 (r13923)Not supported by TTDPatch
⩾ 0.7 {{ottdp|0.7}} Supported by OpenTTD0.7Not supported by TTDPatch
⩾ no OpenTTD, TTDPatch 2.5 beta 9 {{ottdp|no|2.5 (b9)}} Not supported by OpenTTDSupported by TTDPatch2.5 (b9)
⩾ 1.1 {{ottdp|1.1}} Supported by OpenTTD1.1Not supported by TTDPatch
⩾ 1.2 {{ottdp|1.2}} Supported by OpenTTD1.2Not supported by TTDPatch

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.

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.