Difference between revisions of "Mark online"

From cm2.liecourt.com
Line 5: Line 5:
 
   -->{{#vardefine:@onehourago-unixtimestamp|{{#time: U | now - 1 hour }} }}<!--  
 
   -->{{#vardefine:@onehourago-unixtimestamp|{{#time: U | now - 1 hour }} }}<!--  
 
   -->{{#ifexpr: {{#var:@useronlinesince-unixtimestamp}} > {{#var:@onehourago-unixtimestamp}}<!--  
 
   -->{{#ifexpr: {{#var:@useronlinesince-unixtimestamp}} > {{#var:@onehourago-unixtimestamp}}<!--  
   -->|Online online recently<!--
+
   -->|{{#vardefine:@onlinerecently|Yes}}<!--
   -->|User not online recently<!--
+
   -->|{{#vardefine:@onlinerecently|No}}<!--
 
   -->}}<!--
 
   -->}}<!--
 
  -->}}
 
  -->}}

Revision as of 11:56, 9 June 2021

Expression error: Unexpected < operator.


{{subst:#time: r | now}}