Difference between revisions of "Template:Ottd"

From GRFSpecs
Jump to navigationJump to search
(try putting the hoover text in the whole span)
(image still needs description)
Line 1: Line 1:
<includeonly><span title="{{#ifeq:{{{1|??}}}|no|Not supported by OpenTTD|Supported by OpenTTD {{{1|??}}}{{#ifeq:{{{2| }}}| | | ({{{2|}}})}}}}" style="padding: 1px;white-space:nowrap;background-color:lightblue; outline:1px solid {{#ifeq:{{{1|??}}}|no|red|black}}">{{#ifeq:{{{1|??}}}|no|[[File:Openttd_icon_crossed.png]]|[[File:Openttd_icon.png|Supported by OpenTTD]]'''{{{1|??}}}'''}}</span></includeonly><noinclude>
+
<includeonly><span title="{{#ifeq:{{{1|??}}}|no|Not supported by OpenTTD|Supported by OpenTTD {{{1|??}}}{{#ifeq:{{{2| }}}| | | ({{{2|}}})}}}}" style="padding: 1px;white-space:nowrap;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></includeonly><noinclude>
 
Template for a small icon indicating support by OpenTTD or not.
 
Template for a small icon indicating support by OpenTTD or not.
 
{| |-
 
{| |-

Revision as of 11:10, 23 July 2011

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

No support {{ottd|no}} Not supported by OpenTTD
Support, version unknown {{ottd}} Supported by OpenTTD??
⩾ 0.6 {{ottd|0.6}} Supported by OpenTTD0.6
⩾ 0.7 {{ottd|0.7}} Supported by OpenTTD0.7
⩾ 1.0 {{ottd|1.0}} Supported by OpenTTD1.0
⩾ 1.1 {{ottd|1.1}} Supported by OpenTTD1.1
⩾ 1.2 {{ottd|1.2|r21432}} Supported by OpenTTD1.2

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 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.