Diferencia entre revisiones de «Plantilla:Age»
De Familia Sanchez Arjona
(includeonly expression) |
(3 additional (optional) parameters - to specify the date on which the age is measured) |
||
Línea 1: | Línea 1: | ||
− | {{tfd|Age}}<includeonly>{{#expr: {{CURRENTYEAR}} - {{{3}}} - | + | {{tfd|Age}}<includeonly>{{#expr: {{{6|{{CURRENTYEAR}}}}} - {{{3}}} - |
− | {{#ifexpr: {{{1}}} < {{CURRENTMONTH}} | 0 | | + | {{#ifexpr: {{{1}}} < {{{4|{{CURRENTMONTH}}}}} | 0 | |
− | {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} or {{{2}}} > {{CURRENTDAY}} | 1 | 0}} | + | {{#ifexpr: {{{1}}} > {{{4|{{CURRENTMONTH}}}}} or {{{2}}} > {{{5|{{CURRENTDAY}}}}} | 1 | 0}} |
}} | }} | ||
}}</includeonly> | }}</includeonly> |