टेम्पलेट:पछिला कुछ बरिस में ई तारीख

विकिपीडिया से
  2024 (शुक)
  2023 (बुध)

Description[संपादन करीं]

This template is used to display a box on all of the date articles (January 1 ... December 31) listing the date in recent years. It also shows what day of the week the date was in previous years.

Usage[संपादन करीं]

No parameter
This template can be used on without any parameter.
{{ThisDateInRecentYears}}
  • On date articles the template defaults to the page name.
  • On other articles the template defaults to the current date.
Specifying a date
A specific date can be input as an unnamed parameter in either day-month or month-day format.
{{ThisDateInRecentYears|January 1}}
{{ThisDateInRecentYears|1 January}}
Float left
The default of the template is to float right. The template can be placed on the left using the float parameter.
{{ThisDateInRecentYears|float=left}}
{{ThisDateInRecentYears|January 1|float=left}}
{{ThisDateInRecentYears|1 January|float=left}}

Technical details[संपादन करीं]

This template uses a series of subtemplates. These are listed below.

next step
Template:ThisDateInRecentYears/validate (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग)
then
Template:ThisDateInRecentYears/title (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग)
29 February split
Template:ThisDateInRecentYears/table (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for ordinary dates)
or
Template:ThisDateInRecentYears/prevleap (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for 29 February)
Template:ThisDateInRecentYears/1stleap (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for 29 February),
Template:ThisDateInRecentYears/2ndleap (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for 29 February)
and
Template:ThisDateInRecentYears/3rdleap (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for 29 February)
calling
Template:ThisDateInRecentYears/nextleap (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for 29 February)
then
Template:ThisDateInRecentYears/row (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग) (for all dates)
Template:ThisDateInRecentYears/entry (संपादन करीं | talk | इतिहास | कड़ी सभ | धियानसूची में जोड़ीं | लॉग)