Ir al contenido

Plantilla:Fecha hora y edad de principiada/doc

Desde Chavacano de Zamboanga Wikipedia - El Libre Enciclopedia

{{Start date and age}} displays the date that an event or entity started or was created. It also includes a duplicate, machine-readable date in the ISO 8601 format (which is hidden by CSS), for use inside other templates which emit microformats. The hidden date degrades gracefully when CSS is not available.

Parameter Status Description
|1= required A four-digit number indicating the year.
|2= optional A number between 1 and 12 indicating the month (leading zeros in the number are ignored).
|3= optional A number between 1 and 31 indicating the day of the month (leading zeros in the number are ignored).
|df= optional When set to |df=yes or |df=y displays the day before the month (e.g. "7 November 2004" instead of the default "November 7, 2004").
|p=
|paren=
optional When set to |p=yes or |p=y the age will be displayed within parentheses. When this parameter is not included, the date and age are separated by a semicolon and a breaking space.
|br= optional When set to |br=yes or |br=y a line break will be inserted between the date and the age. When this parameter is not included, a breaking space will be inserted between the date and the age. This does not change the separating characters between the date and age which are either a semicolon (default setting) or parentheses (if |p=yes).

Default separator: semicolon

[hace edit con el source]
Syntax Result
Full date (year, month, day)
{{start date and age|2010|01|02}} Aca-2 de Enero de 2010; 16 años pasao (2010-01-02)
{{start date and age|2010|1|2|df=yes}} Aca-2 de Enero de 2010; 16 años pasao (2010-01-02)
{{start date and age|2008|01|9|df=y}} Aca-9 de Enero de 2008; 18 años pasao (2008-01-09)
100 days ago:
{{start date and age|2025|10|15}}
Aca-15 de Octubre de 2025; 3 meses pasao (2025-10-15)
Yesterday:
{{start date and age|2026|1|22}}
Aca-22 de Enero de 2026; 27 horas pasao (2026-01-22)
Today:
{{start date and age|2026|1|23}}
Aca-23 de Enero de 2026; 3 horas pasao (2026-01-23)
Year and month
{{start date and age|2001|9}} Septiembre de 2001; 24 años pasao (2001-09)
{{start date and age|2002|09}} Septiembre de 2002; 23 años pasao (2002-09)
Year only
{{start date and age|2005}} 2005; 21 años pasao (2005)

Optional separator: parentheses

[hace edit con el source]
Syntax Result
Full date (year, month, day)
{{start date and age|2003|02|15|p=yes}} Aca-15 de Febrero de 2003 (22 años pasao) (2003-02-15)
{{start date and age|2003|02|15|df=y|...}} Aca-15 de Febrero de 2003 (22 años pasao) (2003-02-15)
Year and month
{{start date and age|2003|02|p=y}} Febrero de 2003 (22 años pasao) (2003-02)
Year only
{{start date and age|2003|paren=yes}} 2003 (23 años pasao) (2003)

Line break with semicolon

[hace edit con el source]
Syntax Result
Full date (year, month, day)
{{start date and age|2003|02|15|br=yes}} Aca-15 de Febrero de 2003;
22 años pasao
 (2003-02-15)
{{start date and age|2003|02|15|df=y|...}} Aca-15 de Febrero de 2003;
22 años pasao
 (2003-02-15)
Year and month
{{start date and age|2003|02|br=y}} Febrero de 2003;
22 años pasao
 (2003-02)
Year only
{{start date and age|2003|br=yes}} 2003;
23 años pasao
 (2003)

Line break with parentheses

[hace edit con el source]
Syntax Result
Full date (year, month, day)
{{start date and age|2003|02|15|p=yes|...}} Aca-15 de Febrero de 2003
(22 años pasao)
 (2003-02-15)
{{start date and age|2003|02|15|df=y|...}} Aca-15 de Febrero de 2003
(22 años pasao)
 (2003-02-15)
Year and month
{{start date and age|2003|02|p=y|br=y}} Febrero de 2003
(22 años pasao)
 (2003-02)
Year only
{{start date and age|2003|paren=yes|br=yes}} 2003
(23 años pasao)
 (2003)
TemplateData documentation used by VisualEditor and other tools
see the monthly parameter usage report for Template:Fecha hora y edad de principiada.

TemplateData for Fecha hora y edad de principiada

The Start date and age template displays the date that an event or entity started or was created.

Parámetros de la plantilla

ParámetroDescripciónTipoEstado
Year1

A four-digit number indicating the year

Ejemplo
2017
Númeroobligatorio
Month2

A number between 1 and 12 indicating the month

Ejemplo
12
Númerosugerido
Day3

A number between 1 and 31 indicating the day of the month

Ejemplo
31
Númerosugerido
Display date firstdf

Set to 'yes' to show the day before the month name

Valores sugeridos
yes y
Líneaopcional
Display with parenthesesparen p

Set to 'yes' to display the age within parentheses. When this parameter is not included, the date and age are separated by a semicolon and a breaking space.

Valores sugeridos
yes y
Líneaopcional
Line break between date and agebr

Set to 'yes' to add a line break between the date and the age. When this parameter is not included, a breaking space will be inserted between the date and the age. This does not change the separating characters between the date and age which are either a semicolon (default setting) or parentheses (if paren=yes).

Valores sugeridos
yes y
Líneaopcional

Use in microformats

[hace edit con el source]

Plantilla:UF-date-part

Plantilla:Nowiki template demo

Usage in articles

[hace edit con el source]

This template is most often used in infoboxes in articles about buildings or organizations, identifying when they were started/founded/opened or dissolved/ended/closed.

It has also been used for naval ships to indicate their commissioned age; however, several Wikipedia editors have reverted such edits. Use of this template in ship articles is therefore not recommended.

Tracking categories

[hace edit con el source]

Plantilla:Birth, death and age templates