Diferencia entre revisiones de «Plantilla:Age»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
m (49 revisiones importadas)
 
(No se muestran 33 ediciones intermedias de 22 usuarios)
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>
 
+
{{Documentation}}
{{tiw|age}}.
 
 
 
This template returns the number of full years elapsed at one date since another date or since today (UTC).
 
 
 
; Syntax<nowiki>:</nowiki>
 
: <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|</nowiki></tt>''year1''<tt><nowiki>|</nowiki></tt>''month1''<tt><nowiki>|</nowiki></tt>''day1''<tt><nowiki>|</nowiki></tt>''year2''<tt><nowiki>|</nowiki></tt>''month2''<tt><nowiki>|</nowiki></tt>''day2''<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>
 
 
 
Examples:
 
*<nowiki>{{age|1989|7|23|2003|7|14}}</nowiki> gives {{age|1989|7|23|2003|7|14}}
 
*<nowiki>{{age|1989|7|23}}</nowiki> gives {{age|1989|7|23}}
 
 
 
See also {{tiw|bha}} and {{tiw|bdha}}.
 
 
 
[[Category:Date math|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revisión actual del 14:16 27 may 2016

50px Template documentation[create]