Template:Age/CompareDate: Difference between revisions

From Star Trek Equilism
m (created template)
 
m (corrected)
Line 1: Line 1:
{{#ifexpr:{{CURRENTYEAR}} <= {{age/YearConvert|{{age/Year|{{{1}}}}}}}|{{#ifexpr:{{CURRENTYEAR}} < {{age/YearConvert|{{age/Year|{{{1}}}}}}}|FutureError|{{#ifexpr:{{CURRENTYEAR}} = {{age/YearConvert|{{age/Year|{{{1}}}}}}}|{{#ifexpr:{{CURRENTMONTH}} <= {{age/Month|{{{1}}}}}|{{#ifexpr:{{CURRENTMONTH}} < {{age/Month|{{{1}}}}}|FutureError|{{#ifexpr:{{CURRENTMONTH}} = {{age/Month|{{{1}}}}}|{{#ifexpr:{{CURRENTDAY}} <= {{age/Day|{{{1}}}}}|{{#ifexpr:{{CURRENTDAY}} < {{age/Day|{{{1}}}}}|FutureError}}}}}}}}}}}}}}}}<noinclude>[[Category:Official wiki templates]]</noinclude>
{{#ifexpr:{{LOCALYEAR}} <= {{age/YearConvert|{{age/Year|{{{1}}}}}}}|{{#ifexpr:{{LOCALYEAR}} < {{age/YearConvert|{{age/Year|{{{1}}}}}}}|FutureError|{{#ifexpr:{{LOCALYEAR}} = {{age/YearConvert|{{age/Year|{{{1}}}}}}}|{{#ifexpr:{{CURRENTMONTH}} <= {{age/Month|{{{1}}}}}|{{#ifexpr:{{CURRENTMONTH}} < {{age/Month|{{{1}}}}}|FutureError|{{#ifexpr:{{CURRENTMONTH}} = {{age/Month|{{{1}}}}}|{{#ifexpr:{{CURRENTDAY2}} <= {{age/Day|{{{1}}}}}|{{#ifexpr:{{CURRENTDAY2}} < {{age/Day|{{{1}}}}}|FutureError}}}}}}}}}}}}}}}}<noinclude>[[Category:Official wiki templates]]</noinclude>

Revision as of 16:12, 5 December 2011

Expression error: Unexpected < operator.