Difference between revisions of "Template:Before"

From Conservapedia
Jump to navigation Jump to search
(Ed Poor moved page Template:Before to Template:Before anniversary: Same thing each year)
 
(Year = 1st, month = 2nd, and day = 3rd parameter)
Line 1: Line 1:
−
#REDIRECT [[Template:Before anniversary]]
+
<includeonly>{{#ifexpr:
 +
{{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>
 +
[[Category:Navigation box]]

Revision as of 13:20, January 15, 2017

See examples in template talk:before