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}}


{{#ifeq: {{{patch}}} | {{#var:currentPatch}} | {{#ifeq: {{{hotfix}}} | {{#var:currentHotfix}} | {{#vardefine:color|green}} | {{#vardefine:color|orange}}}} | {{#vardefine:color|red}}}}
{{#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!}}}}
{{{pageName}}}
{{#switch:{{lc:{{{pageName}}}}}
|merchants = <span style="color:{{#var:color}}">Page is {{#var:status}}</span>
|#default = <span style="color:red">Page Update Status is Unknown</span>
}}


<span style="color:{{#var:color}}">Page is {{#var:status}}</span>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{PageUpdateStatus|merchants|6.2|22}}
{{PageUpdateStatus|6.2|21}}
 
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"pageName": {
"label": "Page Name",
"type": "string",
"required": true
},
"patch": {
"patch": {
"label": "Patch Number",
"label": "Patch Number",
"type": "string",
"type": "number",
"required": true
"required": true
},
},
"hotfix": {
"hotfix": {
"label": "Hotfix #",
"label": "Hotfix #",
"type": "string",
"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.

Template parameters

ParameterDescriptionTypeStatus
Patch Numberpatch

no description

Numberrequired
Hotfix #hotfix

no description

Numberrequired