Difference between revisions of "Mark online"

From cm2.liecourt.com
Line 11: Line 11:
  
 
{{#ifeq: {{#var: @onlinerecently}} | Yes <!--  
 
{{#ifeq: {{#var: @onlinerecently}} | Yes <!--  
  -->| {{#vardefine:@buttontext | {{Fa|toggle-off}} Mark offline}}<!--  
+
  -->|<!--
  -->| {{Fa|toggle-on}} Mark online<!--  
+
-->{{#vardefine:@buttontext | {{Fa|toggle-off}} Mark offline}}<!--  
 +
  -->{{#vardefine:@marktimestamp | now - 1 hour}}<!--
 +
-->|<!--
 +
-->{{#vardefine:@buttontext | {{Fa|toggle-on}} Mark online}}<!--
 +
-->{{#vardefine:@marktimestamp | now }}<!--
 
  -->}}
 
  -->}}
{{#vardefine:@timestamp|<nowiki>{{subst:#time: r | now}}</nowiki>}}
+
{{#vardefine:@timestamp|<nowiki>{{subst:#time: r | </nowiki>{{@var:marktimestamp}}<nowiki>}}</nowiki>}}
  
 
<wsform action="addToWiki"><!--   
 
<wsform action="addToWiki"><!--   

Revision as of 12:11, 9 June 2021

Expression error: Unexpected < operator.