Difference between revisions of "Template:Before"

From Conservapedia
Jump to navigation Jump to search
(Want it to increment at midnight (Eastern Time))
m (trim extra <noinclude>)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
−
<includeonly>{{#expr: -( {{#time:U}} - {{#time:U|{{{1}}}-{{{2}}}-{{{3}}} -5}} ) / 86400 +0.5 round 0}}</includeonly><noinclude>
+
<includeonly>{{#ifexpr: {{days before |{{{1}}}|{{{2}}}|{{{3}}} }} > 0 | {{{4}}} | {{{5}}} }}</includeonly><noinclude>
 
See examples in [[template talk:before]]</noinclude>
 
See examples in [[template talk:before]]</noinclude>
 
[[Category:Navigation box]]
 
[[Category:Navigation box]]

Latest revision as of 12:35, January 16, 2017

See examples in template talk:before