Template:Age in days hyphen: Difference between revisions

From JJSWiki
Jump to navigation Jump to search
(Debugging)
No edit summary
Line 16: Line 16:
|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}}}}

Revision as of 05:53, 17 March 2014

Expression error: Unexpected < operator.

Age in days

|year1 = {{{1}}}

|month1 =

|day1 =

|year2 = 2024

|month2 = 11

|day2 = 25