• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Today cell

  • Language
  • Watch
  • View source
Today is
Saturday
27
September
2025
Template documentation[view] [edit] [history] [purge]

Shows a formatted version of the current date, yesterday's date, or tomorrow's date

Usage

  • {{Today cell}}
Today is
Saturday
27
September
2025
  • {{Today cell|align=right}} (default is left-aligned)
Today is
Saturday
27
September
2025
  • {{Today cell|+1 day}}
Tomorrow:
Sunday
28
September
2025
  • {{Today cell|-1 day}}
Yesterday:
Friday
26
September
2025
  • {{Today cell|+1 month|label=Next month:}}
Next month:
Monday
27
October
2025
  • {{Today cell|-1 month|label=Last month:}}
Last month:
Wednesday
27
August
2025
  • {{Today cell|-1 month|label=Last month:|align=right}}
Last month:
Wednesday
27
August
2025

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}}
The above documentation is transcluded from Template:Today cell/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Today_cell&oldid=6654"
Last edited on 27 September 2025, at 04:45
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

    • Русский
    Safer nicotine wiki
    • Creative Commons Attribution-ShareAlike
    • Powered by MediaWiki
    • Monitored by WikiApiary
    • ipv6 ready
    • Powered by Semantic MediaWiki
    • This page was last modified on 27 September 2025, at 04:45. Warning: Page may not contain recent updates.
    • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
    • Privacy policy
    • About Safer nicotine wiki
    • Disclaimers
    • Terms of Use
    • Desktop
    • Data access
    • Developers
    • Statistics
    • Cookie statement