Template:Day+2/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 05:21, 29 August 2021

{{day+2}} adds two to a date or date-specific pagename

Usage

{{Day+2}} - returns day after tomorrow's date

{{Day+2|date}} - returns the day 2 days after the 'date' passed

{{Day+2|date|pagename|year|spacingchar}} - returns the name of the page two days after the 'datepage' passed in

Example
Code Result
{{Day+2}} May 3
{{Day+2|February 28}} March 1
{{Day+2|February 28|Wikipedia:Today's featured article/|2004}} Wikipedia:Today's featured article/March 1, 2004
{{day+2|{{day+2}}}} May 5
{{day+2|{{Currentmonthday}}|Wikipedia:Today's featured article/|{{CURRENTYEAR}}}} Wikipedia:Today's featured article/May 3, 2024
''[http://en.wikipedia.org/w/wiki.phtml?title=Wikipedia:POTD_row/{{day+2|4=_}},_{{CURRENTYEAR}}&action=edit Edit]'' Edit

See also