Template talk:Infobox holiday/Archive 1
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
Holidays That Use This Template
This just keeps a list of all holidays that use this template. Please add a link to any holiday on which this template is used.
(List of articles removed - joturner 21:23, 19 March 2006 (UTC))
- Note: The message above was written by me, the people who put the template have their name up there. DaGizzaChat © 08:03, 16 February 2006 (UTC)
No, I am not partial to Jewish holidays. The reason I've been adding the template to quite a few Jewish holidays is that they all had the old holiday template on them. joturner 01:18, 9 January 2006 (UTC)
I have added this template to a few Jewish holidays and have not added them to this list. Why is there a hard to update list here when one could use 'what links here' to see where it is used? Jon513 21:15, 9 March 2006 (UTC)
- Indeed, please DON'T add to this list. Look at Special:Whatlinkshere/Template:Infobox_Holiday instead. pfctdayelise (translate?) 21:13, 19 March 2006 (UTC)
Attributes for the Template
- holiday_name - required - This is the most common holiday name, which appears at the top of the infobox. It should almost always be the name of the article.
- color1 - required - This is the background color for the holiday name cell.
- image - optional - This should be an image that represents the holiday.
- caption - optional - This is a caption that describes the image.
- color2 - required, if a caption is set - This is the background color for the image caption.
- color3 - required - This is the background color for the cells that hold the information titles.
- official_name - optional - This should contain the official name of the holiday if it is not the holiday_name; this can also be the name of the holiday in its original language
- nickname - optional - This should hold any nicknames, alternatives, and translations for the holiday_name or official_name
- observedby - highly reccommended - These are the people who celebrate/observe the holiday (e.g. Muslims and Islam, United States of America, people worldwide)
- begins - required for multi-day holidays - This is the starting date for a multi-day holiday.
- ends - required for multi-day holidays - This is the ending date for a multi-day holiday.
- date - required for single-day holidays - This is the date of a single-day holiday.
- date2006 - highly reccommended for holidays that don't stay on the same Gregorian date - This is the Gregorian date on which the holiday will occur in 2006. At the end of 2006, this will be replaced with date2007, which will later be replaced with date2008. Therefore, it's a good idea to specify the Gregorian date for a few future years.
- celebrations - optional - This contains the celebrations that occur on the holiday.
- observances - optional - This contains essentially the same thing as the celebrations attribute. However, the word observances is used. This may be more appropriate than celebrations when referring to prayer or more solemn observances. Most likely, you will not need both celebrations and observances.
- relatedto - optional - This contains holidays that relate to the current holiday.
- I'm going to copy this to the template in a noinclude. pfctdayelise (translate?) 21:15, 19 March 2006 (UTC)
- I do not understand what you mean. can you explain? Jon513 21:22, 19 March 2006 (UTC)
- On template pages, material between <noinclude> is not ported to pages usig the tempalte. Circeus 00:28, 20 March 2006 (UTC)
- I do not understand what you mean. can you explain? Jon513 21:22, 19 March 2006 (UTC)
Standardize the colors
Considering that 90% of infoboxes have a defined set of colors, I think those used in this infobox could use a single definition for all holidays, or a restricted set of colors.
Not onlydoes the green color used on some Ilamic holidays (Eid ul-Adha) looks awful, but New Year's Eve is just plain illegible!!! Circeus 17:27, 23 February 2006 (UTC)
- I am just a casual (and recent) user of this template, but I agree with the utility of a consistent color format. (Although I had did have fun trying to find some colors for Maryland Day and Mardi Gras.) I also would recommend only one color in the header field, and plain white everywhere else. Also, its a good idea for infoboxes to be registered on Wikipedia:Infobox, and infobox colors at Wikipedia:Infobox colours. — Eoghanacht talk 19:17, 23 February 2006 (UTC)
- I personally don't have a problem seeing either of the colors mentioned above (maybe differing screen settings?). If you have an issue with the colors, you are free to change the colors. joturner 19:41, 5 March 2006 (UTC)
- How about this, controlled by a {{ #switch: }} :
Category Colour-Code Comments Islam 7FBF7F Judaism 99CCFF Buddhism FFEEC2 Christianity FAEBD7 Asian festivals EF999E Pagan/Neopagan AFEEEE Secular CCCCCC also used for sects
- Buddhism and Christianity colors look practically identical on my current monitor - I'm assuming they should not be... --Eliyak T·C 19:02, 4 September 2006 (UTC)
Caption font size
The caption under the image has a font size that's too darn big -- it's the same size as the overall article header (though not bolded). AnonMoos 06:35, 13 October 2006 (UTC)
New parameters for day-of-the-week holidays
I've added a general method for specifying holidays that appear on the same day of the same week every year (of the "xxxxx Xxxday of Xxxxx" variety, e.g. Labor Day (United States)). Using week_ordinal
, week
, and month
parameters will cause the infobox to provide default values for date
and date20xx
lines, so that they no longer need to be updated every year. You can see the feature by looking at the example in Template:Infobox_Holiday/doc#Same_day_of_same_week_every_year or in the infobox for
Casimir Pulaski Day, the article that made me think of writing this in the first place. Any of the date
parameters can still be overridden by specifying them. Some day/week holidays will still have to be specified because, for example, the holidays have different days in different countries. Dates whose calculation are any more complicated than "xxx Xxxday of Xxxx" will still have to specified also. Hope this is helpful. --Closeapple (talk) 02:43, 25 September 2008 (UTC)
Template Colours
I'm having trouble getting the color1, color2 and color3 parameters to work. Could somebody please help me out? Thanks, --Gibmetal 77talk 23:53, 2 February 2009 (UTC)
- The non-standard colour parameters are no longer supported. I've removed them from the documentation. Please use the
{{{type}}}
attribute to set the colour, as documented in the provided key. Thanks. Chris Cunningham (not at work) - talk 17:31, 3 February 2009 (UTC)
Yearly dates
Not sure these belong in this infobox. Maybe a separate table in the article where appropriate. Rich Farmbrough, 18:08, 16 November 2009 (UTC).
Creation date
Hi, I'd like to add a parameter to the infobox related to the holiday creation. While in the religious holidays it would possibly have not much utility, when it comes to "secular" holidays, it's an informative parameter. For instance, the national day of a country was usually celebrated at first time in a given and known date. What do you think? --Ecemaml (talk) 09:22, 2 January 2010 (UTC)
Have updated the template
Was updating the template because to remove hiddenstructure, but did some more format. I have defined the param "type" to decide what color the infobox should have, making the parameters color1..color3 obsolete, the infoboxes still using those parameters can be found at Category:Non-standard holiday infoboxes.
The colors I defines is:
Type (param "type") | Color |
---|---|
islam | LightGreen |
judaism | LightSkyBlue |
buddhism | PaleGoldenRod |
christianity | Lavender |
asian festival | RosyBrown |
secular | DarkGray |
(inter)national | MediumOrchid |
historical/cultural | LightSalmon |
pagan | DarkKhaki |
commercial | HotPink |
default | LightSteelBlue |
As during the transition period, the default color will be defined color1 if found. (edit: forgot that hex-values are a bit borken for the moment, removing backward compat mode for the moment.) →AzaToth 20:47, 1 October 2006 (UTC)
- Fixed all the old articles in Category:Non-standard holiday infoboxes. – Heaven's Wrath Talk 00:21, 24 October 2006 (UTC)
i am not well versed in script to make these changes myself. but the current "color by type" system has been very inconvenient for me as i have worked with cross category holidays. may i suggest making a parameter to set color which is not visible as an optional control. for example, obviously st patricks should have kelly green header and hyperlinks. how would someone set that to work?Some thing 18:01, 2 May 2007 (UTC)
Can I ask for the colour associated to Secular to be made something less dour? Something like Electric blue or Mustard would be nice. --Boreas Talk 21:46, 17 December 2007 (UTC)
- I think that some of these colors are kind of idiotic; I'm changing gonna be bold and the National color to DarkBlue. Lockesdonkey (talk) 23:00, 7 June 2010 (UTC)
- OK, MediumBlue. And commercial looks dandier (and makes more sense) as yellow. Lockesdonkey (talk) 23:04, 7 June 2010 (UTC)
Medium Blue is too dark
Take a look at Burmese Martyrs' Day. Maybe some people can read the black text against the medium blue background, but I can't. Please either select a lighter shade of blue for the background, or set the template so the text appears in white. Pais (talk) 08:01, 19 July 2010 (UTC)
- I can't figure out how to change the text to white, so I changed the shade of blue from Medium Blue to Dodger Blue. That's light enough that black text can be read on it, but still quite distinct from the Light Sky Blue used for Jewish holidays. Pais (talk) 19:29, 19 July 2010 (UTC)
type=default not colored
The /doc and the previous discussion of that field on this talkpage say that type=default is LightSteelBlue but the #switch in the template itself has no "default" for the type= parameter and the default in that structure is a color of "transparent". I don't see any talkpage discussion or template edit-history notes about changing it. Any objection to my editing the template to agree with its documented behavior and apparent original intent? DMacks (talk) 19:04, 19 September 2010 (UTC)
- Done, per no objection. WorksForMe(tm). DMacks (talk) 04:51, 27 September 2010 (UTC)
Difference between legal holiday and simple observance
International Women's Day is a legal holiday in Russia, Ukraine, Moldova, Belarus, Macedonia and Kyrgyzstan. However, the page says it's observed in several dozen countries. I think it would be nice to distinguish between the two types. Secdio (talk) 12:59, 8 March 2011 (UTC)
type
type does not show as text in International Workers' Day, only shows as color, I cannot find the reason, it shows up in International Women's Day, and they both are international holidays, so the same type. The same problem occurs in Bulgarian wikipeia where basically the template is the same. --Aleksd (talk) 21:17, 1 May 2012 (UTC)
2015 is near
To allow display of 2015, I will try to add an option. -- 签名 sig at 08:20, 22 September 2013 (UTC)
Done -- 签名 sig at 09:22, 22 September 2013 (UTC)
2013 and 2014 dates missing
Currently, infoboxes that use "date2012", but don't have "date2013" display "Category:Moveable holidays (2013 date missing)"
For those with "date2013" and no "date2014", there is "Category:Moveable holidays (2014 date missing)".
Some infoboxes probably have dates from 2010/2011 only, but wont appear in there for now. -- 签名 sig at 13:27, 22 September 2013 (UTC)
Things to do
- define dates and parse definitions for dates in calendars other than the Gregorian calendar, convert to Gregorian calendar (samples in Category:Fixed holidays (on non-Gregorian calendars))
- ensure that all articles have the upcoming date (e.g. Category:Moveable holidays (2013 date missing) should be empty)
- display dates in a standard format with years (currently, it's: "2013 date: 6 October" instead of "[some label]: 6 October 2013) and also in machine-readable format (e.g. microformat, with Template:Start-date)
- for moveable holidays include a table with the dates for a several years
- simplify inclusion of dates (or exclude dates) for holidays with different days at different places,
- make separate infobox for some of these
- improve inclusion of dates for religious holidays with different days according to Eastern/Western church
- improve handling of holidays and observances with a duration other than "1 day"
- improve handling of holidays and observances with a frequency other than "annual"
- update links in day pages (e.g. October 6)
- update links in public holidays lists (e.g. Public holidays in Tuvalu)
- add better definitions to distinguish observances, generally observed holidays, and general public holidays
- draw definitions from WikiData
Feel free to add more to this short list above. -- 签名 sig at 10:35, 6 October 2013 (UTC)
Roman holidays: use of "scheduling" and "lasttime"
There are some concerns about the use of scheduling, duration, and frequency.
Comment by Cynwolfe after the addition of the scheduling parameter: "Please stop adding the holiday infobox parameter that indicates when the event will be celebrated next year to articles on ancient Roman holidays. These haven't been celebrated for centuries. Though there may be neopagan reconstructionists who attempt to do so, this has nothing to do with the content of the article."
As the "scheduling" parameter leads to the date for the current year to be calculated, I added an additional parameter "lasttime". This can be used to stop the calculation of the next occurrence. It still needs to be worked into the template though. -- 签名 sig at 02:12, 10 October 2013 (UTC)
Field names for fields with code for previous/current/next year
Currently I'm using the code I found that was used in some holidays:
|date{{LASTYEAR}} = |date{{CURRENTYEAR}} = |date{{NEXTYEAR}} =
The displayed result of this approach is actually quite good, see First Day of Summer.
However, to make it easier to extract the template source, maybe we should use field names with static names instead. Sample: "dateLASTYEAR", "dateCURRENTYEAR", "dateNEXTYEAR". -- 签名 sig at 06:19, 22 September 2013 (UTC)
Done by adding most into Template:Infobox holiday/date -- 签名 sig at 16:18, 27 October 2013 (UTC)
Tynwald Day : template for calculation
Tynwald Day has "date = 5 July (if this is a Saturday or Sunday: the following Monday)".
If there was a template to calculated this, that would be nice. -- 签名 sig at 06:19, 22 September 2013 (UTC)
- There is comparable one with a (unreadable) formula at Constitution Day (United States). -- 签名 sig at 07:25, 22 September 2013 (UTC)
Done in Template:Infobox holiday/date -- 签名 sig at 16:18, 27 October 2013 (UTC)
Frequency and duration
About the Frequency and duration categories added by the template, see Wikipedia:Categories_for_discussion/Log/2013_October_20#Category:Holidays_and_observances_by_frequency_.28undefined.29.-- 签名 sig at 16:18, 27 October 2013 (UTC)
Semi-protected edit request on 30 December 2013
![]() | This edit request to Template:Infobox holiday has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace the lines
| label3 = Observed by | label20 = First time | label21 = Last time | label22 = Started by | label23 = Related to
with
| label3 = Observed by | label20 = First time | label21 = Last time | label22 = Started by | label23 = Related to
so unsightly linewraps may be avoided. ( already used in label17.)
Thank you, 213.246.87.84 (talk) 13:12, 30 December 2013 (UTC)
Done. Thanks for bringing this up. -- 签名 sig at 09:46, 31 December 2013 (UTC)
Please see above. -- 签名 sig at 09:46, 31 December 2013 (UTC)
To help us complete the 2014 dates, I added an edit link to the infobox. It now appears red and links to the article's edit view. There it displays Template:Infobox holiday/MoveableHolidays editintro above the article's edit view.
For samples, try one of the articles in Category:Moveable holidays (2014 date missing).
Initially, I just linked the category, but users tried to edit there instead.
Suggestions for improvement are welcome. -- 签名 sig at 19:47, 5 January 2014 (UTC)
When observance first started
It seems that there is no field to populate and show the year when the holiday was first observed. That is, when it was officially proclaimed and started. It would be useful to have this historical fact in the infobox. What does everyone else think? Mercy11 (talk) 03:11, 17 February 2014 (UTC)
- There is "firsttime" and "lasttime". -- 签名 sig at 18:51, 20 February 2014 (UTC)
- Thanks! I guess I missed that because it is not shown in the body of the sample. Mercy11 (talk) 20:28, 20 February 2014 (UTC)
Proposed Edit – Month-First Dates under ‘Scheduling’
Can someone edit the template so that dates under the ‘scheduling’ parameter can appear in month-day-year format? Esszet (talk) 01:13, 20 April 2014 (UTC)
Two dates needed - observed and traditional
For many holidays (e.g. the American holidays of Patriots' Day, Memorial Day and Washington's Birthday) the dates have been officially moved from their original, traditional day to an observed day (e.g. a Monday in the cases mentioned). While many celebrations have been moved to coincide with the observed day, some stick to the traditional day. I think that there should be a field in the template for a "traditional" day. Iloilo Wanderer (talk) 04:24, 22 April 2014 (UTC)
How does this work
Take a look at Eid al-Ghadeer. The infobox code doesn't have the date
parameter filled in, and yet the infobox shows a date value. Where is that coming from?? Thanks. —howcheng {chat} 15:41, 15 October 2014 (UTC)
- @Howcheng: check d:Q15109140. Frietjes (talk) 21:22, 15 October 2014 (UTC)
- Nice, thanks. —howcheng {chat} 04:47, 16 October 2014 (UTC)
Need mdy switch
Unless I'm missing something, there needs to be a switch that allows the "Next time" date (data17) to be displayed in mdy format. As it stands now, the holidays like Lincoln's Birthday, Flag Day (United States), and Independence Day (United States) show both mdy and dmy date formats in the infobox. Per MOS:DATEUNIFY, all dates should be in the same format, and these American holidays (there are surely others) should all use mdy format. Tewapack (talk) 16:34, 12 February 2015 (UTC)
- (Non-administrator comment) Support I agree. It can be easy to get dates confused when the month and day are displayed in reverse often to accommodate other parts of the world where they put the day before the month. Especially on any article pertaining to something or someone American-based, it may be better to always have the first set of numbers representing the month, then the second set of numbers representing the day. For example, "11/10" in the States would be November the Tenth, as opposed to in Europe where it would be the Eleventh of October. Having the month, followed by the day, as a standard on American-related articles would take away the confusion. This is a small issue that comes up occasionally on articles about professional golfers (among other kinds of public figures), and wondering whether it's better to use one format over the other. At least on the American-related articles, any confusion would be taken away mostly if not entirely. Johnsmith2116 (talk) 16:53, 12 February 2015 (UTC)
- Tewapack, done, will add some documentation in a moment. Frietjes (talk) 19:00, 22 February 2015 (UTC)
Request for comments on "edit in Wikidata" links, for templates using Wikidata
You are invited to join the discussion at Wikipedia talk:Wikidata#Edit in Wikidata links. Thanks. Evad37 [talk] 01:38, 5 June 2015 (UTC)
Needs a website section
This template is used by many of the UN recognised Days almost all of them have their official website. Hence this template needs a website section. — Preceding unsigned comment added by Prymshbmg (talk • contribs) 06:45, 21 June 2015 (UTC)
Controlling which dates show
I entered the date20xx lines up to 2023 on Thaipusam. I was surprised it's showing the 2018 date. Is there a way to restrict it to show just this year and next year? --Marc Kupper|talk 07:12, 24 January 2016 (UTC)
- the template is coded to show this year, next year, and the year after next. Frietjes (talk) 19:21, 7 February 2016 (UTC)
Error message and tracking category for unsupported parameters
I have added error tracking for unsupported parameters to this template. See Category:Pages using infobox holiday with unknown parameters. A red error message appears when you Preview the article, between the edit screen and the rendered preview. In the category, the articles are sorted by the name of the parameter that is unsupported.
If I have made any mistakes in coding, or if template changes are desired, please let me know. – Jonesey95 (talk) 15:17, 2 September 2016 (UTC)
- @Jonesey95: I don't think this is required. Over the last couple of years there have been several discussions at WP:Categories for discussion where categories built on parameters in this infobox were merged or simply deleted, e.g. Wikipedia:Categories for discussion/Log/2015 May 9. Thanks for your effort but, if you are willing, please remove this code and delete the category. – Fayenatic London 08:10, 3 October 2016 (UTC)
- The discussion you linked to is for categorization, not error tracking.
- I'm going to push back just a bit. Have you looked through the articles in the category to see what sorts of parameters editors are using in error? I would suggest that:
- in an article like Ugadi, it is useful to see that an editor tried to use the parameter
|season=
, - in Dashain and others, an editor used
|calendar=
instead of finding the right parameter, - in Casimir Pulaski Day, an editor used
|correlated=
instead of|relatedto=
, - in Boss's Day, an editor typed
|date2018-October 16
, using an equals sign instead of a hyphen, - in Qingming Festival, an editor typed
|date 2018=
instead of|date2018=
.
- in an article like Ugadi, it is useful to see that an editor tried to use the parameter
- I'm going to push back just a bit. Have you looked through the articles in the category to see what sorts of parameters editors are using in error? I would suggest that:
- These are all errors that would not be caught otherwise. Identifying them can lead to better articles and to discussion about whether the infobox should be modified to support additional parameters. I welcome your thoughts. If you are passionate about deleting this hidden category, I will revert my edits, but I think it has value to the community of editors and readers.
- Also, I will be happy to fix all thirty of the articles that are currently in the category. I have left them in the error category for now in order to illustrate this discussion. – Jonesey95 (talk) 15:50, 3 October 2016 (UTC)
Tracking category nominated for deletion
I have nominated "Category:Articles with Infobox holidays" for deletion. Comment there if you are interested. – Jonesey95 (talk) 15:13, 30 March 2017 (UTC)
Scheduling parameter
I would be grateful if someone can explain the use of the "scheduling" parameter in this template. I've been looking at the article Canada Day where recent edits have included changes to that parameter, but the rendered page doesn't seem to show anything for that parameter whether before or after the edit. I've had a quick look at the template source, and it does seem to mention the parameter, both in its own right and in regard to directing to particular categories, but I am not sufficiently familiar with template code to understand what it is (or isn't) doing. --David Biddulph (talk) 15:27, 18 January 2018 (UTC)
"First time" and "Next time"?
The label "First time" (for |first time=
) would be better written as First observed, I think. This would align with the wording of the label for the |observed=
parameter.
Also why is there no option to turn off the display of the Next time parameter? It doesn't always need to be there, especially with events that recur on the same day. — Hugh (talk) 21:51, 22 March 2018 (UTC)
Weird output for Easter
Why does {{Infobox holiday | holiday_name = Easter}} output: "Date variable, variable, date of Easter"? This seems to be broken. See Easter for example. Kaldari (talk) 21:22, 20 April 2018 (UTC)
The "Year Started" field is missing
It seems the Date/Year Started field should be part of the infobox. It is almost always stated in the body of the article that uses the infobox, in their "history" section. Mercy11 (talk) 19:00, 19 July 2020 (UTC)
'Liturgical color'
The template has a litcolor
parameter, documented as This is the liturgical color of the day, if applicable to a religious holiday; or other color which is applicable to the holiday (e.g. green for Saint Patrick's Day)
, and in the TemplateData as Color used for the holiday
. So the documentation says the parameter can be used for a liturgical color or for a color generically associated with the holiday.
However, the infobox always displays "liturgical color" - so for example, International Men's Day currently claims its "liturgical color" is blue. This is nonsense - I actually got messaged a screenshot mocking it.
This needs to be two separate parameters; or two labels for the same parameter; or the documentation needs changing to say this is only for actual liturgical colors. We definitely should not be encouraging people to add "liturgical color" entries for things that are not liturgical colors.
Thoughts? TSP (talk) 15:18, 20 November 2020 (UTC)
type=national
Does type=national
imply a national day ("a day on which celebrations mark the nationhood of a nation or state")? If it doesn't, should there be a distinct type for that, or should it go in the longtype=
?
I updated the template just now to include a link to the national-day article in that case, after seeing a couple of manual edits to Bastille day changing type=national
to type=[[National day]]
(which goes against template documentation and loses the banner colour at the top). But I realised some infoboxes, like Thanksgiving (United States), use the term to mean "a holiday which is celebrated across the nation", so I've changed it back to an unexplained non-link. --Lord Belbury (talk) 15:54, 13 July 2021 (UTC)
When computing same day of week each year, format is always "month day"
When using |week_ordinal=
, |weekday=
, and |month=
to generate the past year's, current year's, and future years' dates of a "nth weekday of the month" holiday, the output format is always "month day". From what I understand, the default date format for this template is dmy unless |mdy=
is set, so shouldn't this be outputting such dates as "day month" i.e. "4 August" and not "August 4"? See Canada's Civic Holiday, where the article's date format is dmy and |mdy=
is not set, for an example. —Joeyconnick (talk) 18:02, 1 August 2020 (UTC)
- @Joeyconnick: Does anyone know how to get "nth weekday of the month" holiday dates to appear as dmy? I'm not sure how to unify the dates on the Commonwealth Day article. Abbyjjjj96 (talk) 16:51, 21 June 2022 (UTC)
- @Gonnym: (since you've edited this template before and I know you do a lot of work on the TV-related templates) Can you figure out what's going wrong? —Joeyconnick (talk) 19:46, 23 June 2022 (UTC)