Template:Dow tooltip/doc

From MOASSpedia
< Template:Dow tooltip
Revision as of 06:18, 9 January 2021 by Wikipedia>Adam37 (')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Displays the day of the week in a tooltip for dates. For compatibility with current usage, the date displays the date as month and the day by default, but this can be altered by using |df= (short for "date format") with #time parser function syntax (examples below).

Example usage:

  • {{Dow tooltip|7 January 2025}} displays January 7
  • {{Dow tooltip|7 January 2025|df=j F}} displays 7 January
  • {{Dow tooltip|7 January 2025|df=F j, Y}} displays January 7, 2025
  • {{Dow tooltip|7 January 2025|df=j F Y}} displays 7 January 2025