Difference between revisions of "Template:Before"

From Conservapedia
Jump to navigation Jump to search
m (put formula on one line)
m (trim extra <noinclude>)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<includeonly>{{#ifexpr: {{CURRENTYEAR}} < {{{1}}} or (  {{CURRENTYEAR}} = {{{1}}} and ( {{CURRENTMONTH}} < {{{2}}} or ( {{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}} ) ) ) | {{{3}}} | {{{4}}} }}</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