Difference between revisions of "Template:Patch notes"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(korean patch)
old>Realpsojed
Line 1: Line 1:
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210519}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210519}}
| 0.6.1.10 (Equipment Update II)
| 0.6.1.10
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210307}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210307}}
| 0.6.1.9 (Equipment Update II)
| 0.6.1.9
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210206}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210206}}
| 0.6.1.8 (Equipment Update II)
| 0.6.1.8
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210119}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210119}}
| 0.6.1.6 (Equipment Update II)
| 0.6.1.6
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210108}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20210108}}
| 0.6.1.5 (Equipment Update II)
| 0.6.1.5
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201226}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201226}}
| 0.6.1.2 (Equipment Update II)
| 0.6.1.2
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201225}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201225}}
| 0.6.1.0 (Equipment Update II)
| 0.6.1.0
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201104}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201104}}
| 0.6.0.17 (Way Forward update)
| 0.6.0.17
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201024}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201024}}
| 0.6.0.16 (Way Forward update)
| 0.6.0.16
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201020}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201020}}
| 0.6.0.12 (Way Forward update)
| 0.6.0.12
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201001}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20201001}}
| 0.6.0.9 (Way Forward update)
| 0.6.0.9
|
|
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200928}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200928}}
| 0.6.0.7 (Way Forward update)
| 0.6.0.7
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200924}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200924}}
| 0.6.0.0 (Way Forward update)
| 0.6.0.0
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200725}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200725}}
| 0.5.9.6 (Bolt Thrower update)
| 0.5.9.6
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200618}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200618}}
| 0.5.9.4 (Bolt Thrower update)
| 0.5.9.4
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200606}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200606}}
| 0.5.9.3 (Bolt Thrower update)
| 0.5.9.3
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200603}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200603}}
| 0.5.9.2 (Bolt Thrower update)
| 0.5.9.2
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200602}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200602}}
| 0.5.9.0 (Bolt Thrower update)
| 0.5.9.0
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200509}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200509}}
| 0.5.8.8 (Trollslayer update)
| 0.5.8.8
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200430}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200430}}
| 0.5.8.7 (Trollslayer update)
| 0.5.8.7
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200429}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200429}}
| 0.5.8.6 (Trollslayer update)
| 0.5.8.6
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200417}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200417}}
| 0.5.8.4 (Trollslayer update)
| 0.5.8.4
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200415}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200415}}
| 0.5.8.2 (Trollslayer update)
| 0.5.8.2
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200414}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200414}}
| 0.5.8.0 (Trollslayer update)
| 0.5.8.0
|  
|  
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200220}}
{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|20200220}}

Revision as of 13:18, 30 May 2021

0.6.1.10

Template-info.png Documentation

This one is a little rough. Basically this template takes the latest edit timestamp, converts it to a number using the #time function and then we compare that number with the date when a patch was released. I'm inputting the patch dates manually, and I take them from the News section on Steam.

If the last page revision happened AFTER the patch date (ie. REVISIONTIMESTAMP > patch date is true), it returns the patch number.

If the last page revision happened BEFORE the patch date (ie. REVISIONTIMESTAMP > patch is false), it moves on to previous patch date and runs the same check again.


Adding new patch:

1) Edit the Template:Patch notes page, add these lines on a new line after ''Last edited during patch:''

{{#ifexpr: {{#time: xNU|{{REVISIONTIMESTAMP}}}} > {{#time: xNU|date of patch release, using format YYYYMMDD}}
| patch number
| 

2) Edit the patch number and date of patch release in the lines you just added. Example: Patch 0.5.7.18 was released on 20.02.2020, so the date should be 20200220

3) Then find the line with many brackets:

}} }} }} }} }} }}

4) Now add new brackets at the end.

 }}