Jump to content

Template:Age: Difference between revisions

25 bytes added ,  18 years ago
includeonly expression
(tfd)
(includeonly expression)
Line 1: Line 1:
{{tfd|Age}}
{{tfd|Age}}<includeonly>{{#expr: {{CURRENTYEAR}} - {{{3}}} -  
 
{{#expr: {{CURRENTYEAR}} - {{{3}}} -  
   {{#ifexpr: {{{1}}} < {{CURRENTMONTH}} | 0 |
   {{#ifexpr: {{{1}}} < {{CURRENTMONTH}} | 0 |
     {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} or {{{2}}} > {{CURRENTDAY}} | 1 | 0}}
     {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} or {{{2}}} > {{CURRENTDAY}} | 1 | 0}}
   }}
   }}
}}
}}</includeonly>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.