Esta plantilla utiliza la propiedad
Wikidata :
- día del año para ocurrencia periódica (P837) (ver usos )
La plantilla agrega un cuadro de información con campos de datos para definir un festival particular u otro día de observancia.{{Infobox holiday}}
Uso
{{Infobox vacaciones| nombre_de_vacaciones = requerido| tipo = requerido| imagen =| tamaño de imagen =| título =| nombre_oficial =| apodo =| observado por =|color de la luz =| tipo largo =| importancia =| comienza =| termina =| fecha =| programación = <!-- p. ej. "el mismo día cada año" -->| duración = <!-- p. ej. "1 día", "1 semana" -->| frecuencia = <!-- p. ej. "Anual", "Cada 4 años", "Una vez" --><!-- Utilice los siguientes tres si el feriado es el mismo día de la misma semana todos los años -->| semana_ordinal = <!-- "primero", "segundo", "último", etc. -->| día de la semana = <!-- "domingo", "lunes", "viernes", etc. -->| mes = <!-- "enero", "febrero", "diciembre", etc. --><!-- Utilice los cuatro siguientes si la fecha cambia según un patrón inusual cada año -->| date2023 = <!-- solo para días que cambian cada año -->| date2024 = <!-- solo para días que cambian cada año -->| date2025 = <!-- solo para días que cambian cada año -->| date2026 = <!-- solo para días que cambian cada año -->| celebraciones =| observancias =| relacionado con =}}
Para un día festivo anual que cae el mismo día cada año:
{{ Infobox holiday | holiday_name = Template Day | type = | image = | imagesize = | caption = | official_name = | Nickname = | Observedby = | litcolor = | longtype = | Meaning = | Begins = | Ends = | Date = 30 February | Scheduling = Same day every year | Duration = 1 day | Frequency = Annual | Celebrations = | Observances = | Relatedto = }}
Parámetros
Requerido
- nombre_de_vacaciones
- Este es el nombre de festividad más común, que aparece en la parte superior del cuadro de información. Casi siempre debería ser el nombre del artículo.
- tipo
- El tipo de festividad, por ejemplo: nacional, judía, islámica, etc.
- comienza
- requerido para vacaciones de varios días: esta es la fecha de inicio para unas vacaciones de varios días.
- termina
- requerido para vacaciones de varios días: esta es la fecha de finalización de unas vacaciones de varios días.
- fecha
- requerido para días festivos de un solo día - Esta es la fecha de un día festivo de un solo día. (Si usa los parámetros week_ordinal / weekday / month a continuación, date tendrá como valor predeterminado una frase como "Primer domingo de enero". De lo contrario, no tiene valor predeterminado y es obligatorio). Las frases específicas para otras reglas se decodifican en Template:Infobox holiday/date . Ejemplo: "primer jueves después del 18 de abril". Si no se proporciona ningún valor, se muestra en su lugar el valor de d:Property:P837 del elemento Wikidata del día festivo.
- fecha2024
- Muy recomendable para días festivos que no se mantienen en la misma fecha gregoriana : esta es la fecha gregoriana en la que se producirá el día festivo en 2024. A fines de 2024, se reemplazará con date2025 , que luego se reemplazará con date2026 . Por lo tanto, es una buena idea especificar la fecha gregoriana para algunos años futuros. (No es necesario si se especifica week_ordinal / weekday / month en su lugar).
Opcional
- imagen
- Esta debe ser una imagen que represente la festividad. El valor es solo el nombre del destino, no un enlace wiki completo.
- tamaño de imagen
- El tamaño de la imagen (el valor predeterminado es 225 px).
- subtítulo
- Este es un título que describe la imagen.
- nombre_oficial
- Esto debe contener el nombre oficial del feriado si no es holiday_name; también puede ser el nombre del feriado en su idioma original.
- apodo
- Aquí debe incluir todos los apodos, alternativas y traducciones para holiday_name o official_name
- observado por
- Muy recomendable: estas son las personas que celebran/observan la festividad (por ejemplo, musulmanes e islam , Estados Unidos , personas de todo el mundo)
- color de la luz
- Este es el color litúrgico del día, si corresponde a una festividad religiosa; u otro color que corresponda a la festividad (por ejemplo, verde para el Día de San Patricio )
- tipo largo
- Esta es una descripción más extensa del tipo, por ejemplo, si hay dos tipos que podrían definirse, por ejemplo, "Cultural, Histórico, Islámico".
- significado
- Esta es una descripción más extensa del significado de la festividad.
- Programación
- Define cómo varía la fecha (no se muestra). Valor de ejemplo: "el mismo día cada año"
- duración
- Tiempo que dura la festividad o celebración. Valores de muestra: "1 día", "1 semana", "3 días"
- frecuencia
- La frecuencia con la que se repite la festividad o la celebración. Valores de muestra: "Anual", "Semanal", "Mensual"
- semana_ordinal, día de la semana, mes
- Para los días que se observan el mismo día de la misma semana todos los años, estos especifican la semana (week_ordinal), el día de la semana (weekday) y el mes. Si los usa, ya no tiene que especificar date2023 , date2024 , date2025 y date2026 . Si especifica week_ordinal , entonces también se requieren weekday y month .
- fecha2023, fecha2025, fecha2026
- Recomendado para días festivos que no se mantienen en la misma fecha gregoriana : la plantilla mostrará las fechas del año anterior y del año siguiente junto con las del año actual, si se proporcionan. Nuevamente, es una buena idea proporcionar fechas para algunos años más en el futuro también. (No es necesario si se especifica week_ordinal / weekday / month en su lugar).
- mañana
- Si se establece en un valor que no esté en blanco, las fechas formateadas automáticamente se mostrarán en el formato "mes día, año" en lugar del orden predeterminado "día mes año".
- primera vez
- Primera vez/año en que se observó el feriado (si está disponible)
- La última vez
- última vez/año en que se celebró el feriado (si ya no se celebra)
- celebraciones
- Aquí se detallan las celebraciones que se realizan durante el día festivo.
- Observancias
- Esto contiene esencialmente lo mismo que el atributo de celebraciones . Sin embargo, se utiliza la palabra observancias . Esto puede ser más apropiado que celebraciones cuando se hace referencia a la oración o a observancias más solemnes. Lo más probable es que no necesites tanto celebraciones como observancias .
- relacionado con
- Aquí se incluyen los días festivos relacionados con el día festivo actual.
Ejemplos
La misma fecha todos los años
El mismo día de la misma semana todos los años
Diferentes días y fechas cada año
Fórmulas de muestra utilizadas en la plantilla:Infobox vacaciones/fecha :
En el caso de algunos días festivos, esto todavía se define en la página de vacaciones. En el caso del primer día de verano , sería:
| fecha = primer jueves después del 18 de abril| fecha {{ LASTYEAR }} = {{ Día de la semana después de la fecha |{{ LASTYEAR }}| Abril | 18 | Jueves }}
| fecha {{ CURRENTYEAR }} = {{ Día de la semana después de la fecha |{{ CURRENTYEAR }}| Abril | 18 | Jueves }}
| fecha {{ NEXTYEAR }} = {{ Día de la semana después de la fecha |{{ NEXTYEAR }}| Abril | 18 | Jueves }}
| fecha {{ #time : Y | +2 años }} = {{ Día de la semana después de la fecha |{{ #time : Y | +2 años }}| Abril | 18 | Jueves }}
Datos de plantilla
Categorías de seguimiento
Las páginas que utilizan la plantilla con parámetros no admitidos se rastrean en Categoría:Páginas que usan el cuadro de información de vacaciones con parámetros desconocidos (6).
Otras categorías de mantenimiento incluyen: