Difference between revisions of "Template:Program Version"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m
 
(14 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! scope="row"; style=width:10em | Version
+
! scope="row"; style=width:8em | Version
 
| style=width:50em | {{Last word | 1={{PAGENAME}}}}{{#if: {{{patch|}}} | .{{{patch}}} |}}{{#if: {{{pre-release-status|}}} | -{{{pre-release-status}}} |}}
 
| style=width:50em | {{Last word | 1={{PAGENAME}}}}{{#if: {{{patch|}}} | .{{{patch}}} |}}{{#if: {{{pre-release-status|}}} | -{{{pre-release-status}}} |}}
 
|-
 
|-
Line 14: Line 14:
 
| {{{changes}}}
 
| {{{changes}}}
 
|}
 
|}
[[Category:Program Versions|v{{#sub:{{PAGENAME}}|8|1}}{{#switch: 1
+
[[Category:Program Versions|
| {{#ifeq:{{#sub:{{PAGENAME}}|10}}|0|1|0}} = 00
+
{{#ifexpr: {{#len:{{#explode:{{#explode:{{PAGENAME}}| |1}}|.}}|0}} = 1
  | {{#ifeq:{{#sub:{{PAGENAME}}|10}}|1|1|0}} = 01
+
  | 0{{#arrayget:{{#explode:{{#explode:{{PAGENAME}}| |1}}|.}}|0}}
  | {{#ifeq:{{#sub:{{PAGENAME}}|10}}|2|1|0}} = 02
+
  | {{#arrayget:{{#explode:{{#explode:{{PAGENAME}}| |1}}|.}}|0}}
| {{#ifeq:{{#sub:{{PAGENAME}}|10}}|3|1|0}} = 03
+
}}
| {{#ifeq:{{#sub:{{PAGENAME}}|10}}|4|1|0}} = 04
+
{{#ifexpr: {{#len:{{#explode:{{#explode:{{PAGENAME}}| |1}}|.}}|1}} = 1
| {{#ifeq:{{#sub:{{PAGENAME}}|10}}|5|1|0}} = 05
+
  | 0{{#arrayget:{{#explode:{{#explode:{{PAGENAME}}| |1}}|.}}|1}}
  | {{#ifeq:{{#sub:{{PAGENAME}}|10}}|6|1|0}} = 06
+
  | {{#arrayget:{{#explode:{{#explode:{{PAGENAME}}| |1}}|.}}|1}}
| {{#ifeq:{{#sub:{{PAGENAME}}|10}}|7|1|0}} = 07
+
}}
  | {{#ifeq:{{#sub:{{PAGENAME}}|10}}|8|1|0}} = 08
+
]]
| {{#ifeq:{{#sub:{{PAGENAME}}|10}}|9|1|0}} = 09
 
| #default = {{#sub:{{PAGENAME}}|10}}
 
}}]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 23:07, 7 January 2026