Difference between revisions of "Template:PageVeryOldBanner"

From Goon Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: currentTime|{{#time: U}}}}
{{#ifexpr: {{#expr: {{#time: U}} - {{#time: U|{{REVISIONTIMESTAMP:{{PAGENAME}}}}}} }} > 3600 |  
{{#vardefine: pageTime|{{#time: U|{{REVISIONTIMESTAMP:{{PAGENAME}}}}}}}}
  This page has not been edited for more then 1 hour. | Less then 1 hour
{{#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> |  
    }}

Latest revision as of 13:08, 29 May 2023

Less then 1 hour