From Dark and Darker Wiki
(Created page with "<includeonly> {{#vardefine:currentPatch|6.2}} {{#vardefine:currentHotfix|22}} {{#ifeq: {{{patch}}} | {{#var:currentPatch}} | {{#ifeq: {{{hotfix}}} | {{#var:currentHotfix}} | {{#vardefine:color|green}} | {{#vardefine:color|orange}}}} | {{#vardefine:color|red}}}} {{#ifeq: {{#var:color}} | green | {{#vardefine:status|up to date!}} | {{#vardefine:status|out of date!}}}} {{{pageName}}} {{#switch:{{lc:{{{pageName}}}}} |merchants = <span style="color:{{#var:color}}">Page is {...") |
m (WIP) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
{{#vardefine:currentHotfix|22}} | {{#vardefine:currentHotfix|22}} | ||
{{# | {{#vardefine:color|green}} | ||
{{#ifexpr: {{{patch}}} < {{#var:currentPatch}} | {{#vardefine:color|red}}}} | |||
{{#ifexpr: {{{patch}}} = {{#var:currentPatch}} and {{{hotfix}}} < {{#var:currentHotfix}} | {{#vardefine:color|orange}}}} | |||
{{#ifeq: {{#var:color}} | green | {{#vardefine:status|up to date!}} | {{#vardefine:status|out of date!}}}} | {{#ifeq: {{#var:color}} | green | {{#vardefine:status|up to date!}} | {{#vardefine:status|out of date!}}}} | ||
<span style="color:{{#var:color}}">Page is {{#var:status}}</span> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{PageUpdateStatus | {{PageUpdateStatus|6.2|21}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"patch": { | "patch": { | ||
"label": "Patch Number", | "label": "Patch Number", | ||
"type": " | "type": "number", | ||
"required": true | "required": true | ||
}, | }, | ||
"hotfix": { | "hotfix": { | ||
"label": "Hotfix #", | "label": "Hotfix #", | ||
"type": " | "type": "number", | ||
"required": true | "required": true | ||
} | } |
Latest revision as of 23:32, 9 December 2023
Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
Page is up to date!
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Patch Number | patch | no description | Number | required |
Hotfix # | hotfix | no description | Number | required |