Difference between revisions of "Template:PageVeryOldBanner"

From Goon Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#ifexpr: {{#expr: {{#time: U}} - {{REVISIONTIMESTAMP:{{PAGENAME}}}} }} > 7776000 | 1 | 0}}
{{#vardefine: currentTime|{{#time: U}}}}
{{#ifeq: {{{1|0}}} | 1 | <div class="not-edited-banner">This page has not been edited for 3 months.</div> | }}
{{#vardefine: pageTime|{{#time: U|{{REVISIONTIMESTAMP:{{PAGENAME}}}}}}}}
{{#vardefine: timeDiff|{{#expr: {{#var:currentTime}} - {{#var:pageTime}} }} }}
{{#ifexpr: {{#var:timeDiff}} > 7776000 |  
    <div class="not-edited-banner">This page has not been edited for 3 months.</div> |  
    }}

Revision as of 10:25, 29 May 2023

{{#vardefine: currentTime|1732418916}} {{#vardefine: pageTime|1732418916}} {{#vardefine: timeDiff|Expression error: Unrecognized punctuation character "{". }} Expression error: Unrecognized punctuation character "{".