Difference between revisions of "Calculation tools/version"
From Kerbal Space Program Wiki
m (+cat;) |
|||
Line 1: | Line 1: | ||
<noinclude>{| class="wikitable" | <noinclude>{| class="wikitable" | ||
|- | |- | ||
− | | Current: | + | | {{Lang|en=Current|ru=Последняя версия}}: |
</noinclude>| style="{{#switch: {{#expr: {{Check version/Rev}} - {{Check version/Rev|{{{1|<includeonly>0.0</includeonly><noinclude>{{Check version/Cur}}</noinclude>}}}}}}} | </noinclude>| style="{{#switch: {{#expr: {{Check version/Rev}} - {{Check version/Rev|{{{1|<includeonly>0.0</includeonly><noinclude>{{Check version/Cur}}</noinclude>}}}}}}} | ||
|0=background-color:#e9e9f9; | |0=background-color:#e9e9f9; |
Revision as of 14:21, 16 October 2014
Current: | 1.12.2 |
It adds a field colored depending on how current the version is. It uses {{Check version/Rev}} to determine the “distance” between two versions.
- The current version obtained by {{Check version/Cur}}:
- The previous three versions: No coloring
- All other (if not set, or future version too):
It has only one mandatory parameter. Additional text can be added directly after it.