Diferencia entre revisiones de «Edad»
De La Venciclopedia
imported>Malin mSin resumen de edición |
imported>Cojoilustrado mSin resumen de edición |
||
Línea 1: | Línea 1: | ||
< | <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude> | ||
{{tis|age}}. | |||
This template uses complicated [[meta:ParserFunctions]] to return the number of full years elapsed since one date until today or another date (UTC). | |||
Usage example: Björk (born 1965-11-21) is '''<nowiki>{{age|1965|11|21}}</nowiki>''' years old produces<br /> | |||
<nowiki>{{ | ''Björk (born 1965-11-21) is '''{{age|1965|11|21}}''' years old''</noinclude> | ||
[[Categoría:Venciclopedia:Lista de plantillas|Edad]]</noinclude> | [[Categoría:Venciclopedia:Lista de plantillas|Edad]]</noinclude> |
Revisión del 06:53 8 mar 2012
plantilla:age (talk, backlinks, edit).
This template uses complicated meta:ParserFunctions to return the number of full years elapsed since one date until today or another date (UTC).
Usage example: Björk (born 1965-11-21) is {{age|1965|11|21}} years old produces
Björk (born 1965-11-21) is 58</noinclude> years old