A fact from this article was featured on Wikipedia's Main Page in the On this day section on . |
This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
Place {{On this day|date1=2009-02-22|oldid1=272605053}}
on an article's talk page to produce the following message:
A fact from this article was featured on Wikipedia's Main Page in the On this day section on February 22, 2009. |
If the page has been featured on multiple dates, use additional date# and oldid# parameters:
A fact from this article was featured on Wikipedia's Main Page in the On this day section on February 22, 2005, February 22, 2006, February 22, 2007, February 22, 2008, and February 22, 2009. |
If 10 or more dates are given, the specific dates are hidden:
A fact from this article was featured on Wikipedia's Main Page in the On this day section on 10 dates. [show] |
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
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Small? | small | If set to anything but an empty string, the box displayed becomes smaller and floats to the right.
| Unknown | optional |
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).
| Unknown | optional |
Date 1 | date1 | The first date on which the article was featured on the Main Page. Use year-month-day notation.
| Date | required |
oldid1 | oldid1 | The ID number of the revision shown when the article was first promoted to the Main Page. | Number | required |
Date 2 | date2 | The second date on which the article was featured on the Main Page, if applicable.
| Date | optional |
oldid2 | oldid2 | The ID number of the revision when the article was promoted for the second time, if applicable. | Number | optional |
Date 3 | date3 | The third date on which the article was featured on the Main Page, if applicable.
| Date | optional |
oldid3 | oldid3 | The ID number of the revision when the article was promoted for the third time, if applicable. | Number | optional |