Acciones

Plantilla

Diferencia entre revisiones de «Edad»

De La Venciclopedia

imported>Cojoilustrado
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>
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>


{{tis|age}}.
{{tis|edad}}.


This template uses complicated [[meta:ParserFunctions]] to return the number of full years elapsed since one date until today or another date (UTC).
This template uses complicated 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 />
Usage example: Björk (born 1965-11-21) is '''<nowiki>{{age|1965|11|21}}</nowiki>''' years old produces<br />
''Björk (born 1965-11-21) is '''{{age|1965|11|21}}''' years old''</noinclude>
''Björk (born 1965-11-21) is '''{{edad|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:55 8 mar 2012


plantilla:edad (talk, backlinks, edit).

This template uses complicated 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