Template:VersionRevision: Difference between revisions

Jump to navigation Jump to search
Hrm, this is still broken. Need to look at it more closely, a nice xmas project.
No edit summary
(Hrm, this is still broken. Need to look at it more closely, a nice xmas project.)
Line 28: Line 28:
|{{#expr:<!--basically, we're doing... (rev value of the base revision) + (build number)-->
|{{#expr:<!--basically, we're doing... (rev value of the base revision) + (build number)-->
{{#switch:{{#regex:{{{1}}}|/^[0-9]\.[0-9]/}}<!--switching on the first part of the rev (3.0, 4.0, etc)-->
{{#switch:{{#regex:{{{1}}}|/^[0-9]\.[0-9]/}}<!--switching on the first part of the rev (3.0, 4.0, etc)-->
|2.0=5350
|3.0=7617
|3.0=7617
|3.5=8528
|3.5=8528

Navigation menu