Template:Age: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation}} <includeonly> <onlyinclude>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</onlyinclude> </includeonly>") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{todo|Possibility to specify only the year.}} | |||
{{Documentation}} | {{Documentation}} | ||
<includeonly> | <includeonly> | ||
<onlyinclude>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</onlyinclude> | <onlyinclude>{{#if:{{{4|}}}{{{5|}}}{{{6|}}}||<span style="cursor:help" title="{{{1|}}}.{{{2|}}}.{{{3|}}} (YMD)">}}{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}{{#if:{{{4|}}}{{{5|}}}{{{6|}}}||</span>}}</onlyinclude> | ||
</includeonly> | </includeonly> |
Latest revision as of 09:04, 1 March 2025
Todo: Possibility to specify only the year.
The above documentation is transcluded from Template:Age/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.