Difference between revisions of "Template:Age in days"
Jump to navigation
Jump to search
Ryperiour2 (talk | contribs) m |
Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#ifexpr:{{{day1|}}}{{{3|}}}{{{month1|}}}{{{year1|}}}{{{day2|}}}{{{6|}}}{{{month2|}}}{{{5|}}}{{{year2|}}}{{{4|}}}{{#iferror:{{#expr:0*{{{1|}}}=0}}}}{{#iferror:{{#expr:(0*{{{2|}}}=0)*({{{2|}}}>0)*({{{2|}}}<13)}}}}0 | ||
|{{Age in days/day | |||
|f={{{format|}}} | |||
|s={{{sortable|}}} | |||
|u={{{show unit|}}} | |||
|{{#expr: | |||
+ {{Gregorian serial date | |||
|day = {{{day2|{{{6|{{CURRENTDAY}}}}}}}} | |||
|month = {{{month2|{{{5|{{CURRENTMONTH}}}}}}}} | |||
|year = {{{year2|{{{4|{{CURRENTYEAR}}}}}}}} | |||
}} | |||
- {{Gregorian serial date | |||
|day = {{{day1|{{{3|{{CURRENTDAY}}}}}}}} | |||
{{ | |month = {{{month1|{{{2|{{CURRENTMONTH}}}}}}}} | ||
{{ | |year = {{{year1|{{{1|{{CURRENTYEAR}}}}}}}} | ||
{{ | }} | ||
}}<!-- | |||
{{ | -->}} | ||
|{{Age in days/sec | |||
{{ | |f={{{format|}}} | ||
}} | |s={{{sortable|}}} | ||
|u={{{show unit|}}} | |||
|{{#expr:{{#time:U|{{{2|}}}}}-{{#time:U|{{{1|}}}}}}}<!-- | |||
-->}} | |||
}}</includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> | </noinclude> |
Revision as of 03:20, 19 March 2025
[create]
Template documentation

Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |