Difference between revisions of "Template:Before"

From Conservapedia
Jump to navigation Jump to search
(Year = 1st, month = 2nd, and day = 3rd parameter)
m (trim extra <noinclude>)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<includeonly>{{#ifexpr:  
+
<includeonly>{{#ifexpr: {{days before |{{{1}}}|{{{2}}}|{{{3}}} }} > 0 | {{{4}}} | {{{5}}} }}</includeonly><noinclude>
−
{{CURRENTYEAR}} < {{{1}}} or (
 
−
  {{CURRENTYEAR}} = {{{1}}} and (
 
−
    {{CURRENTMONTH}} < {{{2}}} or (
 
−
      {{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}}
 
−
    )
 
−
  )
 
−
)
 
−
| {{{3}}} | {{{4}}} }}</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