Difference between revisions of "Template:PageVeryOldBanner"

From Goon Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#vardefine: currentTime|{{#time: U}}}}
{{#ifeq:{{#expr: {{#time: U}} - {{#time: U|{{REVISIONTIMESTAMP:{{PAGENAME}}}}}}}} > 7776000 | true | false |  
{{#vardefine: pageTime|{{#time: U|{{REVISIONTIMESTAMP:{{PAGENAME}}}}}}}}
     <div class="not-edited-banner">This page has not been edited for 3 months.</div>
{{#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:26, 29 May 2023

This page has not been edited for 3 months.