Difference between revisions of "Template:Ottd"
From GRFSpecs
Jump to navigationJump to search (second optional argument for a detailed version / revision number) |
(try putting the hoover text in the whole span) |
||
Line 1: | Line 1: | ||
− | <includeonly><span 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 |
+ | <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> |
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:09, 23 July 2011
Template for a small icon indicating support by OpenTTD or not.
No support | {{ottd|no}} | |
Support, version unknown | {{ottd}} | ?? |
⩾ 0.6 | {{ottd|0.6}} | 0.6 |
⩾ 0.7 | {{ottd|0.7}} | 0.7 |
⩾ 1.0 | {{ottd|1.0}} | 1.0 |
⩾ 1.1 | {{ottd|1.1}} | 1.1 |
⩾ 1.2 | {{ottd|1.2|r21432}} | 1.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.