Jump to content

Template:On this day/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Place {{On this day|date1=2009-02-22|oldid1=272605053}} on an article's talk page to produce the following message:

If the page has been featured on multiple dates, use additional date# and oldid# parameters:

If 10 or more dates are given, the specific dates are hidden:

Dates should be entered in YYYY-MM-DD format; they are reformatted appropriately for display.

The template is automatically added or updated by AnomieBOT at the end of each day - there is no need to add it manually.

TemplateData

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

TemplateData for On this day

Use this template on an article's talk page to indicate that the article was shown on the "On this day..." section of English Wikipedia's Main Page

Template parameters

ParameterDescriptionTypeStatus
Small?small

If set to anything but an empty string, the box displayed becomes smaller and floats to the right.

Example
1
Unknownoptional
Is a demo?demo

Set this parameter value to anything other than blank text to avoid adding the page to Category:Selected anniversaries articles (for example, if the template is being used on a documentation or help page).

Example
1
Unknownoptional
Date 1date1

The first date on which the article was featured on the Main Page. Use year-month-day notation.

Example
2005-02-22
Daterequired
oldid1oldid1

The ID number of the revision shown when the article was first promoted to the Main Page.

Numberrequired
Date 2date2

The second date on which the article was featured on the Main Page, if applicable.

Example
2006-02-22
Dateoptional
oldid2oldid2

The ID number of the revision when the article was promoted for the second time, if applicable.

Numberoptional
Date 3date3

The third date on which the article was featured on the Main Page, if applicable.

Example
2007-02-22
Dateoptional
oldid3oldid3

The ID number of the revision when the article was promoted for the third time, if applicable.

Numberoptional