Template:Infobox holiday

From IxWiki
Jump to navigation Jump to search
DateLua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value).Template:Infobox holiday/wd

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox holiday in articles based on its TemplateData.

TemplateData for Infobox holiday

No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
typetype

Type of holiday, sets banner color

Default
e.g. secular, national, international, cultural, historic, ethnic, patriotic, default, asian, judaism, shinto, islam, christian, commercial
Example
international
Stringrequired
holiday_nameholiday_name

Usually the same as the page name

Example
World AIDS Day
Unknownrequired
imageimage

Do not include File: and do not wikilink

Example
Easter.svg
Unknownsuggested
image_sizeimage_size

no description

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
altalt

Image description for visually impaired readers

Example
orange awareness ribbon
Unknownsuggested
captioncaption

Image caption

Stringoptional
official_nameofficial_name

no description

Unknownsuggested
nicknamenickname

Nickname for the date, or translations

Example
SAAM
Unknownsuggested
observedbyobservedby

Countries or people who celebrate or observe the date

Example
[[Muslim]]s and [[Islam]], people worldwide
Stringsuggested
litcolorlitcolor

Color used for the holiday

Example
Blue
Stringsuggested
longtypelongtype

Lengthier alternative to type

Example
Cultural, ethnic and Buddhist
Unknownoptional
significancesignificance

Lengthier description of holiday's significance

Stringsuggested
celebrationscelebrations

What usually happens on that date. Observances can be used instead.

Example
gift-giving, Church services
Stringsuggested
observancesobservances

Can be used instead of celebrations to describe what happens on the date

Stringoptional
beginsbegins

Required for multi-day holidays

Example
1 October
Unknownsuggested
endsends

Required for multi-day holidays

Example
31 October
Unknownsuggested
datedate

Date of event, do not use "1st", "5th" use 1, 5

Example
1 October
Unknownrequired
week_ordinalweek_ordinal

For the first, second etc weeks in a month

Example
first
Unknownoptional
weekdayweekday

Day of week if always the same

Example
Sunday
Unknownsuggested
monthmonth

Use for long observances

Example
October
Unknownsuggested
date2007date2007

no description

Unknownoptional
date2008date2008

no description

Unknownoptional
date2009date2009

no description

Unknownoptional
date2010date2010

no description

Unknownoptional
date2011date2011

no description

Unknownoptional
date2012date2012

no description

Unknownoptional
date2013date2013

no description

Unknownoptional
date2014date2014

Use when the date changes every year

Unknownoptional
schedulingscheduling

Not displayed

Example
same day each year
Stringsuggested
mdymdy

if set auto-formatted dates will be displayed in "month day, year"

Example
yes
Stringoptional
durationduration

no description

Default
e.g. 1 day, 1 week, 1 month
Example
1 day
Stringsuggested
frequencyfrequency

How often it occurs

Default
e.g. Annual, Every 4 years, Once
Example
Annual
Unknownsuggested
firsttimefirsttime

either first date or calculation of how long ago

Example
{{start date and age|df=yes|1988}}
Unknownsuggested
lasttimelasttime

Useful for events no longer held or not held every year

Unknownoptional
startedbystartedby

Person or organization

Unknownsuggested
relatedtorelatedto

Any other dates or wiki pages linked to it

Example
[[World Mental Health Day]]
Unknownsuggested
date2015date2015

no description

Unknownoptional