Template:Age in days hyphen: Difference between revisions

From JJSWiki
Jump to navigation Jump to search
(Hopefully I've made it correctly use the current date for default of second, since it freaks out if we just tell it blanks.)
 
m (4 revisions imported)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
|month1 = {{#explode:{{{1}}}|-|1}}
|month1 = {{#explode:{{{1}}}|-|1}}
|day1  = {{#explode:{{{1}}}|-|2}}
|day1  = {{#explode:{{{1}}}|-|2}}
|year2  = {{#if:{{{2}}}| {{#explode:{{{2}}}|-|0}} | {{CURRENTYEAR}}}}
|year2  = {{#if:{{{2|}}}| {{#explode:{{{2}}}|-|0}} | {{CURRENTYEAR}}}}
|month2 = {{#if:{{{2}}}| {{#explode:{{{2}}}|-|1}} | {{CURRENTMONTH}}}}
|month2 = {{#if:{{{2|}}}| {{#explode:{{{2}}}|-|1}} | {{CURRENTMONTH}}}}
|day2  = {{#if:{{{2}}}| {{#explode:{{{2}}}|-|2}} | {{CURRENTDAY}}}}
|day2  = {{#if:{{{2|}}}| {{#explode:{{{2}}}|-|2}} | {{CURRENTDAY}}}}
}}<noinclude>[[Category:Templates]]</noinclude>
}}<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 21:10, 16 April 2023

Expression error: Unexpected < operator.