Jump to content

Template:Birth year and age: Difference between revisions

From Insurer Brain
Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
-->{{#ifexpr: ( {{{1}}} > {{CURRENTYEAR}} ) OR ( {{CURRENTYEAR}} - {{{1}}} > 130 ) | &#32; {{Error|invalid year, age > 130}}{{Main other|[[Category:Pages using age template with invalid date]]}}}}<!--
-->{{#ifexpr: ( {{{1}}} > {{CURRENTYEAR}} ) OR ( {{CURRENTYEAR}} - {{{1}}} > 130 ) | &#32; {{Error|invalid year, age > 130}}{{Main other|[[Category:Pages using age template with invalid date]]}}}}<!--
-->{{#if:{{{2|}}}|{{#ifexpr: ( {{{2}}} > 12 ) OR ( {{{2}}} < 1 ) | &#32;{{Error|invalid month}}{{Main other|[[Category:Pages using age template with invalid date]]}}|}}
-->{{#if:{{{2|}}}|{{#ifexpr: ( {{{2}}} > 12 ) OR ( {{{2}}} < 1 ) | &#32;{{Error|invalid month}}{{Main other|[[Category:Pages using age template with invalid date]]}}|}}
}}<!--
}}</includeonly>
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using birth year and age template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Birth year and age]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 }}</includeonly><noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 00:39, 24 November 2025