Difference between revisions of "Template:Death date and age"

From CWS Planet
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
  |{{Age in years|{{{4}}}|{{{1}}}}}}})<!--
  |{{Age in years|{{{4}}}|{{{1}}}}}}})<!--
  -- Error checks --
  -- Error checks --
-->{{#ifexpr: ( {{{1|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{{1|}}} ) OR ( {{{1|}}} - {{{4|}}} > 150 )
-->{{#ifexpr: ( {{{1|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{{1|}}} ) OR ( {{{1|}}} - {{{4|}}} > 250 )
  | &#32;{{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}
  | &#32;{{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#if:{{{5|}}}|{{#ifexpr: ( {{{2|}}} > 12 ) OR ( {{{2|}}} < 1 ) OR ( {{{5|}}} > 12 ) OR ( {{{5|}}} < 1 )
}}{{#if:{{{5|}}}|{{#ifexpr: ( {{{2|}}} > 12 ) OR ( {{{2|}}} < 1 ) OR ( {{{5|}}} > 12 ) OR ( {{{5|}}} < 1 )

Latest revision as of 18:25, 31 December 2020