Difference between revisions of "Template:Ottd"
From GRFSpecs
Jump to navigationJump to search (Improve appearance of border) |
(Improve appearance) |
||
(6 intermediate revisions by one other user not shown) | |||
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|Not supported by OpenTTD]]|[[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|??}}}{{#ifeq:{{{2| }}}| | | ({{{2|}}})}}]]{{#ifeq:{{{1|??}}}| ||'''{{{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. |
||
{| |- |
{| |- |
||
Line 14: | Line 14: | ||
| ⩾ 1.1 || <nowiki>{{ottd|1.1}}</nowiki> || {{ottd|1.1}} |
| ⩾ 1.1 || <nowiki>{{ottd|1.1}}</nowiki> || {{ottd|1.1}} |
||
|- |
|- |
||
− | | ⩾ 1.2 || <nowiki>{{ottd|1.2}}</nowiki> || {{ottd|1.2}} |
+ | | ⩾ 1.2 || <nowiki>{{ottd|1.2|r21432}}</nowiki> || {{ottd|1.2|r21432}} |
|- |
|- |
||
|} |
|} |
||
− | Please only use version number of stable releases. You can put explicit revision numbers in the |
+ | 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. |
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. |
Latest revision as of 18:44, 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.