Changes
Jump to navigation
Jump to search
Template:This date in recent years/doc (view source)
Revision as of 16:31, 27 October 2018
, 6 years agoadd {{documentation subpage}}
{{documentation subpage}}
{{This date in recent years}}
==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.
::{{<code>This date in recent years</code>}}
:*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.
::{{<code>This date in recent years|January 1</code>}}
::{{<code>This date in recent years|1 January</code>}}
;Float left
:The default of the template is to float right. The template can be placed on the left using the <code>float</code> parameter.
::{{<code>This date in recent years|float=left</code>}}
::{{<code>This date in recent years|January 1|float=left</code>}}
::{{<code>This date in recent years|1 January|float=left</code>}}
==Technical details==
This template uses a series of subtemplates. These are listed below.
;next step
:{{lt|This date in recent years/validate}}
;then
:{{lt|This date in recent years/title}}
;29 February split
::{{lt|This date in recent years/table}} (for ordinary dates)
:;or
::{{lt|This date in recent years/prevleap}} (for 29 February)
::{{lt|This date in recent years/1stleap}} (for 29 February),
::{{lt|This date in recent years/2ndleap}} (for 29 February)
::;and
::{{lt|This date in recent years/3rdleap}} (for 29 February)
::;calling
::{{lt|This date in recent years/nextleap}} (for 29 February)
;then
:{{lt|This date in recent years/row}} (for all dates)
:{{lt|This date in recent years/entry}}
<includeonly>[[Category:Calendar templates]]</includeonly>
{{This date in recent years}}
==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.
::{{<code>This date in recent years</code>}}
:*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.
::{{<code>This date in recent years|January 1</code>}}
::{{<code>This date in recent years|1 January</code>}}
;Float left
:The default of the template is to float right. The template can be placed on the left using the <code>float</code> parameter.
::{{<code>This date in recent years|float=left</code>}}
::{{<code>This date in recent years|January 1|float=left</code>}}
::{{<code>This date in recent years|1 January|float=left</code>}}
==Technical details==
This template uses a series of subtemplates. These are listed below.
;next step
:{{lt|This date in recent years/validate}}
;then
:{{lt|This date in recent years/title}}
;29 February split
::{{lt|This date in recent years/table}} (for ordinary dates)
:;or
::{{lt|This date in recent years/prevleap}} (for 29 February)
::{{lt|This date in recent years/1stleap}} (for 29 February),
::{{lt|This date in recent years/2ndleap}} (for 29 February)
::;and
::{{lt|This date in recent years/3rdleap}} (for 29 February)
::;calling
::{{lt|This date in recent years/nextleap}} (for 29 February)
;then
:{{lt|This date in recent years/row}} (for all dates)
:{{lt|This date in recent years/entry}}
<includeonly>[[Category:Calendar templates]]</includeonly>