Template:Today cell/doc: Difference between revisions
Jump to navigation
Jump to search
m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
Richardpruen (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 05:18, 29 August 2021
This is a documentation subpage for Template:Today cell. It may contain usage information, categories and other content that is not part of the original template page. |
Shows a formatted version of the current date, yesterday's date, or tomorrow's date
Usage
{{Today cell}}
{{Today cell|align=right}}
(default is left-aligned)
{{Today cell|+1 day}}
{{Today cell|-1 day}}
{{Today cell|+1 month|label=Next month:}}
{{Today cell|-1 month|label=Last month:}}
{{Today cell|-1 month|label=Last month:|align=right}}
Technical details
This template uses the #date
parserfunction to compute the current, previous, and future dates. Any offset accepted by this parserfunction can be used here. See the MediaWiki Help:Extension:ParserFunctions page for more details.
See also
- {{Tomorrow cell}}
- {{Yesterday cell}}