Diferencia entre revisiones de «Plantilla:Age»
De Familia Sanchez Arjona
(move cluttering box down) |
(rm superfluous) |
||
Línea 1: | Línea 1: | ||
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude> | <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude> | ||
− | This template returns the number of full years elapsed at one date since another date or since today (UTC | + | {{tiw|age}}. |
+ | |||
+ | This template returns the number of full years elapsed at one date since another date or since today (UTC). | ||
; Syntax<nowiki>:</nowiki> | ; Syntax<nowiki>:</nowiki> | ||
Línea 7: | Línea 9: | ||
: <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki></tt>''year1''<tt><nowiki>|</nowiki></tt>''month1''<tt><nowiki>|</nowiki></tt>''day1''<tt><nowiki>}}</nowiki></tt> | : <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki></tt>''year1''<tt><nowiki>|</nowiki></tt>''month1''<tt><nowiki>|</nowiki></tt>''day1''<tt><nowiki>}}</nowiki></tt> | ||
− | |||
[[Category:Date math|{{PAGENAME}}]] | [[Category:Date math|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revisión del 12:59 24 may 2006
This template returns the number of full years elapsed at one date since another date or since today (UTC).
- Syntax:
- {{Age|year1|month1|day1|year2|month2|day2}}
- {{Age|year1|month1|day1}}