Difference between revisions of "Template:Ottd"

From GRFSpecs
Jump to navigationJump to search
(fixes)
(Improve appearance)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="background-color:lightblue; outline:1px solid black">[[File:Openttd_icon.png]]'''{{{1}}}'''</span></includeonly><noinclude>
+
<includeonly><span title="{{#ifeq:{{{1|??}}}|no|Not supported by OpenTTD|Supported by OpenTTD {{{1|??}}}{{#ifeq:{{{2| }}}| | |&nbsp;({{{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| }}}| | |&nbsp;({{{2|}}})}}]]{{#ifeq:{{{1|??}}}| ||'''{{{1|??}}}'''}}}}</span></includeonly><noinclude>
Template for a small icon indicating support for OpenTTD or not.
+
Template for a small icon indicating support by OpenTTD or not.
 
{| |-
 
{| |-
 
| No support || <nowiki>{{ottd|no}}</nowiki> || {{ottd|no}}
 
| No support || <nowiki>{{ottd|no}}</nowiki> || {{ottd|no}}
  +
|-
  +
| Support, version unknown || <nowiki>{{ottd}}</nowiki> || {{ottd}}
 
|-
 
|-
 
| ⩾ 0.6 || <nowiki>{{ottd|0.6}}</nowiki> || {{ottd|0.6}}
 
| ⩾ 0.6 || <nowiki>{{ottd|0.6}}</nowiki> || {{ottd|0.6}}
Line 12: 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 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 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.
 
</noinclude>
 
</noinclude>

Latest revision as of 18:44, 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 OpenTTD 0.60.6
⩾ 0.7 {{ottd|0.7}} Supported by OpenTTD 0.70.7
⩾ 1.0 {{ottd|1.0}} Supported by OpenTTD 1.01.0
⩾ 1.1 {{ottd|1.1}} Supported by OpenTTD 1.11.1
⩾ 1.2 {{ottd|1.2|r21432}} Supported by OpenTTD 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.